Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Content layer
id425322037
Content column
id425322039
Content block
id425322038

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 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


  1. Drag and drop a subsetted property

    (

    , e.g.

    , “consists of” from “Soccer Team”) onto

     has children, onto a property

    (

    , e.g.

    , “composed of” from “Futsal Team”)

     has john.

    Note
    titleNote

    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 Removed
    Dragging a subsetted property to another property to create a subproperty.
    Click on Create subproperty.
    Image Removed
Selecting the Create subproperty menu to create a subproperty.
  1. Image Added

  2. After you drop the subsetted property, you will see the following menu appear. Click Create subproperty.
    Image Added
  3. You should see something like the following.
    Image Added

To remove a subproperty To remove a property subsetting from a property


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

Image Added

Image Removed

Removing a property subsetting from a property.


Info
titleRemoving 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





Content block
id425322036

Related page