Yes, you can do this. Create an association from ClassA to ClassB. Assign a rolename to this association which would become the attribute name. Open the specification of this association and set the ContainerClass property to be Vector.
--Sonny -----Original Message----- From: Girish Dadlani [mailto:[EMAIL PROTECTED]] Sent: Friday, October 05, 2001 3:58 PM To: '[EMAIL PROTECTED]' Subject: (ROSE) How Do I create a association between a attribute and another Cla ss Please someone help. Heres what I want to do 1) Create Two Classes ClassA and ClassB - Simple enough 2) Create a attribute on ClassA - myAttribute of type Vector myAttribute: Vector - Simple enough 3) I want to create a association between this attribute (myattribute) and ClassB (So in other words I want to have a Vector or hashtable attribute which is a container of ClassB) Is this easy to do .? - Girish ************************************************************************ * 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 * *************************************************************************
