Referencing profiles and J profile implementations

 

Overview

This step allows us to define the elements to be incorporated into the MDA component. It is possible to reference a number of profiles and J profile implementations.

 

It could be a good idea, for example, to define a J MDA component which only references profiles and another J MDA component which only references J profile implementations. In the first case, the J MDA component, after deployment, will only propose extensions which can be defined in the UML model. In the second case, the J MDA component, after deployment, will propose both extensions and implementations.

 

Referencing profiles

Steps:

1.      In the explorer, click on the J MDA component.

2.      Click on the  and confirm.

3.      The dialog box for the profiles to reference opens. Select the profile to reference.

4.      Confirm by clicking on “OK”.

 

Figure 160. Example of a J MDA component referencing extensions only

 

Referencing J profile implementations

The steps to reference a J profile implementation are the same as those to reference a profile. When a J profile implementation is referenced by the J MDA component, the profiles implemented by the J profile implementation are implicitly referenced by the J MDA component, and there is no need to also reference the profiles.

 

Figure 161. Example of a J MDA component referencing extensions and implementations