| < Day Day Up > |
|
A class built from other class types is referred to as an ___________________.
Aggregation
List the two types of aggregation.
Simple and composite
Discuss each of the types of aggregation you listed above in terms of what role part objects play in each.
In simple aggregation part objects exist outside the aggregation whereas a composite aggregate creates and destroys its part objects.
In this type of aggregation, part objects belong solely to the whole or containing class. Name the type of aggregation.
Composite aggregate
In this type of aggregation, part object lifetimes are not controlled by the whole or containing class. Name the type of aggregation.
Simple aggregate
What does the line drawn between classes in a UML class diagram denote?
An association
What type of aggregation does a solid diamond indicate when attached to one end of an association line?
Composite aggregation
What type of aggregation does a hollow diamond indicate when attached to one end of an association line?
Simple aggregation
In a UML class diagram, the aggregation diamond is drawn closest to which class, the whole or the part?
The whole or aggregate class
What is the purpose of a UML sequence diagram?
To graphically represent object message sequencing.
| < Day Day Up > |
|