SA XT for web access > System Architect XT > Creating definitions
  
Creating definitions
Creating and editing definitions in System Architect XT is similar to how it is done in System Architect. You can create most of the same definition types (including keyed and unkeyed), create references to other definitions with the OneOf and ListOf properties, and add links from reference properties to their underlying definitions. In the encyclopedia repository, a keyed definition has its namespace provided by another artifact type. For example, a Class definition is keyed to a Package, and an Entity definition is keyed to a Model.
You have to log in as Updater to create and edit definitions in System Architect XT. If you log in as a Reader you can view definitions in read-only mode.
Creating definitions in the repository
1 Click on the System Architect XT Explorer button, located in the bottom of the box in the upper-left corner of the Home page, if the default template is deployed.
2 Click + in front of the Definitions folder to expand the tree. Definitions that you can add with System Architect XT are shown with an icon (that has a blue asterisk in the upper left-hand corner) in front of them. Definition types without the icon in front of them are read-only.
3 Click the icon for the definition type that you want to create.
Creating unkeyed definitions
Standard, unkeyed definitions can contain references to other definitions, done through the OneOf and ListOf properties. An example of this type is the BPMN Event definition.
Using the BPMN Event definition as an example, create an unkeyed definition as follows:
1 Follow the steps in the section above to display the System Architect XT Explorer and expand the Definitions node.
2 Enter a name in the Definition Name field, and then click OK. Optionally, enter text in the Description field of the Introduction field, and other fields as appropriate.
3 Click the Sim Definition tab to display the properties.
4 To select a OneOf property, click Choices for the Shift property.
A list of available choices is displayed.
5 Click OneOf the choices and click Select. The item you select populates the Shift field.
6 To add a ListOf property, click Choices next to the Attributes on Leaving field.
A list of available choices are displayed. Unlike the OneOf property the ListOf property contains an add button to display more choices from which to select. It also lets you select more that one value from the choices list and to move values up or down on the list.
7 Click a choice in the list, and then click SELECT.
8 Click OK to save your changes.
Creating keyed definitions
Standard keyed definitions have their namespaces provided by other artifact types and they can contain references to other definitions through the OneOf and ListOf properties. An example of this type is the Class definition.
Using the Class definition as an example, create an keyed definition as follows:
1 Use the steps in the section above to display the System Architect XT Explorer and to expand the Definitions node.
2 Enter a name in the Definition Name field and click OK.
3 In the Edit Definition box, click the Sim Definition folder to expand it.
4 To select a OneOf property, click CHOICES for the Shift property. Under the property, a field with a list of available choices is displayed.
5 Click on OneOf the choices and click Select. The item you select populates the Shift field.
6 To add a ListOf property, click the CHOICES button next to the Attributes on Leaving field.
A list of available choices are displayed.
7 Click a choice, and then click SELECT.
8 Click OK to save your changes.
See also
Modifying definitions
System Architect XT