same behavior in 2001...

one suggestion: modify the method in both the interface and class java
files, then reverse engineer the changes back into model.  This way, you
don't lose the method's code.  Gets messy whan many classes implement an
interface.

Another option (if you have not yet begun coding the methods):  in Rose,
modify interface method, delete old method from class, then code gen again.

These brute-force methods are the only ones I know of...

-------------------------------------------------
Tony Picarello
Engineer
Science Applications International Corp.

Voice: 407-207-2791
Fax:    407-282-4530
Email: mailto:[EMAIL PROTECTED]



-----Original Message-----
From: Christophe Geraud [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 27, 2001 10:53 AM
To: [EMAIL PROTECTED]
Subject: (ROSE) Implementation of interface



Hello,

I'm using Rose 2000 for a Java class model.

I create an interface and a class that realise this interface.
All the methods are in the interface.
When I generate the Java code, all the methods from the interface are copied
in the class of
the rose model.
(The java code generation is alright)

It seems it's not good because when I want to modify a method from the
interface the old one
stay in the class were it has been copied (at the previous java code
generation).
So what I do is, modifying the method from the interface and suppress the
old one from the
class !!!

What's wrong ?

Thanks for help

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