An object is an instance of a class. In the UML metamodel
Object is a sub-class of
Instance. Within a sequence diagram objects may be
used to represent a specific instance of a class. Unlike
collaboration diagrams (see Chapter 21, Collaboration Diagram Model Element Reference
), sequence diagrams cannot show generic behavior between
An object is represented on a sequence diagram in ArgoUML as a plain box labeled with the object name (if any) and class name, separated by a colon (:). As links with stimuli to and from other objects are added, a time line grows down from the object. This is thin where the object does not have control and thick where it does.
The current release of ArgoUML shows interactions between objects, although the UML standard for sequence diagrams is for interaction between instances of any classifier).
However the actual implementation in ArgoUML permits any classifier to be used with the object, and so the diagram can successfully represent instances of actors for example as well as classes.
The details tabs that are active for objects are as follows.
Standard tab. The values for the bounds of the object notionally define the bounding box of the object and its time line. However if you change them it will have no effect, and the original values will be reset when you next revisit the tab.
Standard tab, but with no contents.
An object should not generate any code, so having this tab active is probably a mistake.
Standard tab. In the UML metamodel,
Object has the following standard tagged
persistence (from the
the permanence of the state information associated
with the object. Values
transitory (state is destroyed when the
object is destroyed) and
persistent (state is preserved when the
object is destroyed).
derived (from the
true, meaning the object
is redundant—it can be formally derived from other
false meaning it
Derived objects still have their value in analysis and design to introduce useful names or concepts, and in design to avoid re-computation.
Standard tab for a Classifier.
Navigate up through the package structure.
This creates a new Stereotype (see Section 16.6, “Stereotype”) for the selected object, navigating immediately to the properties tab for that stereotype.
This deletes the object from the model
This is a deletion from the model
not just the diagram. To delete
an object from the diagram, but keep it within the
model, use the main menu
Text box. The name of the object. By convention object names start with a lower case letter and use bumpy caps to divide words within the name.
ArgoUML does not enforce this naming convention.
Drop down selector. Object has no stereotypes by default in the UML standard.
icon. If a stereotype has been selected, this will navigate to the stereotype property panel (see Section 18.5, “Stereotype”).
Text box. Records the namespace for the object. This is the package hierarchy.
Text area. Lists the stimuli sent to this object.
Text area. Lists the stimuli received by this object.
Drop down selector. The name of the classifier of which this is an object.
In the current release of ArgoUML the drop down selector will include all classifiers (i.e. interfaces, actors, use cases and datatypes as well), which is what is wanted on the diagram, although it should properly be called an instance, rather than an object. In practice only instances of classes and actors make much sense.
In the current release of ArgoUML the same graphical presentation is used, even if the object is actually representing an instance of an actor (when a stick-man would be more usual).