Reply
This is an open group. Sign in and click the "Join Group" button to become a group member and start posting.
Highlighted

Generalizations

Generalizations Package (9.9.)

Generalizations.png

The generalization package introduces the class generalization:

  • the association 'general' subsets the target (not derived!)
  • the association 'specific' subsets the source (not derived!)
  • specific is also the owner of the generalization
  • both associations point to classifiers (of type element before)
  • the multiplicity of both associations is limited to one (unlimited before)

The classifier is specialized from the classifier (super package) and from type (TypedElement package):

  • a new association 'generalization' is introduced
  • it ownes the 'generalization' (see specific of generalization)
  • the association general from super package is redefined as derived
  • /general is derived as self.parents() where * parents()=generalization.general
  • A classifier is a type, the super class must be of the same type or a type that this type conformes to (this is like a subset).
0 Kudos
Message 1 of 1
(4,069 Views)
Reply
This is an open group. Sign in and click the "Join Group" button to become a group member and start posting.