Cardinality (Help Page)

For other uses, see Cardinality.

Prerequisites

Cardinality can be set only for properties having the data type “REFERENCE”, dependent on condition properties with data type INTEGER_COUNT

Set Variable Cardinality

Step1: Create Dependent Property with Data Type Reference

Figure 1: Create new property dialog
  • Under menu entry Property, select function Create Property and in the next screen press button “Create Property”. The system opens the Create new property dialog.
Figure 2: Select referenced block
  • In the Create new property-dialog, fill in the (mandatory) fields and select “Reference” as data type of new property. In order to set the referenced block, select link “Select referenced block”.
Figure 3: Combo box for selection of property type
  • In the next dialog, select block (SE or CR) to be referenced by the property from the list of blocks or list of change requests for new blocks.
  • As next step, set data type of property to dependent from combo box property type:I
  • Press button Save in order to save the CR for new dependent reference property.

Step 2: Create Condition Property with Data Type Integer Count

Figure 4: Create new property dialog
  • Under menu entry Property, select function Create Property and in the next screen press button “Create Property”. The system opens the Create new property dialog.
Figure 5: Combo box for selection of property type
  • In the Create new property-dialog, fill in the (mandatory) fields, select “Integer (count)” as data type of new property and then set data type of property to condition from combo box property type:
  • Press button Save in order to save the CR for new condition property with data type Integer (count).

Step 3: Assign Dependent Reference Property and Condition Integer Count Property to the Same Class

Figure 6: Add existing property dialog
  • Under menu entry Block, select function Assign Reference of Block. The system opens the hierarchical structure of blocks. Select the block to which you want to assign the dependent reference property and in the next dialog, select the reference property. In the Add existent property dialog, fill in reason field and press save. The CR will be saved.
Figure 7: Add existing property dialog
  • Under menu entry Block, select function Assign Property. The system opens the hierarchical structure of blocks. Select the block to which you want to assign the condition integer count property (Attention: in order to create a cardinality structure, both dependent and condition property must be used in the same block!!) and in the next dialog, select the condition integer count property. In the Add existent property dialog, fill in reason field and press save. The CR will be saved.

Step 4: Set Condition of Dependent Property

Figure 8: Assign property condition
  • Under menu entry property, select function Assign property condition.
Figure 9: Select dependent property dialog
  • In the next dialog, check check-box Restrict for cardinality so that the system displays only properties which can be used to create cardinality structures (dependent reference properties and in the next screen condition integer count properties) and then select the dependent reference property (dependent reference property created in Step 1).
Figure 10: Select condition property
  • In the next dialog, select a condition property (condition property created in Step 2) for the dependent property. This conditional property has role of controlling property in cardinality.
Figure 11: Display of structure with variable cardinality in the hierarchical structure
  • In dialog Assign condition to dependent property, enter a reason in the Reason field and press Save.
  • The structure with variable cardinality will be displayed in the hierarchical structure as follows:

Set Fixed Cardinality

Figure 12: Create CVA

If user wants to set fixed cardinality for a used property, the following preconditions must be fulfilled:

  • The property for which he wants to set fixed cardinality is of type dependent and data type reference and depends on a conditional property of data type INTEGER_COUNT
  • A CVA with desired fixed value is created for conditional property;
  • Both depending and conditional properties must be assigned (used) together in classes.

Thus, he must first create a structure with variable cardinality as described under the Chapter "Set Variable Cardinality".

As next step, select menu entry Value, function Create CVA.

Figure 13: Select property for which CVA will be created (condition property)

System will display the hierarchical structure or elements. In tree, select the property for which you want to create the CVA (in our case the condition property, which is the controlling property in cardinality).

Figure 14: Enter CVA value in field value

In the CVA new dialog, enter the desired value in field value, enter a reason and press save.

Figure 15: Display of structure with fixed cardinality in the hierarchical structure

The fixed cardinality structure will be displayed as follows in the hierarchical structure:

X

Wir benötigen Ihre Zustimmung

Diese Website verwendet notwendige Cookies zur Sicherstellung des Betriebs der Website. Eine Analyse des Nutzerverhaltens durch Dritte findet nicht statt. Detaillierte Informationen über den Einsatz von Cookies finden Sie in unserer Datenschutzerklärung.