Class ExpansionNode
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
ReferencedElements
Gets the referenced model elements of this model element
public override IEnumerableExpression<IModelElement> ReferencedElements { get; }
Property Value
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
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
Methods
GetClass()
Gets the Class for this model element
public override IClass GetClass()
Returns
GetExpressionForReference(string)
Gets the property expression for the given reference
protected override INotifyExpression<IModelElement> GetExpressionForReference(string reference)
Parameters
reference
stringThe 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
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
objectThe chain of diagnostics to which problems are to be appended.
context
objectThe cache of context-specific information.
Returns
SetFeature(string, object)
Sets a value to the given feature
protected override void SetFeature(string feature, object value)