Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 Tools » Trying to define attribute in class in diagram of type "Set<ComponentType>"
Trying to define attribute in class in diagram of type "Set<ComponentType>" [message #501797] Thu, 03 December 2009 15:03 Go to previous message
David M. Karr is currently offline David M. Karr
Messages: 329
Registered: July 2009
Senior Member
I have a simple class diagram, with classes "Catalog" and "Category". I'll be adding many more classes, but these are the first two. There is a property of "Catalog" called "rootCategories", which should be a "Set<Category>". It's easy enough to define an association from Catalog to Category and label it on the source end with "rootCategories", but I'd like to define a "rootCategories" attribute of "Catalog" of type "Set<Category>".

I've created the two class icons, along with the association, but I don't understand the steps required to get that attribute created with that type.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic:Where are the UML2 Tools sample projects?
Next Topic:Display UML 2 class diagram
Goto Forum:
  


Current Time: Thu May 23 13:36:18 EDT 2013

Powered by FUDForum. Page generated in 0.01858 seconds