dcsimg
Notation and meaning
3 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Arianna_Benigno
Posted On:   Friday, February 6, 2004 03:19 AM

Hello!

I have big doubt on how to give a name to the objects in certain cases, like Sequence diagram and component diagrams.

Sometimes, it is name:name (always underline), sometimes it is just :name, some other time is name without columns.

Which is the difference? Are there other systems to give names to objects?

Thank you,

Arianna

Re: Notation and meaning

Posted By:   Anonymous  
Posted On:   Sunday, February 8, 2004 05:32 PM

My site URL should be:
[Visit: All about UML]

Re: Notation and meaning

Posted By:   Anonymous  
Posted On:   Sunday, February 8, 2004 05:07 PM

Customer => a class, a type


Arianna:Customer => an object, a specific customer, a customer called "Arianna"


:Customer => an object, an unspecified customer


[Visit: All about UML]

Re: Notation and meaning

Posted By:   c_m  
Posted On:   Friday, February 6, 2004 10:31 AM

A named object required both left and right hand side. Left hand side is the object identity (name), right hand side is it's type.


E.g.

A Person object called John is represented

John:Person


The underline denotes it is an object and not a class.

An anonymous object does not require a left hand identifier.


E.g.

Any Person object is respresented

:Person


When showing interaction with a static method such as in an interaction diagram there is no unlerline.

These are the UML standard naming conventions.


Hope this is of help


CM

www.liemur.com

About | Sitemap | Contact