Interface DurationObservation

  • 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 DurationObservation
    extends Observation
    A representation of the model object 'Duration Observation'.

    A DurationObservation is a reference to a duration during an execution. It points out the NamedElement(s) in the model to observe and whether the observations are when this NamedElement is entered or when it is exited.

    The following features are supported:

    See Also:
    UMLPackage.getDurationObservation()
    Model:
    annotation="MOF package='commonbehaviors.mdsimpletime'"
    Generated:
    • Method Detail

      • isFirstEvent

        java.util.List<java.lang.Boolean> isFirstEvent()
        Returns the value of the 'First Event' attribute list. The list contents are of type Boolean. The value of firstEvent[i] is related to event[i] (where i is 1 or 2). If firstEvent[i] is true, then the corresponding observation event is the first time instant the execution enters event[i]. If firstEvent[i] is false, then the corresponding observation event is the time instant the execution exits event[i].
        Returns:
        the value of the 'First Event' attribute list.
        See Also:
        UMLPackage.getDurationObservation_FirstEvent()
        Model:
        dataType="com.nomagic.uml2.ext.magicdraw.Boolean" upper="2" ordered="true"
        Generated:
      • hasEvent

        boolean hasEvent()
                  throws javax.jmi.reflect.JmiException
        Throws:
        javax.jmi.reflect.JmiException
        Generated:
      • hasFirstEvent

        boolean hasFirstEvent()
                       throws javax.jmi.reflect.JmiException
        Throws:
        javax.jmi.reflect.JmiException
        Generated: