Versions Compared
Key
- This line was added.
- This line was removed.
- Formatting was changed.
All elements of a data model have attributes that describe their behavior in the service. In the Attributes panel, you can see and change the attributes of a selected data model element.
Image Modified | If using the panel preset, the attributes panel is displayed in the lower left corner. To return to the panel preset, go to the user preferences and use button Reset Panels.
Click an element in the Implementation folder to display its attributes in the Attributes panel. All elements have the following standard attributes:
Some elements have additional specific attributes:
|
Standard Attributes
In the attributes panel, all attributes of the selected element are displayed. Some standard attributes are present for all elements.
Attribute Name | Description | Possible Values / Example | Availability |
---|---|---|---|
Name | Click here to insert and change the Name of the related element. Generated elements (like e.g. the Message folder and its elements) cannot be changed. Element names must follow certain naming rules. They
| EmployeeSuperior |
|
Description | If you want to insert or change a description for the respective data model element, click here to open a text editor where you can enter and format your text: Image Added |
| |
Stereotype | Via button Add Stereotype, you can add a stereotype to a data model element. By adding a stereotype, you can extend the attributes of a data model element with additional properties. | XML Serialization |
|
Specific Attributes
In the attributes panel, all attributes of the selected element are displayed. Some attributes are only available for specific elements (see column Availability below).
Attribute Name | Description | Possible Values / Example | Availability | |||
---|---|---|---|---|---|---|
General | Select the class the current class derives from. All properties and operations of the general class will also be available on the current class. | Order |
| |||
Interfaces | You can add an interface to the respective class by clicking the link icon and selecting an interface from the list of available interfaces. | SupportManager |
| |||
Include in Library Export | You can mark classes and interfaces as to be part of a library export. Read more about defining and using libraries on Developing and Using Libraries. | true | The selected element is part of the library. |
| ||
false | The selected element is not part of the library. | |||||
Type | Properties always have a type. These can be basic types or user defined types. Users can define their own types in the Implementation folder or in a library. For properties, you can change the type by clicking the link icon and selecting a class or an interface from the list of available types. | Base Types.String |
| |||
Array | Use the attribute Array to enable multiplicity.
| true | The variable has a multiplicity of 0..*. |
| ||
false | The variable has a multiplicity of 0..1 (default). | |||||
Default Value | Specify a default value for the respective property here by clicking the icon on the right. Via the iconyou can remove a set default value. | a valid default value depending on the type of the property |
| |||
Is static | Specify if the operation is static (default) or not.
For more information, also refer to Adding Operation Calls. | true | The operation is static (default) and can be used outside the context of the related class. |
| ||
false | The operation is non-static and needs a self object as an input. |
Panel | ||
---|---|---|
| ||
|
Panel | ||
---|---|---|
| ||