Professional Documents
Culture Documents
Links
Association
Unified Modeling Language
Lesson Goals
Data replication
All parts of the same kind have the same attribute values (name, number,
cost)
wasteful of resources
Implementation
Summary
Catalogue entry object hold the information that applies to all parts of a
given types.
It is necessary to look at both part object and related catalogue entry object
to obtain full information of a part
The system must record for each object which catalogue entry object
describes it.
The object diagram are a way of presenting in a visual form the structure of
object graph.
Unified Modeling Language
Links
Link Unified Modeling Language
Links
Links
The catalogue entry class contains the data describing parts, and store
a reference to a catalogue entry.
When a part is created, a reference to the appropriate catalogue entry
object must be provided.
How objects are created:
Catalogue Entry screw = new CatalogueEntry (“screw”, 28834, 0.02)
Parts s1= new Part (screw);
Parts s2=new Part (screw);
Link Unified Modeling Language
Links
Links
Object diagram
Link Unified Modeling Language
Object Diagram
Association
Association Unified Modeling Language
Association
Properties of Associations
Object Interaction
Messages
Thank You