|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ExpansionRegion
A representation of the model object 'Expansion Region'. An expansion region is a structured activity region that executes multiple times corresponding to elements of an input collection.
The following features are supported:
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 |
boolean |
validateExpansionNodes(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context)
An ExpansionRegion must have one or more argument ExpansionNodes and zero or more result ExpansionNodes. |
Methods inherited from interface org.eclipse.uml2.uml.StructuredActivityNode |
---|
createEdge, createNode, createVariable, getEdge, getEdge, getEdges, getNode, getNode, getNodes, getVariable, getVariable, getVariables, isMustIsolate, setMustIsolate, validateEdges |
Methods inherited from interface org.eclipse.uml2.uml.Action |
---|
createLocalPostcondition, createLocalPostcondition, createLocalPrecondition, createLocalPrecondition, getContext, getInput, getInput, getInputs, getLocalPostcondition, getLocalPostcondition, getLocalPostconditions, getLocalPrecondition, getLocalPrecondition, getLocalPreconditions, getOutput, getOutput, getOutputs |
Methods inherited from interface org.eclipse.uml2.uml.ExecutableNode |
---|
createHandler, getHandlers |
Methods inherited from interface org.eclipse.uml2.uml.ActivityNode |
---|
getActivity, getIncoming, getIncoming, getIncomings, getInGroups, getInInterruptibleRegions, getInPartition, getInPartition, getInPartitions, getInStructuredNode, getOutgoing, getOutgoing, getOutgoings, getRedefinedNode, getRedefinedNode, getRedefinedNodes, setActivity, setInStructuredNode, validateOwned, validateOwnedStructuredNode |
Methods inherited from interface org.eclipse.uml2.uml.RedefinableElement |
---|
getRedefinedElement, getRedefinedElement, getRedefinedElements, getRedefinitionContext, getRedefinitionContext, getRedefinitionContexts, isConsistentWith, isLeaf, isRedefinitionContextValid, setIsLeaf, 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.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.ActivityGroup |
---|
getContainedEdge, getContainedEdge, getContainedEdges, getContainedNode, getContainedNode, getContainedNodes, getInActivity, getSubgroups, getSuperGroup, setInActivity, validateGroupOwned, validateNodesAndEdges, validateNotContained |
Method Detail |
---|
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()
org.eclipse.emf.common.util.EList<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(java.lang.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(java.lang.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()
org.eclipse.emf.common.util.EList<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(java.lang.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(java.lang.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(org.eclipse.emf.common.util.DiagnosticChain diagnostics, java.util.Map<java.lang.Object,java.lang.Object> context)
diagnostics
- The chain of diagnostics to which problems are to be appended.context
- The cache of context-specific information.
|
Copyright 2003, 2007 IBM Corporation and others. All Rights Reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |