Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.
Contents |
Prev | Next |
Attribute Details
On the 'Attributes' page of the 'Features' dialog, you can define a number of important properties of an attribute using the properties list in the bottom left of the dialog.
Access
Ribbon |
Design > Element > Attributes |
Context Menu |
Right-click element in diagram | Features and Properties | Attributes or Right-click element in Project Browser | Attributes |
Keyboard Shortcuts |
|
Define Properties
Field |
Action |
See also |
---|---|---|
Containment |
Type the name of the containment type, or click on the drop-down arrow and select a standard type (By Reference, By Value or Not Specified). |
|
Static |
Click on the drop-down arrow and select True or False to indicate whether the attribute is a static member. |
|
Property |
If the attribute has automatic property creation, click on the The 'Create Property Implementation' dialog displays. |
Create Properties |
Is Literal |
(For Enumeration elements) Click on the drop-down arrow and select True or False to indicate whether the attribute is an enumeration literal. In the Attributes compartment on the diagram, the enumeration literals are listed separately, above the normal attributes (check that the 'Stereotype' field for the normal attribute is not set to 'enum'). |
|
Transient |
(For Java code) Click on the drop-down arrow and select True or False to indicate whether the attribute can change regardless of what the code is performing. |
|
Derived |
Click on the drop-down arrow and select True or False to indicate whether the attribute is derived from one or more other attributes; for example, full name can be derived from the last name and first name attributes. |
|
Is ID |
Click on the drop-down arrow and select True or False to indicate whether the attribute can be used to uniquely identify an instance of the containing Class. |
|
Multiplicity |
Click on the
|
|
Is Collection |
Click on the drop-down arrow and select True or False to indicate whether the attribute is a collection (array), so that it can contain multiple concurrent values, or a single value. |
|
Container Type |
Type the name of the container type for the collection. |
Learn more