association class

An association class is an association that is also a class. An association class has both association and class properties. Its instances are links that have attribute values as well as references to other objects. Even though its notation consists of the symbols for both an association and a class, it is really a single model element.

See also association, class.

Semantics

An association class has the properties of both associations and classes—it connects two or more classes, and it also has attributes and operations. An association class is useful when each link must have its own attribute values, operations, or references to objects. It may be regarded as a class with an extra class reference for each association end, which ...

Get Unified Modeling Language Reference Manual, The, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.