RoleMixin
- Category
AntiRigidNonSortal
- Provides identity
- Identity principle
- Rigidity
- Dependency
mandatory
- Allowed supertypes
- Allowed subtypes
- Forbidden associations
- Abstract
True
Definition
A «RoleMixin» is the equivalent of «Role» for types that aggregate instances with different identity principles. A class stereotyped as «RoleMixin» is also an anti-rigid type whose instantiation depends on a relational property. Here are some examples:
RoleMixins usually occur in one of the two patterns:
Pattern 1: «RoleMixin» defined by roles
The second pattern is a more concise form of the first. They are semantically equivalent.
Constraints
C1: A «RoleMixin» is always abstract. Notice that abstract classes are represented with an italic label.
C2: A «RoleMixin» aggregate individuals that follow different identity principles, therefore it may not have as ancestor the following constructs: «Kind», «Quantity», «Collective», «Subkind», «Role», «Phase», «Relator», «Mode», «Quality».
C3: A «RoleMixin» is a anti-rigid construct, therefore it cannot have as descendent any rigid or semi-rigid type, as: «Kind», «Quantity», «Collective», «Subkind», «Category», «Mixin», «Relator», «Mode», «Quality».
Common questions
Ask us some question if something is not clear …
Examples
EX1: Fragment of the OntoUML Org Ontology (O3) (see more):
EX2: Fragment of a conceptual model about Brazilian Public Tenders (see more):