Just to note that this is also described in Chapter 28 (Patterns and
Frameworks) of "The Unified Modeling Language User Guide"
(Booch/Rumbaugh/Jacobson).

/Charles

|  -----Original Message-----
|  From: Knoernschild, Kirk [mailto:[EMAIL PROTECTED]]
|  Sent: Thursday, December 07, 2000 16:38
|  To: [EMAIL PROTECTED]
|  Subject: RE: (ROSE) singleton
|  
|  
|  
|  BTW, the dashed oval is a collaboration. The intent is to provide a
|  mechanism to easily represent a society of elements that 
|  work together to
|  provide some set of behavior...
|  
|  Kirk Knoernschild
|  Senior Consultant
|  TeamSoft, Inc.
|  www.teamsoftinc.com
|  Consulting, Training, & Mentoring
|  **-----------------------------------------------------------
|  ---------------
|  ----------------
|  * The opinions expressed here do not necessarily reflect those
|  * of TeamSoft, Inc., nor Kraft Foods.
|  **-----------------------------------------------------------
|  ---------------
|  ----------------
|  
|  
|  > -----Original Message-----
|  > From:      Yakov, Debby [SMTP:[EMAIL PROTECTED]]
|  > Sent:      Thursday, December 07, 2000 1:07 PM
|  > To:        'Williamson, Rusty'; [EMAIL PROTECTED]
|  > Subject:   RE: (ROSE) singleton
|  > 
|  > 
|  > Charles Richter discusses design patterns in chapter 9 of his book
|  > "Designing Flexible Object-Oriented Systems with UML". He 
|  states that UML
|  > provides syntax to document the application of a pattern 
|  and provides
|  > several figures that show how this is done. Briefly, in a 
|  class diagram,
|  > the
|  > name of the pattern appears in a dashed oval, with 
|  dependencies extending
|  > from it to the classes that participate in the pattern. Where the
|  > dependency
|  > intersects with the class, a label appears describing the 
|  role that class
|  > plays in the pattern.
|  > 
|  > -----Original Message-----
|  > From: Williamson, Rusty [mailto:[EMAIL PROTECTED]]
|  > Sent: Thursday, December 07, 2000 12:23 PM
|  > To: [EMAIL PROTECTED]
|  > Subject: RE: (ROSE) singleton
|  > 
|  > 
|  > 
|  > 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
|  > *
|  > 
|  *************************************************************
|  ************
|  > 
|  *************************************************************
|  ***********
|  > * 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
|  *
|  *************************************************************
|  ************
|  
************************************************************************
* 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
*
*************************************************************************

Reply via email to