Hi Neil

> Thanks.  I see what is happening...sort of.  I'm using 2000e.

I assumed 2000e, just wanted to check.
 
> The reverse engineering converts these variables to associations, not
> attributes.  This is perhaps my newness to serious UML, but 
> it seems to me
> that a class diagram should reflect the variables used to establish
> associations.  For example, if class A contains a Vector, that is a
> collection of references to class B, it is useful to see the 
> Vector in the
> diagram as an attribute of class A.  However, the reverse 
> engineering of
> this code does not produce that result.

Strictly speaking, Rose is doing the right thing from a UML point of view.
The thing you can see in the class is really the role that is being played
by the class at the other end of the relationship.

The UML differs from the way languages like Java and C++ work - in the sense
that most people expect what you have suggested - the attribute in the
class.  UML is not a language to write code - but a language to express
concepts that can be turned into code (otherwise it would be yet another
programming language :-).

> Is there a way to manually convert the associations to 
> attributes in Rose?
> When I double click on these, the dialogue box is a "Field 
> Specification".
> However, when I view the class standard specification dialogue, these
> "fields" are only present under the "Relations" tab.

I see someone has already kindly posted a script to help you do this.

regards

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