public interface ExpansionRegion extends StructuredActivityNode
The following features are supported:
UMLPackage.getExpansionRegion()
SEPARATOR
Modifier and Type | Method and Description |
---|---|
ExpansionNode |
getInputElement(String name,
Type type)
Retrieves the first
ExpansionNode with the specified 'Name', and 'Type'
from the 'Input Element' reference list |
ExpansionNode |
getInputElement(String name,
Type type,
boolean ignoreCase)
Retrieves the first
ExpansionNode with the specified 'Name', and 'Type'
from the 'Input Element' reference list |
MDWEList<ExpansionNode> |
getInputElements()
Returns the value of the 'Input Element' reference list.
|
ExpansionKind |
getMode()
Returns the value of the 'Mode' attribute.
|
ExpansionNode |
getOutputElement(String name,
Type type)
Retrieves the first
ExpansionNode with the specified 'Name', and 'Type'
from the 'Output Element' reference list |
ExpansionNode |
getOutputElement(String name,
Type type,
boolean ignoreCase)
Retrieves the first
ExpansionNode with the specified 'Name', and 'Type'
from the 'Output Element' reference list |
MDWEList<ExpansionNode> |
getOutputElements()
Returns the value of the 'Output Element' reference list.
|
void |
setMode(ExpansionKind value)
Sets the value of the '
Mode ' attribute |
boolean |
validateExpansionNodes(DiagnosticChain diagnostics,
Map context)
An ExpansionRegion must have one or more argument ExpansionNodes and zero or more result ExpansionNodes.
|
createEdge, createNode, createStructuredNodeInput, createStructuredNodeInput, createStructuredNodeOutput, createVariable, getEdge, getEdge, getEdges, getNode, getNode, getNodes, getStructuredNodeInput, getStructuredNodeInput, getStructuredNodeInputs, getStructuredNodeOutput, getStructuredNodeOutput, getStructuredNodeOutputs, getVariable, getVariable, getVariables, isMustIsolate, setMustIsolate, validateEdges
createLocalPostcondition, createLocalPostcondition, createLocalPrecondition, createLocalPrecondition, getContext, getInput, getInput, getInputs, getLocalPostcondition, getLocalPostcondition, getLocalPostconditions, getLocalPrecondition, getLocalPrecondition, getLocalPreconditions, getOutput, getOutput, getOutputs
createHandler, getHandlers
getActivity, getIncoming, getIncoming, getIncomings, getInGroups, getInInterruptibleRegions, getInPartition, getInPartition, getInPartitions, getInStructuredNode, getOutgoing, getOutgoing, getOutgoings, getRedefinedNode, getRedefinedNode, getRedefinedNodes, setActivity, setInStructuredNode, validateOwned, validateOwnedStructuredNode
getRedefinedElement, getRedefinedElement, getRedefinedElements, getRedefinitionContext, getRedefinitionContext, getRedefinitionContexts, isConsistentWith, isLeaf, isRedefinitionContextValid, setIsLeaf, validateRedefinitionConsistent, validateRedefinitionContextValid
allNamespaces, allOwningPackages, createDependency, createNameExpression, getClientDependencies, getClientDependency, getClientDependency, getLabel, getLabel, getName, getNameExpression, getNamespace, getQualifiedName, getVisibility, isDistinguishableFrom, isSetName, isSetVisibility, separator, setName, setNameExpression, setVisibility, unsetName, unsetVisibility, validateHasNoQualifiedName, validateHasQualifiedName, validateVisibilityNeedsOwnership
addKeyword, allOwnedElements, applyStereotype, createEAnnotation, createOwnedComment, destroy, getApplicableStereotype, getApplicableStereotypes, getAppliedStereotype, getAppliedStereotypes, getAppliedSubstereotype, getAppliedSubstereotypes, getKeywords, getModel, getNearestPackage, getOwnedComments, getOwnedElements, getOwner, getRelationships, getRelationships, getRequiredStereotype, getRequiredStereotypes, getSourceDirectedRelationships, getSourceDirectedRelationships, getStereotypeApplication, getStereotypeApplications, getTargetDirectedRelationships, getTargetDirectedRelationships, getValue, hasKeyword, hasValue, isStereotypeApplicable, isStereotypeApplied, isStereotypeRequired, mustBeOwned, removeKeyword, setValue, unapplyStereotype, validateHasOwner, validateNotOwnSelf
compareTo, eExtendedClass, eIsInstanceOf, eIsInstanceOf, eIsProfiled, eIsRemoved, eMetamodel, eMetaTypeName, eModel, eRemove, eSetUniqueID, eUniqueID, superScript, superScript, toBoolean, toBoolean, toByte, toByte, toChar, toChar, toDouble, toDouble, toFloat, toFloat, toInt, toInt, toList, toList, toList, toList, toList, toLong, toLong, toObject, toObject, toSet, toSet, toShort, toShort, toString, toString
getEAnnotation, getEAnnotations
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
eAdapters, eDeliver, eNotify, eSetDeliver
createElementImport, createElementImport, createOwnedDiagram, createOwnedRule, createOwnedRule, createPackageImport, createPackageImport, excludeCollisions, getElementImport, getElementImport, getElementImports, getImportedElements, getImportedMember, getImportedMember, getImportedMembers, getImportedPackages, getMember, getMember, getMembers, getNamesOfMember, getOwnedDiagrams, getOwnedDiagrams, getOwnedMember, getOwnedMember, getOwnedMembers, getOwnedRule, getOwnedRule, getOwnedRules, getPackageImport, getPackageImport, getPackageImports, importMembers, membersAreDistinguishable, validateMembersDistinguishable
getContainedEdge, getContainedEdge, getContainedEdges, getContainedNode, getContainedNode, getContainedNodes, getInActivity, getSubgroups, getSuperGroup, setInActivity, validateGroupOwned, validateNodesAndEdges, validateNotContained
ExpansionKind getMode()
"iterative"
.
The literals are from the enumeration ExpansionKind
.
The way in which the executions interact:
parallel: all interactions are independent
iterative: the interactions occur in order of the elements
stream: a stream of values flows into a single execution
ExpansionKind
,
setMode(ExpansionKind)
,
UMLPackage.getExpansionRegion_Mode()
void setMode(ExpansionKind value)
Mode
' attribute.
value
- the new value of the 'Mode' attribute.ExpansionKind
,
getMode()
MDWEList<ExpansionNode> getInputElements()
ExpansionNode
.
It is bidirectional and its opposite is 'Region As Input
'.
An object node that holds a separate element of the input collection during each of the multiple executions of the region.
UMLPackage.getExpansionRegion_InputElement()
,
ExpansionNode.getRegionAsInput()
ExpansionNode getInputElement(String name, Type type)
ExpansionNode
with the specified 'Name', and 'Type'
from the 'Input Element' reference list.
name
- The 'Name' of the ExpansionNode
to retrieve, or null
.type
- The 'Type' of the ExpansionNode
to retrieve, or null
.ExpansionNode
with the specified 'Name', and 'Type',
or null
.getInputElements()
ExpansionNode getInputElement(String name, Type type, boolean ignoreCase)
ExpansionNode
with the specified 'Name', and 'Type'
from the 'Input Element' reference list.
name
- The 'Name' of the ExpansionNode
to retrieve, or null
.type
- The 'Type' of the ExpansionNode
to retrieve, or null
.ignoreCase
- Whether to ignore case in String
comparisons.ExpansionNode
with the specified 'Name', and 'Type',
or null
.getInputElements()
MDWEList<ExpansionNode> getOutputElements()
ExpansionNode
.
It is bidirectional and its opposite is 'Region As Output
'.
An object node that accepts a separate element of the output collection during each of the multiple executions of the region. The values are
formed into a collection that is available when the execution of the region is complete.
UMLPackage.getExpansionRegion_OutputElement()
,
ExpansionNode.getRegionAsOutput()
ExpansionNode getOutputElement(String name, Type type)
ExpansionNode
with the specified 'Name', and 'Type'
from the 'Output Element' reference list.
name
- The 'Name' of the ExpansionNode
to retrieve, or null
.type
- The 'Type' of the ExpansionNode
to retrieve, or null
.ExpansionNode
with the specified 'Name', and 'Type',
or null
.getOutputElements()
ExpansionNode getOutputElement(String name, Type type, boolean ignoreCase)
ExpansionNode
with the specified 'Name', and 'Type'
from the 'Output Element' reference list.
name
- The 'Name' of the ExpansionNode
to retrieve, or null
.type
- The 'Type' of the ExpansionNode
to retrieve, or null
.ignoreCase
- Whether to ignore case in String
comparisons.ExpansionNode
with the specified 'Name', and 'Type',
or null
.getOutputElements()
boolean validateExpansionNodes(DiagnosticChain diagnostics, Map context)