Skip to end of metadata
Go to start of metadata

To create a custom profile definition, follow the steps below. To illustrate the procedure, the following example is used:

Example

You are modeling your organization's structure in an ArchiMate® model, but you are missing the possibility to specify that some business actors are organizational units. Moreover, you want to specify the number of staff for them. To realize this, a custom profile definition is created for the business actor concept, including an attribute for the number of staff.

The result of the profile definition would be a profile "Organization unit" for a business actor object, with attribute "number of staff":


Adding the profile

  1. In the Create pane, click the Profile element , click in the Custom Profile Definition view, and type the name for the profile. It is the profile's internal name (identifier) for Enterprise Studio. It can only contain letters, digits, and underscores. Spaces are not allowed. The profile identifier must be unique within the metamodel.



  2. Optional: Add the profile name that must be presented to the user when modeling. If you do not add a name, the profile's identifier will be shown to the user.

    1. Select the profile and click  to open the profile's properties window.

    2. Click in the translation box, and type the name. This name can contain spaces.



  3. Specify the concept(s) from the metamodel for which the profile should be available.

    1. If you want the profile to be assigned always to the concept(s), click in the always assigned to box. If assigning the profile to the concept(s) should be optional for the user, click in the assignable to box.

    2. In the Select elements window, double-click Concept, and select the concept. Repeat this for each concept you want to add.

      To quickly find the concept, type its name in the search box, and press Enter or click 
      You can also assign the profile to viewpoint definitions to make the profile available in one or more diagrams or views. In that case, select a viewpoint definition representing the diagram or view.



  4. Close the profile properties window by clicking the cross in the upper right corner of the window.

Adding attributes

Next, add one or more attributes to the profile. These are the properties that can be set during modeling when the profile is selected for an object.

  1. In the Create pane, click the Attribute element , select the profile in the view, and type the name for the attribute. It is the attribute's internal name (identifier). It can only contain letters, digits, and underscores. Spaces are not allowed. The attribute identifier must be unique within the metamodel.



  2. Optional: Add the attribute name that must be presented to the user when modeling. If you do not add a name, the attribute's identifier will be shown to the user.

    1. Select the attribute in the profile and click  to open the attribute's properties window.

    2. Click in the translation box, and type the name. This name can contain spaces.



  3. Specify the attribute's type. It can be a data type or a profile.

    1. Click in the type box.

    2. In the Profile type window, select the desired data type or profile for the attribute, and click OK.



      Instead of using the properties window for specifying the identifier and type, you can also directly type their names in the attribute box: select the attribute, press F2, and type the text. Make sure to spell the type correctly, otherwise, the Metamodeler cannot find it and will return an error.

  4. Close the attribute properties window.


The result is a profile with an attribute and its type:



Basically, the profile definition is now ready and can be validated and previewed. If you want to, you can specify additional properties for the profile and attributes.


ArchiMate® is a registered trademark of The Open Group.