Overview of profile and metamodel implementation in Java
With MDA Modeler, two types of implementation are possible using the Java language:
· The implementation of a metamodel providing actions on the elements contained within this metamodel.
· The implementation of a profile providing actions on the extensions contained in the profile.
A Java profile implementation will generate Java classes, which will then be used in the Java application. For example, for a stereotype, a Java class will be generated, corresponding to the stereotype in question and containing all its operations declared in the Java profile implementation.
For tagged
values and notes, Java accessors are automatically generated in Java classes,
in order to create these tagged values and notes on modeling elements.
Java profile implementations create Java operations for stereotypes or metaclass references.