Relationship

A Relationship is a Development Object that represents an association between one entity and another. It specifies the primary or candidate keys to be used in maintaining the association, as well as the delete constraints to be used when deleting occurrences in the related entities.

Characteristics

Characteristics

 

Object type code:

rel

Main Development Object?

No

Part of:

Modeled Entity (Many Entity), Subtype Entity

Contains:

Property

Generalization:

Development Object

Specializations:

Compilation Output:

URI format:

ent:ModeledEntityName/rel:RelationshipName

Specialization

Relationship specializes Development Object in the following ways:

  • It has a Many Entity as the parent

  • If has no child development objects or code containers

A Relationship is always one-to-many and belongs to the Many Entity. Occurrence constraints can be used to specify a one-to-one relationship. Many-to-many relationships must be implemented by using an intermediate entity.

Properties

Configuration Properties:

Behavior Properties: