Class ExpansionRegion
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
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
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
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
ReferencedElements
Gets the referenced model elements of this model element
public override IEnumerableExpression<IModelElement> ReferencedElements { get; }
Property Value
Methods
GetAttributeValue(string, int)
Resolves the given attribute name
protected override object GetAttributeValue(string attribute, int index)
Parameters
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
GetCollectionForFeature(string)
Gets the Model element collection for the given feature
protected override IList GetCollectionForFeature(string feature)
Parameters
feature
stringThe 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
stringThe 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)