|Re: Newbie: Add attribute to a class in UML class diargram [message #1333652 is a reply to message #1326847]
||Mon, 05 May 2014 06:53
| Camille Letavernier
Registered: February 2011
Attributes and Properties in UML are actually exactly the same thing. The semantic element is a "Property", which can have many roles. When a Property is owned by a Structured Classifier, it plays the role of an Attribute.
So... "Owned attributes" actually displays the Properties of the Class.
Thus, you have three options for creating attributes/properties for a Class:
- Most natural one: In a Class diagram, select "Property" from the Palette, and create it on your Class (Drag & Drop, or Click & Click)
- From the properties view: Select a Class, go to the UML tab, then click on the green "+" near "Owned attribute", and select "Property"
- From the model explorer: Right click on a Class, New Child > Property
Powered by FUDForum
. Page generated in 0.02378 seconds