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

public interface Duration extends ValueSpecification
A representation of the model object 'Duration'.

A Duration is a ValueSpecification that specifies the temporal distance between two time instants.

The following features are supported:

See Also:
Model:
annotation="MOF package='commonbehaviors.mdsimpletime'"
Generated:
  • Method Details

    • getExpr

      @CheckForNull ValueSpecification getExpr()
      Returns the value of the 'Expr' containment reference. It is bidirectional and its opposite is 'duration Of Expr'. A ValueSpecification that evaluates to the value of the Duration.
      Returns:
      the value of the 'Expr' containment reference.
      See Also:
      Model:
      opposite="_durationOfExpr" containment="true" resolveProxies="true" ordered="false"
      Generated:
    • setExpr

      void setExpr(@CheckForNull ValueSpecification value)
      Sets the value of the 'Expr' containment reference.
      Parameters:
      value - the new value of the 'Expr' containment reference.
      See Also:
      Generated:
    • getObservation

      Collection<Observation> getObservation()
      Returns the value of the 'Observation' reference list. The list contents are of type Observation. It is bidirectional and its opposite is 'duration Of Observation'. Refers to the Observations that are involved in the computation of the Duration value
      Returns:
      the value of the 'Observation' reference list.
      See Also:
      Model:
      opposite="_durationOfObservation" ordered="false"
      Generated:
    • get_durationIntervalOfMax

      Collection<DurationInterval> get_durationIntervalOfMax()
      Returns the value of the 'duration Interval Of Max' reference list. The list contents are of type DurationInterval. It is bidirectional and its opposite is 'Max'.

      If the meaning of the 'duration Interval Of Max' reference list isn't clear, there really should be more of a description here...

      Returns:
      the value of the 'duration Interval Of Max' reference list.
      See Also:
      Model:
      opposite="max" volatile="true" ordered="false"
      Generated:
    • get_durationIntervalOfMin

      Collection<DurationInterval> get_durationIntervalOfMin()
      Returns the value of the 'duration Interval Of Min' reference list. The list contents are of type DurationInterval. It is bidirectional and its opposite is 'Min'.

      If the meaning of the 'duration Interval Of Min' reference list isn't clear, there really should be more of a description here...

      Returns:
      the value of the 'duration Interval Of Min' reference list.
      See Also:
      Model:
      opposite="min" volatile="true" ordered="false"
      Generated:
    • hasObservation

      boolean hasObservation() throws javax.jmi.reflect.JmiException
      Throws:
      javax.jmi.reflect.JmiException
      Generated:
    • has_durationIntervalOfMax

      boolean has_durationIntervalOfMax() throws javax.jmi.reflect.JmiException
      Throws:
      javax.jmi.reflect.JmiException
      Generated:
    • has_durationIntervalOfMin

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