Table of Contents

Interface IDuration

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

The public interface for Duration

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

Properties

Expr

A ValueSpecification that evaluates to the value of the Duration. <p>From package UML::Values.</p>

[Browsable(false)]
[XmlElementName("expr")]
[XmlAttribute(false)]
[Containment]
IValueSpecification Expr { get; set; }

Property Value

IValueSpecification

Observation

Refers to the Observations that are involved in the computation of the Duration value <p>From package UML::Values.</p>

[XmlElementName("observation")]
[XmlAttribute(true)]
ISetExpression<IObservation> Observation { get; }

Property Value

ISetExpression<IObservation>

Methods

No_expr_requires_observation(object, object)

If a Duration has no expr, then it must have a single observation that is a DurationObservation. expr = null implies (observation->size() = 1 and observation->forAll(oclIsKindOf(DurationObservation)))

bool No_expr_requires_observation(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