July 2004
Intermediate to advanced
752 pages
35h 59m
English
An object that exists to contain other objects, and which provides operations to access or iterate over its contents, or a class describing such objects. For example, arrays, lists, and sets.
See also aggregation, composition.
It is usually unnecessary to model containers explicitly. They are most often the implementation for the “many” end of an association. In most models, a multiplicity greater than one is enough to indicate the correct semantics. When a design model is used to generate code, the container class used to implement the association can be specified for a code generator using tagged values.
Read now
Unlock full access