In the Concept Modeling interpretation of UML, subsetting a property creates a subproperty when the subsetting property has a different name than the subsetted property (see section Subproperty). UML provides a {subsets} constraint that asserts that the values within a subsetting property are also in the set of values within a subsetted property. The concept modeling profile interprets a subproperty as a subsetting property that has a different name. 

To add a subproperty



  1. Drag and drop a subsetted property (e.g., “consists of” from “Soccer Team”) onto a property (e.g., “composed of” from “Futsal Team”).

    Note

    The property is owned by the class at the opposite end of the association. Additionally, the target can have the same name as the source, or can be unnamed. The resulting redefined property's multiplicity is adjusted to conform to the multiplicity of the dragged, subsetted property.


    Figure 1: Dragging a subsetted property to another property to create a subproperty.
  2. Click on Create subproperty.


Figure 2 : Selecting the Create subproperty menu to create a subproperty.

To remove a property subsetting from a property



  1. Right-click on a subsetting property (e.g., “composed of” from “Futsal Team”).
  2. Select Concept Modeling > Remove subproperty.

Figure 3: Removing a property subsetting from a property.

 

 

 

Related Pages: