IBM Support

Usage of an Association class in Rational Rhapsody

Question & Answer


Question

What is the purpose of an Associstion class in IBM Rational Rhapsody?

Cause

You would like to know what is an Association class and how it is rendered.

Answer

An association class is used to model an association as a class. Association classes often occur in many-to-one and many-to-many associations where the association itself has attributes.

As an example, consider a many-to-many association between classes Person and Company. The association could have properties; e.g. salary, jobClassification, startDate, etc. In this case, the association is more correctly modeled as an association class with attributes rather than trying to fold the attributes into one of the classes in the association.

An association class is rendered by a dashed line from the association to the class rectangle.






In UML, it can be understood as a class which has association properties OR as an association which has class properties.

[{"Product":{"code":"SSB2MU","label":"IBM Engineering Systems Design Rhapsody"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"General Information","Platform":[{"code":"PF016","label":"Linux"},{"code":"PF033","label":"Windows"}],"Version":"7.6;7.6.0.1;7.6.1;7.6.1.1;7.6.1.2;7.6.1.3;8.0;8.0.1;8.0.2","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Product Synonym

Rational Rhapsody

Document Information

Modified date:
27 May 2022

UID

swg21632165