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
Drag and drop a subsetted property, e.g. has children, onto a property, e.g. has jane.
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.
- After you drop the subsetted property, you will see the following menu appear. Click Create subproperty.
- You should see something like the following.
To remove a property subsetting from a property
- Right-click on a subsetting property, e.g., {subsets has children}.
- Select Concept Modeling > Remove subproperty.
Related page