Interface InteractionConstraint

    • Method Detail

      • setMinint

        void setMinint​(ValueSpecification value)
        Sets the value of the 'Minint' containment reference.
        Parameters:
        value - the new value of the 'Minint' containment reference.
        See Also:
        getMinint()
      • setMaxint

        void setMaxint​(ValueSpecification value)
        Sets the value of the 'Maxint' containment reference.
        Parameters:
        value - the new value of the 'Maxint' containment reference.
        See Also:
        getMaxint()
      • validateDynamicVariables

        boolean validateDynamicVariables​(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                         Map context)
        The dynamic variables that take part in the constraint must be owned by the ConnectableElement corresponding to the covered Lifeline. true
      • validateGlobalData

        boolean validateGlobalData​(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                   Map context)
        The constraint may contain references to global data or write-once data. true
      • validateMinintMaxint

        boolean validateMinintMaxint​(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                     Map context)
        Minint/maxint can only be present if the InteractionConstraint is associated with the operand of a loop CombinedFragment. true
      • validateMinintNonNegative

        boolean validateMinintNonNegative​(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                          Map context)
        If minint is specified, then the expression must evaluate to a non-negative integer. true
      • validateMaxintPositive

        boolean validateMaxintPositive​(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                       Map context)
        If maxint is specified, then the expression must evaluate to a positive integer. true
      • validateMaxintGreaterEqualMinint

        boolean validateMaxintGreaterEqualMinint​(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                                 Map context)
        If maxint is specified, then minint must be specified and the evaluation of maxint must be >= the evaluation of minint true