Custom Data-types
Besides the predefined datatypes that suit general UML modeling, it is possible to add your own languages and types. By doing this, you can reuse the type you defined when selecting a type for attribute and operation.
Steps
Select Tools > Options from the main menu. This shows the Options dialog box.
Open the
Data Type page.
Select the language that you are using, or, add a new language.
Press
Add... to add a new datatype.
Enter the name and press
OK.
Close the Options dialog box.
Using the Customized Datatype
Let’s take specifying datatype for an attribute as an example.
Right-click on an attribute and select
Open Specification from the pop-up menu.
Press on the Type drop-down menu.
Select the type you defined.
Close the specification dialog box.
Related Articles
Resources