A representing constraint is a link to a constraint that will be applied as a result of a Data Marking. Each Data Marking must have a representing constraint in order for the Data Marking to be added on elements. You need to create the constraint first, in order to link it to the Data Marking element via the representing constraint property. 


To create a constraint for a Data Marking


  1. Right-click a Data Marking element and open its Specification window.
  2. On the left-side menu, select Constraints and click Create > Constraint.
  3. In the Name field, type the name for the constraint.
  4. In the Applied Stereotype field, click the three dots  button and select <<ExistenceVariationPoint>> and <<InvisibleStereotype>>. Click Apply.
  5. Click Close.


To specify the representing constraint for a Data Marking


  • Through the Data Marking element:
  1. Right-click a Data Marking element and open its Specification window.
  2. Next to the Representing Constraint field, click the three dots  button. Select Element dialog opens.
  3. In the dialog, select the newly created constraint element. Click OK.

    If you cannot see the newly created constraint element, make sure the search is specified for Any Element. You can use the search box to find the constraint element faster.

  4. Click Close.
  • Through the Data Marking Category element:
  1. Right-click a Data Marking Category element and open its Specification window.
  2. On the left-side menu, select Data Markings.
  3. Next to the Data Marking you want to set the constraint for, click the three dots  button in the Sync Element column. Select Element  dialog opens.
  4. In the dialog, select the newly created constraint element. Click OK.

    If you cannot see the newly created constraint element, make sure the search is specified for Any Element. You can use the search box to find the constraint element faster.

  5. Click Close.