Table of Contents

Interface IDurationObservation

Namespace
NMF.Interop.Uml
Assembly
NMF.UMLInterop.dll

The public interface for DurationObservation

[DefaultImplementationType(typeof(DurationObservation))]
[XmlDefaultImplementationType(typeof(DurationObservation))]
[ModelRepresentationClass("http://www.eclipse.org/uml2/5.0.0/UML#//DurationObservation")]
public interface IDurationObservation : IObservation, IPackageableElement, IParameterableElement, INamedElement, IElement, IEModelElement, IModelElement, INotifyPropertyChanged, INotifyPropertyChanging
Inherited Members

Properties

Event

The DurationObservation is determined as the duration between the entering or exiting of a single event Element during execution, or the entering/exiting of one event Element and the entering/exiting of a second. <p>From package UML::Values.</p>

[LowerBound(1)]
[UpperBound(2)]
[XmlElementName("event")]
[XmlAttribute(true)]
IOrderedSetExpression<INamedElement> Event { get; }

Property Value

IOrderedSetExpression<INamedElement>

FirstEvent

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]. <p>From package UML::Values.</p>

[UpperBound(2)]
[XmlElementName("firstEvent")]
[XmlAttribute(true)]
ISetExpression<bool> FirstEvent { get; }

Property Value

ISetExpression<bool>

Methods

First_event_multiplicity(object, object)

The multiplicity of firstEvent must be 2 if the multiplicity of event is 2. Otherwise the multiplicity of firstEvent is 0. if (event->size() = 2) then (firstEvent->size() = 2) else (firstEvent->size() = 0) endif

bool First_event_multiplicity(object diagnostics, object context)

Parameters

diagnostics object

The chain of diagnostics to which problems are to be appended.

context object

The cache of context-specific information.

Returns

bool