Create Object From Attribute
If you drag an attribute from the Project Browser onto an Activity diagram, the attribute generates an Object element of the same name.
This is very useful for creating connectors between elements and specific attributes. For example, a Class element of stereotype table defines its fields as attributes; Requirement elements that define requirements for those fields can then be linked to the appropriate table fields via the attribute Object elements.
In the following diagram, the billingAddress Object was generated by dragging the billingAddress attribute from the Account Class in the Project Browser onto the diagram.
The user then created Realize relationships between the Account element and the billingAddress element, and between the billingAddress element and the REQ028 Requirement element.
|•||You can also create this relationship more directly by linking an attribute in an element to another element, or linking two attributes in different elements|