public interface StructuredActivityNode extends Action, Namespace, ActivityGroup
From package UML::Actions.
The following features are supported:
UMLPackage.getStructuredActivityNode()
SEPARATOR
Modifier and Type | Method and Description |
---|---|
ActivityEdge |
createEdge(java.lang.String name,
org.eclipse.emf.ecore.EClass eClass)
Creates a new
ActivityEdge , with the specified 'Name', and appends it to the 'Edge' containment reference list |
ActivityNode |
createNode(java.lang.String name,
org.eclipse.emf.ecore.EClass eClass)
Creates a new
ActivityNode , with the specified 'Name', and appends it to the 'Node' containment reference list |
InputPin |
createStructuredNodeInput(java.lang.String name,
Type type)
Creates a new
InputPin , with the specified 'Name', and 'Type', and appends it to the 'Structured Node Input' containment reference list |
InputPin |
createStructuredNodeInput(java.lang.String name,
Type type,
org.eclipse.emf.ecore.EClass eClass)
Creates a new
InputPin , with the specified 'Name', and 'Type', and appends it to the 'Structured Node Input' containment reference list |
OutputPin |
createStructuredNodeOutput(java.lang.String name,
Type type)
Creates a new
OutputPin , with the specified 'Name', and 'Type', and appends it to the 'Structured Node Output' containment reference list |
Variable |
createVariable(java.lang.String name,
Type type)
Creates a new
Variable , with the specified 'Name', and 'Type', and appends it to the 'Variable' containment reference list |
ActivityEdge |
getEdge(java.lang.String name)
Retrieves the first
ActivityEdge with the specified 'Name' from the 'Edge' containment reference list |
ActivityEdge |
getEdge(java.lang.String name,
boolean ignoreCase,
org.eclipse.emf.ecore.EClass eClass,
boolean createOnDemand)
Retrieves the first
ActivityEdge with the specified 'Name' from the 'Edge' containment reference list |
org.eclipse.emf.common.util.EList<ActivityEdge> |
getEdges()
Returns the value of the 'Edge' containment reference list.
|
ActivityNode |
getNode(java.lang.String name)
Retrieves the first
ActivityNode with the specified 'Name' from the 'Node' containment reference list |
ActivityNode |
getNode(java.lang.String name,
boolean ignoreCase,
org.eclipse.emf.ecore.EClass eClass,
boolean createOnDemand)
Retrieves the first
ActivityNode with the specified 'Name' from the 'Node' containment reference list |
org.eclipse.emf.common.util.EList<ActivityNode> |
getNodes()
Returns the value of the 'Node' containment reference list.
|
InputPin |
getStructuredNodeInput(java.lang.String name,
Type type)
Retrieves the first
InputPin with the specified 'Name', and 'Type' from the 'Structured Node Input' containment reference list |
InputPin |
getStructuredNodeInput(java.lang.String name,
Type type,
boolean ignoreCase,
org.eclipse.emf.ecore.EClass eClass,
boolean createOnDemand)
Retrieves the first
InputPin with the specified 'Name', and 'Type' from the 'Structured Node Input' containment reference list |
org.eclipse.emf.common.util.EList<InputPin> |
getStructuredNodeInputs()
Returns the value of the 'Structured Node Input' containment reference list.
|
OutputPin |
getStructuredNodeOutput(java.lang.String name,
Type type)
Retrieves the first
OutputPin with the specified 'Name', and 'Type' from the 'Structured Node Output' containment reference list |
OutputPin |
getStructuredNodeOutput(java.lang.String name,
Type type,
boolean ignoreCase,
boolean createOnDemand)
Retrieves the first
OutputPin with the specified 'Name', and 'Type' from the 'Structured Node Output' containment reference list |
org.eclipse.emf.common.util.EList<OutputPin> |
getStructuredNodeOutputs()
Returns the value of the 'Structured Node Output' containment reference list.
|
Variable |
getVariable(java.lang.String name,
Type type)
Retrieves the first
Variable with the specified 'Name', and 'Type' from the 'Variable' containment reference list |
Variable |
getVariable(java.lang.String name,
Type type,
boolean ignoreCase,
boolean createOnDemand)
Retrieves the first
Variable with the specified 'Name', and 'Type' from the 'Variable' containment reference list |
org.eclipse.emf.common.util.EList<Variable> |
getVariables()
Returns the value of the 'Variable' containment reference list.
|
boolean |
isMustIsolate()
Returns the value of the 'Must Isolate' attribute.
|
void |
setMustIsolate(boolean value)
Sets the value of the '
Must Isolate ' attribute |
org.eclipse.emf.common.util.EList<ActivityNode> |
sourceNodes()
Return those ActivityNodes contained immediately within the StructuredActivityNode that may act as sources of edges owned by the StructuredActivityNode.
|
org.eclipse.emf.common.util.EList<ActivityNode> |
targetNodes()
Return those ActivityNodes contained immediately within the StructuredActivityNode that may act as targets of edges owned by the StructuredActivityNode.
|
boolean |
validateEdges(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context)
The edges of a StructuredActivityNode are all the ActivityEdges with source and target ActivityNodes contained directly or indirectly within the StructuredActivityNode and at least one of the source or target not contained in any more deeply nested StructuredActivityNode.
|
boolean |
validateInputPinEdges(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context)
The incoming ActivityEdges of an InputPin of a StructuredActivityNode must have sources that are not within the StructuredActivityNode.
|
boolean |
validateOutputPinEdges(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context)
The outgoing ActivityEdges of the OutputPins of a StructuredActivityNode must have targets that are not within the StructuredActivityNode.
|
allActions, allOwnedNodes, containingBehavior, createLocalPostcondition, createLocalPostcondition, createLocalPrecondition, createLocalPrecondition, getContext, getInput, getInput, getInputs, getLocalPostcondition, getLocalPostcondition, getLocalPostconditions, getLocalPrecondition, getLocalPrecondition, getLocalPreconditions, getOutput, getOutput, getOutputs, isLocallyReentrant, setIsLocallyReentrant
createHandler, getHandlers
getActivity, getIncoming, getIncoming, getIncomings, getInGroup, getInGroup, getInGroups, getInInterruptibleRegion, getInInterruptibleRegion, getInInterruptibleRegions, getInPartition, getInPartition, getInPartitions, getInStructuredNode, getOutgoing, getOutgoing, getOutgoings, getRedefinedNode, getRedefinedNode, getRedefinedNodes, setActivity, setInStructuredNode
getRedefinedElement, getRedefinedElement, getRedefinedElements, getRedefinitionContext, getRedefinitionContext, getRedefinitionContexts, isConsistentWith, isLeaf, isRedefinitionContextValid, setIsLeaf, validateNonLeafRedefinition, validateRedefinitionConsistent, validateRedefinitionContextValid
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
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
getEAnnotation, getEAnnotations
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
eAdapters, eDeliver, eNotify, eSetDeliver
containingActivity
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
getContainedEdge, getContainedEdge, getContainedEdges, getContainedNode, getContainedNode, getContainedNodes, getInActivity, getSubgroup, getSubgroup, getSubgroups, getSuperGroup, setInActivity, validateNodesAndEdges, validateNotContained
org.eclipse.emf.common.util.EList<Variable> getVariables()
Variable
.
It is bidirectional and its opposite is 'Scope
'.
This feature subsets the following features:
The Variables defined in the scope of the StructuredActivityNode.From package UML::Actions.
UMLPackage.getStructuredActivityNode_Variable()
,
Variable.getScope()
Variable createVariable(java.lang.String name, Type type)
Variable
, with the specified 'Name', and 'Type', and appends it to the 'Variable' containment reference list.
name
- The 'Name' for the new Variable
, or null
.type
- The 'Type' for the new Variable
, or null
.Variable
.getVariables()
Variable getVariable(java.lang.String name, Type type)
Variable
with the specified 'Name', and 'Type' from the 'Variable' containment reference list.
name
- The 'Name' of the Variable
to retrieve, or null
.type
- The 'Type' of the Variable
to retrieve, or null
.Variable
with the specified 'Name', and 'Type', or null
.getVariables()
Variable getVariable(java.lang.String name, Type type, boolean ignoreCase, boolean createOnDemand)
Variable
with the specified 'Name', and 'Type' from the 'Variable' containment reference list.
name
- The 'Name' of the Variable
to retrieve, or null
.type
- The 'Type' of the Variable
to retrieve, or null
.ignoreCase
- Whether to ignore case in String
comparisons.createOnDemand
- Whether to create a Variable
on demand if not found.Variable
with the specified 'Name', and 'Type', or null
.getVariables()
org.eclipse.emf.common.util.EList<ActivityNode> getNodes()
ActivityNode
.
It is bidirectional and its opposite is 'In Structured Node
'.
This feature subsets the following features:
The ActivityNodes immediately contained in the StructuredActivityNode.From package UML::Actions.
UMLPackage.getStructuredActivityNode_Node()
,
ActivityNode.getInStructuredNode()
ActivityNode createNode(java.lang.String name, org.eclipse.emf.ecore.EClass eClass)
ActivityNode
, with the specified 'Name', and appends it to the 'Node' containment reference list.
name
- The 'Name' for the new ActivityNode
, or null
.eClass
- The Ecore class of the ActivityNode
to create.ActivityNode
.getNodes()
ActivityNode getNode(java.lang.String name)
ActivityNode
with the specified 'Name' from the 'Node' containment reference list.
name
- The 'Name' of the ActivityNode
to retrieve, or null
.ActivityNode
with the specified 'Name', or null
.getNodes()
ActivityNode getNode(java.lang.String name, boolean ignoreCase, org.eclipse.emf.ecore.EClass eClass, boolean createOnDemand)
ActivityNode
with the specified 'Name' from the 'Node' containment reference list.
name
- The 'Name' of the ActivityNode
to retrieve, or null
.ignoreCase
- Whether to ignore case in String
comparisons.eClass
- The Ecore class of the ActivityNode
to retrieve, or null
.createOnDemand
- Whether to create a ActivityNode
on demand if not found.ActivityNode
with the specified 'Name', or null
.getNodes()
org.eclipse.emf.common.util.EList<InputPin> getStructuredNodeInputs()
InputPin
.
This feature subsets the following features:
Input
'If the meaning of the 'Structured Node Input' containment reference list isn't clear, there really should be more of a description here...
The InputPins owned by the StructuredActivityNode.From package UML::Actions.
UMLPackage.getStructuredActivityNode_StructuredNodeInput()
InputPin createStructuredNodeInput(java.lang.String name, Type type, org.eclipse.emf.ecore.EClass eClass)
InputPin
, with the specified 'Name', and 'Type', and appends it to the 'Structured Node Input' containment reference list.
name
- The 'Name' for the new InputPin
, or null
.type
- The 'Type' for the new InputPin
, or null
.eClass
- The Ecore class of the InputPin
to create.InputPin
.getStructuredNodeInputs()
InputPin createStructuredNodeInput(java.lang.String name, Type type)
InputPin
, with the specified 'Name', and 'Type', and appends it to the 'Structured Node Input' containment reference list.
name
- The 'Name' for the new InputPin
, or null
.type
- The 'Type' for the new InputPin
, or null
.InputPin
.getStructuredNodeInputs()
InputPin getStructuredNodeInput(java.lang.String name, Type type)
InputPin
with the specified 'Name', and 'Type' from the 'Structured Node Input' containment reference list.
name
- The 'Name' of the InputPin
to retrieve, or null
.type
- The 'Type' of the InputPin
to retrieve, or null
.InputPin
with the specified 'Name', and 'Type', or null
.getStructuredNodeInputs()
InputPin getStructuredNodeInput(java.lang.String name, Type type, boolean ignoreCase, org.eclipse.emf.ecore.EClass eClass, boolean createOnDemand)
InputPin
with the specified 'Name', and 'Type' from the 'Structured Node Input' containment reference list.
name
- The 'Name' of the InputPin
to retrieve, or null
.type
- The 'Type' of the InputPin
to retrieve, or null
.ignoreCase
- Whether to ignore case in String
comparisons.eClass
- The Ecore class of the InputPin
to retrieve, or null
.createOnDemand
- Whether to create a InputPin
on demand if not found.InputPin
with the specified 'Name', and 'Type', or null
.getStructuredNodeInputs()
org.eclipse.emf.common.util.EList<OutputPin> getStructuredNodeOutputs()
OutputPin
.
This feature subsets the following features:
Output
'If the meaning of the 'Structured Node Output' containment reference list isn't clear, there really should be more of a description here...
The OutputPins owned by the StructuredActivityNode.From package UML::Actions.
UMLPackage.getStructuredActivityNode_StructuredNodeOutput()
OutputPin createStructuredNodeOutput(java.lang.String name, Type type)
OutputPin
, with the specified 'Name', and 'Type', and appends it to the 'Structured Node Output' containment reference list.
name
- The 'Name' for the new OutputPin
, or null
.type
- The 'Type' for the new OutputPin
, or null
.OutputPin
.getStructuredNodeOutputs()
OutputPin getStructuredNodeOutput(java.lang.String name, Type type)
OutputPin
with the specified 'Name', and 'Type' from the 'Structured Node Output' containment reference list.
name
- The 'Name' of the OutputPin
to retrieve, or null
.type
- The 'Type' of the OutputPin
to retrieve, or null
.OutputPin
with the specified 'Name', and 'Type', or null
.getStructuredNodeOutputs()
OutputPin getStructuredNodeOutput(java.lang.String name, Type type, boolean ignoreCase, boolean createOnDemand)
OutputPin
with the specified 'Name', and 'Type' from the 'Structured Node Output' containment reference list.
name
- The 'Name' of the OutputPin
to retrieve, or null
.type
- The 'Type' of the OutputPin
to retrieve, or null
.ignoreCase
- Whether to ignore case in String
comparisons.createOnDemand
- Whether to create a OutputPin
on demand if not found.OutputPin
with the specified 'Name', and 'Type', or null
.getStructuredNodeOutputs()
boolean isMustIsolate()
"false"
.
If true, then any object used by an Action within the StructuredActivityNode cannot be accessed by any Action outside the node until the StructuredActivityNode as a whole completes. Any concurrent Actions that would result in accessing such objects are required to have their execution deferred until the completion of the StructuredActivityNode.
From package UML::Actions.
setMustIsolate(boolean)
,
UMLPackage.getStructuredActivityNode_MustIsolate()
void setMustIsolate(boolean value)
Must Isolate
' attribute.
value
- the new value of the 'Must Isolate' attribute.isMustIsolate()
org.eclipse.emf.common.util.EList<ActivityEdge> getEdges()
ActivityEdge
.
It is bidirectional and its opposite is 'In Structured Node
'.
This feature subsets the following features:
The ActivityEdges immediately contained in the StructuredActivityNode.From package UML::Actions.
UMLPackage.getStructuredActivityNode_Edge()
,
ActivityEdge.getInStructuredNode()
ActivityEdge createEdge(java.lang.String name, org.eclipse.emf.ecore.EClass eClass)
ActivityEdge
, with the specified 'Name', and appends it to the 'Edge' containment reference list.
name
- The 'Name' for the new ActivityEdge
, or null
.eClass
- The Ecore class of the ActivityEdge
to create.ActivityEdge
.getEdges()
ActivityEdge getEdge(java.lang.String name)
ActivityEdge
with the specified 'Name' from the 'Edge' containment reference list.
name
- The 'Name' of the ActivityEdge
to retrieve, or null
.ActivityEdge
with the specified 'Name', or null
.getEdges()
ActivityEdge getEdge(java.lang.String name, boolean ignoreCase, org.eclipse.emf.ecore.EClass eClass, boolean createOnDemand)
ActivityEdge
with the specified 'Name' from the 'Edge' containment reference list.
name
- The 'Name' of the ActivityEdge
to retrieve, or null
.ignoreCase
- Whether to ignore case in String
comparisons.eClass
- The Ecore class of the ActivityEdge
to retrieve, or null
.createOnDemand
- Whether to create a ActivityEdge
on demand if not found.ActivityEdge
with the specified 'Name', or null
.getEdges()
boolean validateOutputPinEdges(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.
boolean validateEdges(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.
boolean validateInputPinEdges(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.
org.eclipse.emf.common.util.EList<ActivityNode> sourceNodes()
From package UML::Actions.
org.eclipse.emf.common.util.EList<ActivityNode> targetNodes()
From package UML::Actions.