org.eclipse.uml2.uml
Interface ExpansionRegion

All Superinterfaces:
Action, ActivityContent, ActivityGroup, ActivityNode, Element, org.eclipse.emf.ecore.EModelElement, org.eclipse.emf.ecore.EObject, ExecutableNode, NamedElement, Namespace, org.eclipse.emf.common.notify.Notifier, RedefinableElement, StructuredActivityNode

public interface ExpansionRegion
extends StructuredActivityNode

A representation of the model object 'Expansion Region'. An ExpansionRegion is a StructuredActivityNode that executes its content multiple times corresponding to elements of input collection(s).

From package UML::Actions.

The following features are supported:

See Also:
UMLPackage.getExpansionRegion()

Field Summary
 
Fields inherited from interface org.eclipse.uml2.uml.NamedElement
SEPARATOR
 
Method Summary
 ExpansionNode getInputElement(java.lang.String name, Type type)
          Retrieves the first ExpansionNode with the specified 'Name', and 'Type' from the 'Input Element' reference list
 ExpansionNode getInputElement(java.lang.String name, Type type, boolean ignoreCase)
          Retrieves the first ExpansionNode with the specified 'Name', and 'Type' from the 'Input Element' reference list
 org.eclipse.emf.common.util.EList<ExpansionNode> getInputElements()
          Returns the value of the 'Input Element' reference list.
 ExpansionKind getMode()
          Returns the value of the 'Mode' attribute.
 ExpansionNode getOutputElement(java.lang.String name, Type type)
          Retrieves the first ExpansionNode with the specified 'Name', and 'Type' from the 'Output Element' reference list
 ExpansionNode getOutputElement(java.lang.String name, Type type, boolean ignoreCase)
          Retrieves the first ExpansionNode with the specified 'Name', and 'Type' from the 'Output Element' reference list
 org.eclipse.emf.common.util.EList<ExpansionNode> getOutputElements()
          Returns the value of the 'Output Element' reference list.
 void setMode(ExpansionKind value)
          Sets the value of the 'Mode' attribute
 
Methods inherited from interface org.eclipse.uml2.uml.StructuredActivityNode
createEdge, createNode, createStructuredNodeInput, createStructuredNodeInput, createStructuredNodeOutput, createVariable, getEdge, getEdge, getEdges, getNode, getNode, getNodes, getStructuredNodeInput, getStructuredNodeInput, getStructuredNodeInputs, getStructuredNodeOutput, getStructuredNodeOutput, getStructuredNodeOutputs, getVariable, getVariable, getVariables, isMustIsolate, setMustIsolate, sourceNodes, targetNodes, validateEdges, validateInputPinEdges, validateOutputPinEdges
 
Methods inherited from interface org.eclipse.uml2.uml.Action
allActions, allOwnedNodes, containingBehavior, createLocalPostcondition, createLocalPostcondition, createLocalPrecondition, createLocalPrecondition, getContext, getInput, getInput, getInputs, getLocalPostcondition, getLocalPostcondition, getLocalPostconditions, getLocalPrecondition, getLocalPrecondition, getLocalPreconditions, getOutput, getOutput, getOutputs, isLocallyReentrant, setIsLocallyReentrant
 
Methods inherited from interface org.eclipse.uml2.uml.ExecutableNode
createHandler, getHandlers
 
Methods inherited from interface org.eclipse.uml2.uml.ActivityNode
getActivity, getIncoming, getIncoming, getIncomings, getInGroup, getInGroup, getInGroups, getInInterruptibleRegion, getInInterruptibleRegion, getInInterruptibleRegions, getInPartition, getInPartition, getInPartitions, getInStructuredNode, getOutgoing, getOutgoing, getOutgoings, getRedefinedNode, getRedefinedNode, getRedefinedNodes, setActivity, setInStructuredNode
 
Methods inherited from interface org.eclipse.uml2.uml.RedefinableElement
getRedefinedElement, getRedefinedElement, getRedefinedElements, getRedefinitionContext, getRedefinitionContext, getRedefinitionContexts, isConsistentWith, isLeaf, isRedefinitionContextValid, setIsLeaf, validateNonLeafRedefinition, validateRedefinitionConsistent, validateRedefinitionContextValid
 
Methods inherited from interface org.eclipse.uml2.uml.NamedElement
allNamespaces, allOwningPackages, createDependency, createNameExpression, createUsage, getClientDependencies, getClientDependency, getClientDependency, getLabel, getLabel, getName, getNameExpression, getNamespace, getQualifiedName, getVisibility, isDistinguishableFrom, isSetName, isSetVisibility, separator, setName, setNameExpression, setVisibility, unsetName, unsetVisibility, validateHasNoQualifiedName, validateHasQualifiedName, validateVisibilityNeedsOwnership
 
Methods inherited from interface org.eclipse.uml2.uml.Element
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
 
Methods inherited from interface org.eclipse.emf.ecore.EModelElement
getEAnnotation, getEAnnotations
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 
Methods inherited from interface org.eclipse.uml2.uml.ActivityContent
containingActivity
 
Methods inherited from interface org.eclipse.uml2.uml.Namespace
createElementImport, createElementImport, createOwnedRule, createOwnedRule, createPackageImport, createPackageImport, excludeCollisions, getElementImport, getElementImport, getElementImports, getImportedElements, getImportedMember, getImportedMember, getImportedMembers, getImportedPackages, getMember, getMember, getMembers, getNamesOfMember, getOwnedMember, getOwnedMember, getOwnedMembers, getOwnedRule, getOwnedRule, getOwnedRules, getPackageImport, getPackageImport, getPackageImports, importMembers, membersAreDistinguishable, validateCannotImportOwnedMembers, validateCannotImportSelf, validateMembersDistinguishable
 
Methods inherited from interface org.eclipse.uml2.uml.ActivityGroup
getContainedEdge, getContainedEdge, getContainedEdges, getContainedNode, getContainedNode, getContainedNodes, getInActivity, getSubgroup, getSubgroup, getSubgroups, getSuperGroup, setInActivity, validateNodesAndEdges, validateNotContained
 

Method Detail

getMode

ExpansionKind getMode()
Returns the value of the 'Mode' attribute. The default value is "iterative". The literals are from the enumeration ExpansionKind. 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.

From package UML::Actions.

Returns:
the value of the 'Mode' attribute.
See Also:
ExpansionKind, setMode(ExpansionKind), UMLPackage.getExpansionRegion_Mode()

setMode

void setMode(ExpansionKind value)
Sets the value of the 'Mode' attribute.

Parameters:
value - the new value of the 'Mode' attribute.
See Also:
ExpansionKind, getMode()

getInputElements

org.eclipse.emf.common.util.EList<ExpansionNode> getInputElements()
Returns the value of the 'Input Element' reference list. The list contents are of type ExpansionNode. It is bidirectional and its opposite is 'Region As Input'. The ExpansionNodes that hold the input collections for the ExpansionRegion.

From package UML::Actions.

Returns:
the value of the 'Input Element' reference list.
See Also:
UMLPackage.getExpansionRegion_InputElement(), ExpansionNode.getRegionAsInput()

getInputElement

ExpansionNode getInputElement(java.lang.String name,
                              Type type)
Retrieves the first ExpansionNode with the specified 'Name', and 'Type' from the 'Input Element' reference list.

Parameters:
name - The 'Name' of the ExpansionNode to retrieve, or null.
type - The 'Type' of the ExpansionNode to retrieve, or null.
Returns:
The first ExpansionNode with the specified 'Name', and 'Type', or null.
See Also:
getInputElements()

getInputElement

ExpansionNode getInputElement(java.lang.String name,
                              Type type,
                              boolean ignoreCase)
Retrieves the first ExpansionNode with the specified 'Name', and 'Type' from the 'Input Element' reference list.

Parameters:
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.
Returns:
The first ExpansionNode with the specified 'Name', and 'Type', or null.
See Also:
getInputElements()

getOutputElements

org.eclipse.emf.common.util.EList<ExpansionNode> getOutputElements()
Returns the value of the 'Output Element' reference list. The list contents are of type ExpansionNode. It is bidirectional and its opposite is 'Region As Output'. The ExpansionNodes that form the output collections of the ExpansionRegion.

From package UML::Actions.

Returns:
the value of the 'Output Element' reference list.
See Also:
UMLPackage.getExpansionRegion_OutputElement(), ExpansionNode.getRegionAsOutput()

getOutputElement

ExpansionNode getOutputElement(java.lang.String name,
                               Type type)
Retrieves the first ExpansionNode with the specified 'Name', and 'Type' from the 'Output Element' reference list.

Parameters:
name - The 'Name' of the ExpansionNode to retrieve, or null.
type - The 'Type' of the ExpansionNode to retrieve, or null.
Returns:
The first ExpansionNode with the specified 'Name', and 'Type', or null.
See Also:
getOutputElements()

getOutputElement

ExpansionNode getOutputElement(java.lang.String name,
                               Type type,
                               boolean ignoreCase)
Retrieves the first ExpansionNode with the specified 'Name', and 'Type' from the 'Output Element' reference list.

Parameters:
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.
Returns:
The first ExpansionNode with the specified 'Name', and 'Type', or null.
See Also:
getOutputElements()

Copyright 2003, 2014 IBM Corporation, CEA, and others.
All Rights Reserved.