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 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 childrenchild, onto a property, e.g. has janedaughter.Image Removed
Note
title
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.
Image Added
After you drop the subsetted property, you will see the following menu appear. Click Create subproperty. Image RemovedImage Added
You should see something like the following. Image RemovedImage Added
To remove a property subsetting subproperty from a property
Right-click on a subsetting property, e.g., {subsets has childrenchild}.
Select Concept Modeling > Remove subproperty.
Image Removed
To create multiple subproperties
Drag and drop different subsetted properties, e.g. has children and has toys, onto a property, e.g. has jane. Image Removed
See the same menu appear as in the first set of instructions here. Click Create subproperty.
Your final result should look like the following. Image Removed
To remove a specific subproperty
Right-click on the newly created subproperties. Select Concept Modeling > Remove subproperty. Image Removed
The property's specification window appears with the Subsetted Property field already selected. Image Removed
Click on which subproperty you would like to remove. Click the – symbol. Image Removed
Image Added
Info
title
Removing Multiple Subproperties
When you have multiple subproperties on the same generalization, the following window will appear when you are trying to remove the subproperties. This dialog allows you to choose the subproperty you want to remove. It does not remove the subproperties at once, it lets you choose one at a time.
Image Added
The result should look like the following. Image Removed