Document Viewer
« Back
Hands-On: Class Cardinalities
Hands-On: Class cardinality
Constraints:
- At most one object of the class „A" should exist per model
- No connector "ra" should point to objects of class "A" and at most one outgoing connector "ra" from objects of class "A" should exist.
The cardinalities of the class "A" have to be defined in the following way:
CARDINALITIES max-objects:1
RELATION "ra" max-incoming: 0 max-outgoing: 1