Scott:

You must be using an older release of Rose. I tried this with Rose 2001A,
released May 2001, and don't have any problems reverse or forward
engineering the definition..

Best regards,

Khawar

-----Original Message-----
From: Davidson, Scott [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 29, 2001 12:29 PM
To: '[EMAIL PROTECTED]'
Subject: (ROSE) Warning when reverse engineering Java Interfaces with
multiple ex tends



I have a valid java class defined as follows :

        public interface IAttributeDefinition extends IAttributeUsage,
IXMLDataMirror { ... }

Even though you might think of this as multiple inheritance, this is the
Java way to have interfaces build on each  other (i.e., an interface can not
'implement' another interface). When I attempt to reverse engineer this into
the latest Rose (version 2001a), it complains that Java doesn't allow
multiple inheritance. 

Is this just a Rose bug or a misinterpretation of the Java language? I
realize that the real underlying problem is simply a mapping between UML and
Java because it is certainly legal to have  multiple specialization
associations from a single class (or class stereotyped as an << Interface >>
). But, it seems that a rule has been put into RoseJ explicitly disallowing
this multiple specialization association even though it is legal among
Interfaces. 

I'd be interested in hearing if anyone else has run into this and come up
with a work-around. This isn't a big issue in that Rose just gives a warning
whenever you reverse engineer or go to the Java Specification. But, it would
be nice if it were fixed (soon).

Scott Davidson 


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