Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.

Properties

A property is a nested structure within a classifier, which is usually a Class or an Interface, on a Composite Structure diagram. The contained structure reflects instances and relationships reflected within the containing classifier. Properties can have multiplicity.

Display as

 

Parts

CompositeDiagram-StructuralProperties

There are two Parts, libBooks and records, which are instances corresponding to the Classes Books and Computer respectively.

After dragging Parts from the Toolbox out to the workspace, right-click on a Part and select the Advanced | Set Property Type context menu option to connect to a classifier.

If Parts disappear when dragged onto the Class, adjust the Z-order of the Class (right-click on it and select the Z-Order context menu option).

The relationship between the two Parts is indicated by the connector, reflecting that communication between the Parts is via the barcode. This contained structure and its Parts are properties owned by the Library Class.

To indicate a property that is not owned by composition to the containing classifier, use a box symbol with a dashed outline, indicating association; to do this:

1.Right-click on the Part and select the Properties context menu option.
2.Select the Advanced page of the Properties dialog.
3.Set the IsReference option to true.

 

Association Roles

Properties can also be reflected using a normal composite structure (without containing it in a Class), with the appropriate connectors, parts and relationships indicated through connections to the Class.

This alternative representation is shown in the following diagram; however, this depiction fails to express the ownership immediately reflected by containing properties within a classifier.

 

CompositeDiagram-StructuralProperties2