Associations

Case classes are used for data that is stored and persisted outside of individual processes.

Use association relationships between case classes to relate two types of separate case classes with each other. For example an Order case type might have an association to a Customer case class.

This then represents the relationship that an Order has a reference to a Customer.

Use the multiplicity on each end of the association to define the limitations of the relationships. For example, a Customer can be referenced from many Orders but an Order only has one customer.

Also see Navigating Association Links to find Related Case Objects.