0

I'm referencing a book by bennet, s et al (2002). Object-orientated systems analysis and design 2nd ed. McgraawHill:Maidenhead.

In the book when describing requirements analysis Bennet refers to three types of 'analysis class stereotypes' as a way of breaking down use case diagrams into defined classes.

The first two seem fairly straight forward : an boundary class is the terminus between the user and the system, or the system and other systems that it relies on. An entity class is the 'information and associated behaviour of some phenomenon or concepts such as an individual, a real life object, or a real life event' i.e. the data that you're trying to model or store, such as a person.

Finally, there are control classes which 'represent co-ordination sequencing, transactions and control of other objects'. This definition isn't as clear as Bennet states:

"meanwhile, the boundary class represents interaction with the user and the entity clases represent the behaviour of things in the application domain and storage of information that is directly associated with these things"

This rather begs the question what exactly is an application or software domain in this context? How does the control class fit in with these other two definitions?

4

2 回答 2

1

I think this offers a best case solution :

http://epf.eclipse.org/wikis/openuppt/openup%5Fbasic/guidances/concepts/entity%5Fcontrol%5Fboundary%5Fpattern,%5FuF-QYEAhEdq%5FUJTvM1DM2Q.html

于 2013-02-28T13:28:11.517 回答
0

Entity objects represent the persistent information tracked by the system.

Boundary objects represent the interactions between the actors and the system.

Control objects are in charge of realizing use cases.

Modeling the system with entity, boundary, and control objects provides developers with simple heuristics to distinguish different, but related concepts.

于 2016-10-31T07:27:22.720 回答