Table of Contents

Class ExpansionRegion

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

An ExpansionRegion is a StructuredActivityNode that executes its content multiple times corresponding to elements of input collection(s). <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#//ExpansionRegion")]
public class ExpansionRegion : StructuredActivityNode, IExpansionRegion, IStructuredActivityNode, IActivityGroup, INamespace, IAction, IExecutableNode, IActivityNode, IActivityContent, IRedefinableElement, INamedElement, IElement, IEModelElement, IModelElement, INotifyPropertyChanged, INotifyPropertyChanging
Inheritance
ExpansionRegion
Implements
Inherited Members

Constructors

ExpansionRegion()

Creates a new instance

public ExpansionRegion()

Properties

ClassInstance

Gets the Class model for this type

public static IClass ClassInstance { get; }

Property Value

IClass

InputElement

The ExpansionNodes that hold the input collections for the ExpansionRegion. <p>From package UML::Actions.</p>

[LowerBound(1)]
[XmlElementName("inputElement")]
[XmlAttribute(true)]
[XmlOpposite("regionAsInput")]
public ISetExpression<IExpansionNode> InputElement { get; }

Property Value

ISetExpression<IExpansionNode>

Mode

The mode in which the ExpansionRegion executes its contents. If parallel, executions are concurrent. If iterative, executions are sequential. If stream, a stream of values flows into a single execution. <p>From package UML::Actions.</p>

[XmlElementName("mode")]
[XmlAttribute(true)]
public ExpansionKind Mode { get; set; }

Property Value

ExpansionKind

OutputElement

The ExpansionNodes that form the output collections of the ExpansionRegion. <p>From package UML::Actions.</p>

[XmlElementName("outputElement")]
[XmlAttribute(true)]
[XmlOpposite("regionAsOutput")]
public ISetExpression<IExpansionNode> OutputElement { get; }

Property Value

ISetExpression<IExpansionNode>

ReferencedElements

Gets the referenced model elements of this model element

public override IEnumerableExpression<IModelElement> ReferencedElements { get; }

Property Value

IEnumerableExpression<IModelElement>

Methods

GetAttributeValue(string, int)

Resolves the given attribute name

protected override object GetAttributeValue(string attribute, int index)

Parameters

attribute string

The requested attribute name

index int

The index of this attribute

Returns

object

The attribute value or null if it could not be found

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

GetExpressionForAttribute(string)

Gets the property expression for the given attribute

protected override INotifyExpression<object> GetExpressionForAttribute(string attribute)

Parameters

attribute string

The requested attribute in upper case

Returns

INotifyExpression<object>

An incremental property expression

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