Professional Documents
Culture Documents
Use Cases
Class Diagram
Component Diagrams
Interaction Sequence Diagrams
Activity Diagrams
State Machine Diagrams
Object Constraint Language
Deployment Diagrams
Design Patterns or GRASP Patterns
Software Design and Architecture
UNIFIED MODELING LANGUAGE (UML)
Association Relationships
Generalization Relationships
Aggregation Relationships
Software Design and Architecture
UML CLASS DIAGRAM
ASSOCIATION RELATIONSHIPS
It is a bidirectional semantic connection between
classes.
The types of association relationship are:
Name of relationship
Role of class being played in the relationship
Software Design and Architecture
UML CLASS DIAGRAM
ASSOCIATION RELATIONSHIPS
The name of relationship type is shown by :
Exactly one 1
Zero or more 0..* or 0..m
One or more 1..* or 1..m
Zero or one 0..1
Specified range 2..4
Multiple, disjoint ranges 1..3,
Software Design and Architecture
UML CLASS DIAGRAM
DERIVING THE CLASSES
There are two main approaches to derive the class
diagrams:
from use cases and their scenarios
from Class Responsibility Collaborators (CRC) model
and that one is a collection of standard indexed cards.
To analyze the text in the use-case descriptions and
scenarios and find out the key class concepts
Software Design and Architecture
CASCADING STYLE SHEETS (CSS)
Software Design and Architecture
References
Multiple sources.
Acknowledgement
Special thanks to all of the computer scientists,
engineers, book authors and others for providing such
a useful information.
HAVE A NICE DAY
Q/A
ARMY PUBLIC CLLEGE OF MANAGEMENT & SCIENCES, UET TAXILA