Study Cards on lines, association, attribute

What is the notation for Associations?
UMLL represents associations as lines connecting the classes.

The lines are single, solid lines of any format.

In Fig. 10.13, we show the standard ways of connecting an association, from most preferred to least preferred.

Straight lines are usually preferred, followed by rectilinear lines, then oblique lines, and then followed by curves.

All are acceptable, and you should use what conveys your intent best.
Report
Consider an association as an alternative form of showing .....?
Consider an association as an alternative form of showing attributes.
Report
As we discussed, we can show an attribute as an Association.

In the examples above, we showed attributes, whose type is a class, (e.g., Book, Person, or Score), and how they work.

When the attribute’s type is a datatype, everything works about the same, except....?

When the attribute’s type is a datatype, everything works about the same, except usually the only direction modeled is from the source class to the target datatype.


The association name is also typically not used, see Fig. 10.21.
Report
  • A unique study and practice tool
  • Never study anything twice again
  • Get the grades you hope for
  • 100% sure, 100% understanding
Remember faster, study better. Scientifically proven.
Trustpilot Logo
  • Higher grades + faster learning
  • Never study anything twice
  • 100% sure, 100% understanding
Discover Study Smart