Adding profile capability

A profile in MDWorkbench enables you to enhance a metamodel with dynamic metatypes. To enable this mechanism, a metamodel must define a profile provider. A profile provider is used to determine the stereotypes of a specific model element. These stereotypes are used to map a model element to a metatype defined in a profile.

The concept of stereotype name is used generically here: The UML metamodel implementation will consider the stereotype feature, but a metamodel implementation may map this concept to any arbitrary feature, as long as the feature can be represented with a String value.

To add a profile provider to a metamodel:

  1. Declare a profile provider.
  2. Implement the profile provider.

Related concepts