+ All Categories
Home > Documents > Chapter 13: Class Diagram Chapter 19 in Applying UML and Patterns Book.

Chapter 13: Class Diagram Chapter 19 in Applying UML and Patterns Book.

Date post: 30-Dec-2015
Category:
Upload: camilla-hess
View: 76 times
Download: 21 times
Share this document with a friend
Description:
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. - PowerPoint PPT Presentation
Popular Tags:
10
1 Chapter 13: Class Diagram Chapter 19 in Applying UML and Patterns Book.
Transcript
Page 1: Chapter  13:  Class Diagram Chapter  19 in  Applying UML and Patterns Book.

1

Chapter 13: Class DiagramChapter 19 in Applying UML and Patterns Book.

Page 2: Chapter  13:  Class Diagram Chapter  19 in  Applying UML and Patterns Book.

2

Overview

What is Class Diagram ?

The different between Domain Model and Design Model.

How to build UML Class Diagram (Class, Attribute, Relationship).

Page 3: Chapter  13:  Class Diagram Chapter  19 in  Applying UML and Patterns Book.

3

What is Class Diagram ?

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.

Page 4: Chapter  13:  Class Diagram Chapter  19 in  Applying UML and Patterns Book.

4

Domain Model vs. Design Model Classes

Page 5: Chapter  13:  Class Diagram Chapter  19 in  Applying UML and Patterns Book.

5

Example DCD

Page 6: Chapter  13:  Class Diagram Chapter  19 in  Applying UML and Patterns Book.

6

Creating NextGen POS DCD

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.

Page 7: Chapter  13:  Class Diagram Chapter  19 in  Applying UML and Patterns Book.

7

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.

Page 8: Chapter  13:  Class Diagram Chapter  19 in  Applying UML and Patterns Book.

8

Creating NextGen POS DCD

Add type information to the attributes and methods.

Page 9: Chapter  13:  Class Diagram Chapter  19 in  Applying UML and Patterns Book.

9

Method Names - Multiobjects

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.

Page 10: Chapter  13:  Class Diagram Chapter  19 in  Applying UML and Patterns Book.

10

Adding Navigability & Dependency Relationships


Recommended