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

Profiles: the Profile

Package is specialized to Profil:

  • Profiles import the reference metaclasses (which are extended by Stereotypes)
  • Profiles contain Stereotypes that extend the metaclasses

Profile_Profile.png

Ownership

  • A sterotype can be directly owned by any package.
  • It must be at least indirectly owned by a profil
  • The ability to nest packages allow to partition a profile into sub-packages.

Filtering

If the ProfileApplication (I'll discuss in my next post) has the attribute isStrict, only imported metaclasses are made available by this Profil.

The Profil can only contain specific packages of the uml metamodell using  PackageImport. Using ElementImport the selection can be detailed down to the individual metaclasses.

Constraints

  • It is not possible to specialize meta-classes. Hence it is not possible to redifine generalizations
  • to generalizations [1].
  • As an alternative, it is possible to place constraints in the profile to restrict the meta-model.

PrimitiveTypes and Enumerations

  • Instances of both metaclasses are useful in a package to define the types of the properties of the Stereotypes
  • If they are contained in a profile, they are applied at the meta-level and not available in the model itself.
  • As an alternative, they can be placed in a seperate package and both the Profi and the model import this package.
0 Kudos
Message 1 of 1
(3,930 Views)
Reply
This is an open group. Sign in and click the "Join Group" button to become a group member and start posting.