Skip to main content

Get help for ARIS UML Designer

Create tag definition

You can specify the primitive types Boolean, Integer, String, Real, and UnlimitedNatural as tag definitions for stereotypes.

No user-defined primitive types are supported, but the base types and primitive types of the generated metamodel. Furthermore, you can use enumerations, metaclasses of the generated UML metamodel, or stereotypes as the types of a Stereotype attribute.

This example describes creation in the diagram. You can also specify the tag definition using the properties of the stereotype.

Prerequisite

You have generated the metamodel.

Procedure. Procedure
  1. Right-click a placed stereotype and select New model element > ownedAttribute. The property is added to the stereotype and the name is selected for overwriting.

  2. Enter a name for the property and click in the diagram background.

  3. Select the attribute. Its properties are displayed in the Properties bar.

  4. In the Properties bar, activate the General tab.

  5. In the Property area, click the cell after the entry Datatype. The cell is activated.

  6. Click the down arrow and select Use element. The Select object dialog opens.

  7. In the Find what box, enter the name of the primitive type you want to use, that is, Boolean, Integer, String, Real, or UnlimitedNatural. Alternatively, you can enter an asterisk (*) to search for primitive types regardless of the name.

  8. In the Requested element types box on the Search database tab, disable all entries except for Primitive type. This prevents the search from taking an excessively long time in large databases.

  9. Click Start search.

  10. Select the relevant element type from the group of the generated metamodel in the Elements found box.

  11. Click OK.

  12. Click Save Save.

The selected primitive type is used as the tag definition for the stereotype.