Conventions on uml:Object elements
The generic conventions that are defined for all UML elements in the General conventions section apply also for the uml:Object element. This section provides a few additional conventions in addition to those.
Title: Objects with no Attributes |
Identifier: rule:objects-attributes |
Statement: uml:Object elements shall have no attributes specified. |
Description:
Objects in the UML model should be "empty", i.e. have no additional values/attributes specified.
They often would serve as a "proxy" for an individual, or SKOS concept, defined outside the current model.
Title: Relations of Objects |
Identifier: rule:objects-relations |
Statement: uml:Object element shall have no outgoing connectors, except uml:Realization connector(s) to some Class or Enumeration. |
Description:
Each Object should instantiate a Class or an Enumeration. Therefore, there shall be at least one uml:Realization relationship between the Object and a Class or Enumeration.
Except these realisation connectors, an Object should not connect to any other elements. An Object stands for a specific instance of a class and/or an element of a controlled list, and can only be referred to.