|Re: Sequence diagram for object creation [message #1404589 is a reply to message #1404535]
||Mon, 04 August 2014 10:50
| Camille Letavernier
Registered: February 2011
UML documents often refer to "Objects" or "Instances" instead of "Properties". That's mostly an historical issue, since in UML 1.x, Lifeline were representing Objects/Instances. However, in UML 2.x, Lifelines represent "Connectable elements", i.e. Properties (Of their classifier) or Parameters (of an operation).
The "Type" of the Lifeline is actually the type of its "Represents" property.
Similarly to Composite Structure Diagrams, you may need to create a "System" class, with one property (part/reference) for each of your interacting classifiers, and use these properties for the Lifelines. Alternatively, you can use informal modeling, and simply drop a Classifier on a Lifeline, which will create a Property in the Interaction (This is not completely valid from a UML point of view, so this should really be used for informal modeling/draft only)
Powered by FUDForum
. Page generated in 0.01951 seconds