Hi

Personally I think multiple inheritance is a mess, and only used to provide
programmes with a quick-and-dirty way to code reuse, and a sign of poor
analysis and/or design. However, if you insist, why not add a method to you
Agent class named "changeRole"? Then you could use this in an interaction
diagram.

Erik
-----Oprindelig meddelelse-----
Fra: CaiMao [mailto:[EMAIL PROTECTED]]
Sendt: 9. oktober 2001 14:39
Til: [EMAIL PROTECTED]
Emne: (ROSE) Role change representations


Hi Pals:
        I met a problem in presenting the role change of an object(agent).
In UML User's Guide, it is suggested that using multi-inheritance, instance
of subclass can dynamically cast its type from one parent's type to another
parent's type to implement this semantics. But how to present this behaviour
in Rose? I found rose interaction diagram can't draw <<becomes>> and the
role name could not be entered (it can only enter instance name and the
class name).
                                        Thanx in advance for any information
                                        Yours  CaiMao
                                [EMAIL PROTECTED]


************************************************************************
* 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/support/usergroups/rose/rose_forum.jsp
* 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/support/usergroups/rose/rose_forum.jsp
* 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