Interface Constraint

    • Method Detail

      • getConstrainedElements

        MDWEList<Element> getConstrainedElements()
        Returns the value of the 'Constrained Element' reference list. The list contents are of type Element. The ordered set of Elements referenced by this Constraint.
        Returns:
        the value of the 'Constrained Element' reference list.
        See Also:
        UMLPackage.getConstraint_ConstrainedElement()
      • setContext

        void setContext​(Namespace value)
        Sets the value of the 'Context' container reference.
        Parameters:
        value - the new value of the 'Context' container reference.
        See Also:
        getContext()
      • validateNotApplyToSelf

        boolean validateNotApplyToSelf​(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                       Map context)
        A constraint cannot be applied to itself. not constrainedElement->includes(self)
      • validateValueSpecificationBoolean

        boolean validateValueSpecificationBoolean​(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                                  Map context)
        The value specification for a constraint must evaluate to a Boolean value. self.specification().booleanValue().isOclKindOf(Boolean)
      • validateBooleanValue

        boolean validateBooleanValue​(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                     Map context)
        The value specification for a constraint must evaluate to a Boolean value. true
      • validateNoSideEffects

        boolean validateNoSideEffects​(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                      Map context)
        Evaluating the value specification for a constraint must not have side effects. true
      • validateNotAppliedToSelf

        boolean validateNotAppliedToSelf​(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                         Map context)
        A constraint cannot be applied to itself. not constrainedElement->includes(self)