Please could you remove my e-mail address from your address book - I think I
originally sent you a message in error.

Many thanks.
----- Original Message -----
From: Netherwood Paul <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; Erica Winston <[EMAIL PROTECTED]>
Cc: [unknown] <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Wednesday, October 31, 2001 9:42 AM
Subject: RE: (ROSE) Notation for a pattern usage?


>
> There is a major limitation of using a 'realise' relationship with Rose
> Java. The code generator treats a realise relationship as implementing an
> interface and generates an error "java classes can only implement
> interfaces" if your class is not an interface. This makes what you're
trying
> to do very difficult with realise and Java. If you change your pattern
class
> stereotype to <<Interface>> to get round the problem the code generator
adds
> code to implement your pattern class which is almost certainly what you
> don't want. I've tried changing the component type to Analysis and turning
> code generation off for the class still gives the same error. In the end I
> used a dependency relationship stereotyped with <<Realise>>. Not ideal.
>
> The ideal would be that the code generator does not generate implements
for
> non-Java classes with a realise relationship.
>
> Has anyone found a better workaround?
>
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: 31 October 2001 09:05
> To: Erica Winston
> Cc: [unknown]
> Subject: Re: (ROSE) Notation for a pattern usage?
>
>
>
> (responding to Erica Winston)
>
> > How do you show a pattern usage in Rose?  From UML it is a parameterized
> > collaboration, shown as a dashed ellipse containing the name of the
> > pattern, and with dashed lines drawn to the classes that carry the role
> > name of the pattern usage.
>
> I first came across this question 6 years ago.  Then I chose to describe
> the pattern in a separate diagram (usually in a 'patterns' package) and
> have the implementation pf the pattern 'Inherit' from the appropriate
> pattern elements.
>
> These days, I work much in the same way, using a 'Realise' relationship.
> I find this is a reasonable stop gap where UML patterns are not fully
> supported
> by the tool.  As always, the important thing is that it is clear to
> everybody
> what you mean.
>
> Paul Oldfield
>
> any opinions expressed herein are not necessarily those of
> Mentors of Cally
> ************************************************************************
> * 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
> *
> *************************************************************************
>

************************************************************************
* 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