Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Content layer
id323242002
Content column
id323242004
Content block
id323242003

To create a universal quantification constraint


  1. Drag and drop a property to be redefined (e.g., has from Person) onto a redefining property (e.g., has from Dog Lover).

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

    Dragging the property to be redefined to the redefining property.
  2. Select Specify that objects may only be from type 'Dog{}'.


    The Specify that objects may only be from type 'Dog' shortcut menu.
  3. The universal quantification constraint will be created.


    The created universal quantification constraint as redefine.

To create an existential quantification constraint


  1. Drag and drop a property you want to subset (e.g., has from Person) onto the cardinality of the property that will subset another property (e.g., unnamed from Dog Caretaker).

    Note
    titleNote
    • The target can have the same name as the source, or can be unnamed.
    • The resulting subsetting property’s multiplicity is adjusted to conform to the dragged, subsetted property, and to have a minimum cardinality of at least one.

    Dragging the property onto a cardinality of another property to create an existential quantification constraint
    .
    .
  2. Do one of the following
    Select
    • To specify the lower value of multiplicity of 2, select Specify multiplicity for type '{}'.
    • To specify the lower value of multiplicity of 1, select
    • Specify that some objects must be from type '
    Dog
    • {}'.


    The Specify multiplicity for type 'Dog' and Specify that some objects must be from type 'Dog'
    shortcut menu
    commands.

  3. The existential quantification constraint will be created.

    Image Added

    The created existential quantification constraint as subset with the lower value of multiplicity of 2 when selecting the Specify multiplicity for type 'Dog' command.

    Image Modified

    The created existential quantification constraint as subset with the lower value of multiplicity of 1 when selecting the Specify that some objects must be from type 'Dog' command.
Content block
id323250482

Related pages