Interface TimeObservation

  • All Superinterfaces:
    BaseElement, java.lang.Cloneable, java.lang.Comparable, Element, org.eclipse.emf.ecore.EObject, MDObject, com.dassault_systemes.modeler.foundation.model.ModelElement, ModelObject, NamedElement, org.eclipse.emf.common.notify.Notifier, Observation, PackageableElement, ParameterableElement, javax.jmi.reflect.RefBaseObject, javax.jmi.reflect.RefFeatured, javax.jmi.reflect.RefObject

    public interface TimeObservation
    extends Observation
    A representation of the model object 'Time Observation'.

    A TimeObservation is a reference to a time instant during an execution. It points out the NamedElement in the model to observe and whether the observation is when this NamedElement is entered or when it is exited.

    The following features are supported:

    See Also:
    UMLPackage.getTimeObservation()
    Model:
    annotation="MOF package='commonbehaviors.mdsimpletime'"
    Generated:
    • 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 event. If firstEvent is true, then the corresponding observation event is the first time instant the execution enters the event Element. If firstEvent is false, then the corresponding observation event is the time instant the execution exits the event Element.
        Returns:
        the value of the 'First Event' attribute.
        See Also:
        setFirstEvent(boolean), UMLPackage.getTimeObservation_FirstEvent()
        Model:
        default="true" dataType="com.nomagic.uml2.ext.magicdraw.Boolean" required="true" 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:
      • setEvent

        void setEvent​(@CheckForNull
                      NamedElement value)
        Sets the value of the 'Event' reference.
        Parameters:
        value - the new value of the 'Event' reference.
        See Also:
        getEvent()
        Generated: