hiho,
I'll bet the association is static (check the properties). A static
association means that the class itself -- not an instance of the class --
has the reference to the Singleton object. So there is still only one.
----- b
--
Brian G. Lyons
Number Six Software - Voted Rational's Best Complementary Service Provider
1101 30th St, NW, Suite 500
Washington, DC 20007
http://www.numbersix.com
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of
[EMAIL PROTECTED]
Sent: Thursday, December 07, 2000 11:15 AM
To: [EMAIL PROTECTED]
Subject: RE: (ROSE) singleton
I have a question which relates to representation of a Singleton class in
UML.
When a singleton class REed into Rose, it shows up with a unidirectional
reflexive association. Rose does this because it finds a STATIC object of
this class as a member varaible. To my way of thinking (correct me if I am
wrong), reflexive association for a class means that TWO objects of this
class are rquired to communicate. But for a singleton class ONE and ONLY
ONE object can exist.
Is this a correct representation of a singleton class? Any comments or
thoughts are appreciated.
Manoj Chopra
************************************************************************
* Rose Forum is a public venue for ideas and discussions.
* For technical support, visit http://www.rational.com/support
*
* Admin.Subscription Requests: [EMAIL PROTECTED]
* Archive of messages:
http://www.rational.com/products/rose/usergroups/rose_forum.jtmpl
* Other Requests: [EMAIL PROTECTED]
*
* To unsubscribe from the list, please send email
*
* To: [EMAIL PROTECTED]
* Subject:<BLANK>
* Body: unsubscribe rose_forum
*
*************************************************************************