Hello,
Somewhere I saw a method for indicating design patterns in UML -- they used
comment boxes with a black background and white lettering (and in Rose you
could create a link to a class diagram that isolates the pattern when you
feel that is needed for understanding). Anyway, I don't remember where I
saw this and apparently it is not a standard -- so far I can not find a
standard. Has anyone else see this method? If so where? I've gone out on
a limb and written this into the first draft of our modeling guidelines but
find a clear direction that the industry is taking.
Yes, I've used stereotypes for patterns but as was pointed out, you only get
one stereotype and so you can run into conflicts... also must patterns are
made up of many classes and these classes can have stereotypes of the parts
that they play in the pattern (i.e. in the MVC you see stereotypes used such
as model, view, controller, observer).
Has Rational done anything official? How about the pattern community?
Thanks!
Rusty
------------------------------------------------------------
Rusty Williamson
> Sr. Systems Architect
GERS Retail Systems
http://www.gers.com/
The Object Workshop
http://home.san.rr.com/williamson/
Home Page
http://www.znet.com/~rusty/
------------------------------------------------------------
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 07, 2000 8: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
*
*************************************************************************
************************************************************************
* 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
*
*************************************************************************