|
Re: Sequence diagram for object creation [message #1404589 is a reply to message #1404535] |
Mon, 04 August 2014 06:50   |
Eclipse User |
|
|
|
Hi Cyril,
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)
Regards,
Camille
|
|
|
Re: Sequence diagram for object creation [message #1404786 is a reply to message #1404589] |
Tue, 05 August 2014 14:38  |
Eclipse User |
|
|
|
Hi Camille,
Thanks for your answer, but i'm not sure to understand
"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." => this way is preconised and valid with UML
Have you one example of this kind of settings because it's not really clear for me.
Best regards,
Cyril
|
|
|
Powered by
FUDForum. Page generated in 0.26305 seconds