Table of Contents

Class ExpansionNode

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

An ExpansionNode is an ObjectNode used to indicate a collection input or output for an ExpansionRegion. A collection input of an ExpansionRegion contains a collection that is broken into its individual elements inside the region, whose content is executed once per element. A collection output of an ExpansionRegion combines individual elements produced by the execution of the region into a collection for use outside the region. <p>From package UML::Actions.</p>

[XmlNamespace("http://www.eclipse.org/uml2/5.0.0/UML")]
[XmlNamespacePrefix("uml")]
[ModelRepresentationClass("http://www.eclipse.org/uml2/5.0.0/UML#//ExpansionNode")]
public class ExpansionNode : ObjectNode, IExpansionNode, IObjectNode, ITypedElement, IActivityNode, IActivityContent, IRedefinableElement, INamedElement, IElement, IEModelElement, IModelElement, INotifyPropertyChanged, INotifyPropertyChanging
Inheritance
ExpansionNode
Implements
Inherited Members

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>

RegionAsInput

The ExpansionRegion for which the ExpansionNode is an input. <p>From package UML::Actions.</p>

[XmlElementName("regionAsInput")]
[XmlAttribute(true)]
[XmlOpposite("inputElement")]
public IExpansionRegion RegionAsInput { get; set; }

Property Value

IExpansionRegion

RegionAsOutput

The ExpansionRegion for which the ExpansionNode is an output. <p>From package UML::Actions.</p>

[XmlElementName("regionAsOutput")]
[XmlAttribute(true)]
[XmlOpposite("outputElement")]
public IExpansionRegion RegionAsOutput { get; set; }

Property Value

IExpansionRegion

Methods

GetClass()

Gets the Class for this model element

public override IClass GetClass()

Returns

IClass

GetExpressionForReference(string)

Gets the property expression for the given reference

protected override INotifyExpression<IModelElement> GetExpressionForReference(string reference)

Parameters

reference string

The requested reference in upper case

Returns

INotifyExpression<IModelElement>

An incremental property expression

GetModelElementForReference(string, int)

Resolves the given URI to a child model element

protected override IModelElement GetModelElementForReference(string reference, int index)

Parameters

reference string

The requested reference name

index int

The index of this reference

Returns

IModelElement

The model element or null if it could not be found

Region_as_input_or_output(object, object)

One of regionAsInput or regionAsOutput must be non-empty, but not both. regionAsInput->notEmpty() xor regionAsOutput->notEmpty()

public bool Region_as_input_or_output(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

SetFeature(string, object)

Sets a value to the given feature

protected override void SetFeature(string feature, object value)

Parameters

feature string

The requested feature

value object

The value that should be set to that feature