Search code examples
propertieseclipse-pluginumlooad

How to use Subsetted Property in UML?


Subsetted Properties are widely used in UML specification diagrams.

  • What are the semantics (meaning) of a Subsetted Property?
  • How does one use a UML Subsetted Property?

A real-world example would be great

Edit:

the following screenshot from UML specification 2.5(Beta)

Could you please let me know what subset means in this diagram?

enter image description here


Solution

  • According to UML 2.4.1 specification, Subsetted Property references the properties of which this property is constrained to be a subset. What do you mean by a real-world example ? UML specification is one of them I guess... But you might find this kind of properties in all applicatioh where an Object is associatded to another and this association is redefined in the context of two of theirs subtypes. For example, an Animal class can be associated to a Limb class. We can also define two classes Human and Leg extending respectively Animal and Limb. Finally we can associate Human and Leg which will be a redefinition of the preexisting association.

    Modelio subsets

    Hoping it helps, BR