Table of Contents

Class OccurrenceSpecification

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

An OccurrenceSpecification is the basic semantic unit of Interactions. The sequences of occurrences specified by them are the meanings of Interactions. <p>From package UML::Interactions.</p>

[XmlNamespace("http://www.eclipse.org/uml2/5.0.0/UML")]
[XmlNamespacePrefix("uml")]
[ModelRepresentationClass("http://www.eclipse.org/uml2/5.0.0/UML#//OccurrenceSpecification")]
public class OccurrenceSpecification : InteractionFragment, IOccurrenceSpecification, IInteractionFragment, INamedElement, IElement, IEModelElement, IModelElement, INotifyPropertyChanged, INotifyPropertyChanging
Inheritance
OccurrenceSpecification
Implements
Derived
Inherited Members

Constructors

OccurrenceSpecification()

Creates a new instance

public OccurrenceSpecification()

Properties

ClassInstance

Gets the Class model for this type

public static IClass ClassInstance { get; }

Property Value

IClass

ReferencedElements

Gets the referenced model elements of this model element

public override IEnumerableExpression<IModelElement> ReferencedElements { get; }

Property Value

IEnumerableExpression<IModelElement>

ToAfter

References the GeneralOrderings that specify EventOcurrences that must occur after this OccurrenceSpecification. <p>From package UML::Interactions.</p>

[XmlElementName("toAfter")]
[XmlAttribute(true)]
[XmlOpposite("before")]
public ISetExpression<IGeneralOrdering> ToAfter { get; }

Property Value

ISetExpression<IGeneralOrdering>

ToBefore

References the GeneralOrderings that specify EventOcurrences that must occur before this OccurrenceSpecification. <p>From package UML::Interactions.</p>

[XmlElementName("toBefore")]
[XmlAttribute(true)]
[XmlOpposite("after")]
public ISetExpression<IGeneralOrdering> ToBefore { get; }

Property Value

ISetExpression<IGeneralOrdering>

Methods

GetClass()

Gets the Class for this model element

public override IClass GetClass()

Returns

IClass

GetCollectionForFeature(string)

Gets the Model element collection for the given feature

protected override IList GetCollectionForFeature(string feature)

Parameters

feature string

The requested feature

Returns

IList

A non-generic list of elements

GetCovered()

Returns the Lifeline on which the OccurrenceSpecification appears.

public ILifeline GetCovered()

Returns

ILifeline

SetCovered(ILifeline)

Sets the Lifeline on which the OccurrenceSpecification appears.

public void SetCovered(ILifeline value)

Parameters

value ILifeline