Domain Model PDF
Domain Model PDF
Domain Models
Objectives
Introduction
[1] Use cases are an important requirements analysis artifact, but are not object-oriented. They emphasize an activity view.
[2] They
are also related to conceptual entity relationship models, which are capable of showing purely conceptual views of domains, but that have
been widely re-interpreted as data models for database design. Domain models are not data models.
Definition
[3] Capitalization
of "Domain Model" or terms is used to emphasize it as an official model name defined in the UP, versus the general well-known
concept of "domain models."
[4] In object modeling, we usually speak of responsibilities related to software objects. And methods are purely a software concept. But, the
domain model describes real-situation concepts, not software objects. Considering object responsibilities during design work is very
important; it is just not part of this model.
[5] Linguistic analysis has become more sophisticated; it also goes by the name natural language modeling. See [Moreno97] for example.
Guideline
9.6. Example: Find and Draw Conceptual Classes
Guideline
9.11. Guideline: How to Model the Unreal World?
9.12. Guideline: A Common Mistake with Attributes vs. Classes
Guideline
9.13. Guideline: When to Model with 'Description' Classes?
Guideline
Guideline
Applying UML: Roles
More Notation
[View full size image]
Derived Attributes
[View full size image]
Guideline
Data Types
[6] In Java, for example, a value test is done with the equals method, and an identity test with the == operator.
Perspectives: What About Attributes in Code?
Guideline
Elaboration