Interface TimeConstraint

    • Method Detail

      • isFirstEvent

        boolean isFirstEvent()
        Returns the value of the 'First Event' attribute. The default value is "true". The value of firstEvent is related to the constrainedElement. If firstEvent is true, then the corresponding observation event is the first time instant the execution enters the constrainedElement. If firstEvent is false, then the corresponding observation event is the last time instant the execution is within the constrainedElement.
        Returns:
        the value of the 'First Event' attribute.
        See Also:
        setFirstEvent(boolean), UMLPackage.getTimeConstraint_FirstEvent()
        Model:
        default="true" dataType="com.nomagic.uml2.ext.magicdraw.Boolean" ordered="false"
        Generated:
      • setFirstEvent

        void setFirstEvent​(boolean value)
        Sets the value of the 'First Event' attribute.
        Parameters:
        value - the new value of the 'First Event' attribute.
        See Also:
        isFirstEvent()
        Generated:
      • setSpecification

        void setSpecification​(@CheckForNull
                              TimeInterval value)
        Sets the value of the 'Specification' containment reference.
        Parameters:
        value - the new value of the 'Specification' containment reference.
        See Also:
        getSpecification()
        Generated: