Metamodeling languages: Binding
Participation
- An object type can participate in zero to many role types.
- In a graph type, a role type must be related to at least one object type.
Composition
- Relationship types are related with at least two compositions to role instances
- Role instances: note cardinality constraint
Together with a participation, this forms a binding
- Each role type in a binding is characterized with a cardinality constraint describing
- how many instances of this role type must (minimum) or
- may (maximum) occur in an instantiation of this binding
Graph constraints for binary/n-ary relationships