Object

StarUML

Object

Top  Previous  Next

Semantics

An object represents a particular instance of a class. It has identity and attribute values. A similar notation also represents a role within a collaboration because roles have instance-like characteristics.

Procedure for creating object

In order to create object,

1.Click [Toolbox] -> [Class] -> [Object] button.

ch05_2326

2.And click at the position where object will be placed in the [main window].

ch05_2327

Procedure for adding AttributeLink to object

There are two way to add AttributeLink to Object.

·using object model in the [main window] or the [model explorer]
·using [collection editor]

In the case of using object model, select object in the [main window] or in the [model explorer], right-click the selected object, select [Add] -> [Attribute Link] popup menu, and you can add Attribute Link.

ch05_2328

In the other case, select [Collection Editor...] popup menu of object or click ch05_2329 button in slots property on properties window. At [Slots] tab of the [collection editor], you can add attribute link by using ch05_2330 button.

ch05_2331