100 likes | 337 Views
Chapter 13: Class Diagram Chapter 19 in Applying UML and Patterns Book. What is Class Diagram ? T he different between Domain Model and Design Model. H ow to build UML Class Diagram ( Class, Attribute, Relationship ). Overview.
E N D
Chapter 13: Class Diagram Chapter 19 in Applying UML and Patterns Book.
What is Class Diagram ? • The different between Domain Model and Design Model. • How to build UML Class Diagram (Class, Attribute, Relationship). Overview
A class diagram shows the existence of classes and their relationships in the logical view of a system. • UML modeling elements in class diagrams: • Classes and their structure and behavior. • Association, aggregation, dependency, and inheritance relationships. • Multiplicity and navigation indicators. • Role names. What is Class Diagram ?
Identify all the classes participating in the software solution. Do this by analyzing the interaction diagrams. Draw them in a class diagram. • Duplicate the attributes from the associated concepts in the Domain Model. Creating NextGen POS DCD
Add method names by analyzing the interaction diagrams. • The methods for each class can be identified by analyzing the interaction diagrams. Creating NextGen POS DCD
Add type information to the attributes and methods. Creating NextGen POS DCD
The find message to the multiobject should be interpreted as a message to the container/collection object. • The find method is not part of the ProductSpecification class. Method Names - Multiobjects