0% found this document useful (0 votes)
7 views23 pages

Week 4 - Domain Model

Uploaded by

moosaniazi056
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views23 pages

Week 4 - Domain Model

Uploaded by

moosaniazi056
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 23

Domain Model

Week 4
Domain Model
•Why:

Domain modeling helps us to identify the relevant


concepts and ideas of a domain

• Guideline:

Only create a domain model for the tasks at hand


Cont..

The Domain Model illustrates noteworthy concepts in a domain.

• The domain model is created during object-oriented analysis to decompose the domain into concepts or objects

in the real world

• The model should identify the set of conceptual classes

• It is the basis for the design of the software


Conceptual Classes
• Conceptual classes are ideas, things or objects in the domain
• To visualize domain models the UML class diagram notation is used.
• However, no operations are defined in domain models

Only …
• domain objects and conceptual classes
• associations between them
• attributes of conceptual classes
Visualizing Domain Models: By Means of Basic Course Management System
Attributes

• Attributes are logical data values of

an object.

• It is useful to identify those attributes of

conceptual classes that are needed to satisfy


Association
• An association is a relationship between classes.

• The ends of an association are called roles.

• Roles optionally have a multiplicity, name and

navigability.
Multiplicity
• Is the active logical association when the cardinality
of a class in relation to another is being depicted.
• For example, one commercial airplane may contain
zero to many passengers. The notation 0..* in the
diagram means “zero to many”.
Cardinality/Multiplicity of Association
How to create the domain model?

Use a category list to find the conceptual classes.


How to create the domain model?
Identify noun phrases to find the conceptual classes(linguistic analysis).

•Identify the nouns and noun phrases in textual descriptions of a domain and
consider them as candidate conceptual classes or attributes

•“Use Cases” are also an excellent source for identifying


conceptual classes.

You might also like