public interface StructuredActivityNode extends Action, Namespace, ActivityGroup
The following features are supported:
UMLPackage.getStructuredActivityNode()
SEPARATOR
Modifier and Type | Method and Description |
---|---|
ActivityEdge |
createEdge(String name,
EClass eClass)
Creates a new
ActivityEdge , with the specified 'Name', and appends it to the '
Edge' containment reference list |
ActivityNode |
createNode(String name,
EClass eClass)
Creates a new
ActivityNode , with the specified 'Name', and appends it to the '
Node' containment reference list |
InputPin |
createStructuredNodeInput(String name,
Type type)
Creates an
Input Pin linked to the current
Structured Activity Node . |
InputPin |
createStructuredNodeInput(String name,
Type type,
EClass eClass)
Creates an
Input Pin linked to the current
Structured Activity Node . |
OutputPin |
createStructuredNodeOutput(String name,
Type type)
Creates an
Input Pin linked to the current
Structured Activity Node . |
Variable |
createVariable(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(String name)
Retrieves the first
ActivityEdge with the specified 'Name' from the '
Edge' containment reference list |
ActivityEdge |
getEdge(String name,
boolean ignoreCase,
EClass eClass,
boolean createOnDemand)
Retrieves the first
ActivityEdge with the specified 'Name' from the '
Edge' containment reference list |
MDWEList<ActivityEdge> |
getEdges()
Returns the value of the 'Edge' containment reference list.
|
ActivityNode |
getNode(String name)
Retrieves the first
ActivityNode with the specified 'Name' from the '
Node' containment reference list |
ActivityNode |
getNode(String name,
boolean ignoreCase,
EClass eClass,
boolean createOnDemand)
Retrieves the first
ActivityNode with the specified 'Name' from the '
Node' containment reference list |
MDWEList<ActivityNode> |
getNodes()
Returns the value of the 'Node' containment reference list.
|
InputPin |
getStructuredNodeInput(String name,
Type type)
Returns the
Input Pin linked to the current
Structured Activity Node called 'name' and
typed 'type'. |
InputPin |
getStructuredNodeInput(String name,
Type type,
boolean ignoreCase,
EClass eClass,
boolean createOnDemand)
Returns the
Input Pin linked to the current
Structured Activity Node called 'name' and
typed 'type'. |
MDWEList<InputPin> |
getStructuredNodeInputs()
Returns the list of
Input Pins linked to the current
Structured Activity Node . |
OutputPin |
getStructuredNodeOutput(String name,
Type type)
Returns the
Output Pin linked to the current
Structured Activity Node called 'name' and
typed 'type'. |
OutputPin |
getStructuredNodeOutput(String name,
Type type,
boolean ignoreCase,
boolean createOnDemand)
Returns the
Output Pin linked to the current
Structured Activity Node called 'name' and
typed 'type'. |
MDWEList<OutputPin> |
getStructuredNodeOutputs()
Returns the list of
Output Pins linked to the current
Structured Activity Node . |
Variable |
getVariable(String name,
Type type)
Retrieves the first
Variable with the specified 'Name', and 'Type' from
the 'Variable' containment reference list |
Variable |
getVariable(String name,
Type type,
boolean ignoreCase,
boolean createOnDemand)
Retrieves the first
Variable with the specified 'Name', and 'Type' from
the 'Variable' containment reference list |
MDWEList<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 |
boolean |
validateEdges(DiagnosticChain diagnostics,
Map context)
The edges owned by a structured node must have source and target nodes in the structured node, and vice versa.
|
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
MDWEList<Variable> getVariables()
Variable
.
It is bidirectional and its opposite is 'Scope
'.
A variable defined in the scope of the structured activity node. It has no value and may not be accessed
UMLPackage.getStructuredActivityNode_Variable()
,
Variable.getScope()
Variable createVariable(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(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(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()
MDWEList<ActivityNode> getNodes()
ActivityNode
.
It is bidirectional and its opposite is 'In Structured Node
'.
Nodes immediately contained in the group.
UMLPackage.getStructuredActivityNode_Node()
,
ActivityNode.getInStructuredNode()
ActivityNode createNode(String name, 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(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(String name, boolean ignoreCase, 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()
boolean isMustIsolate()
"false"
.
If true, then the actions in the node execute in isolation from actions outside the node.
setMustIsolate(boolean)
,
UMLPackage.getStructuredActivityNode_MustIsolate()
void setMustIsolate(boolean value)
Must Isolate
' attribute.
value
- the new value of the 'Must Isolate' attribute.isMustIsolate()
MDWEList<ActivityEdge> getEdges()
ActivityEdge
.
It is bidirectional and its opposite is 'In Structured Node
'.
Edges immediately contained in the structured node.
UMLPackage.getStructuredActivityNode_Edge()
,
ActivityEdge.getInStructuredNode()
ActivityEdge createEdge(String name, 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(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(String name, boolean ignoreCase, 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 validateEdges(DiagnosticChain diagnostics, Map context)
MDWEList<InputPin> getStructuredNodeInputs()
Input Pins
linked to the current
Structured Activity Node
.MDWEList<OutputPin> getStructuredNodeOutputs()
Output Pins
linked to the current
Structured Activity Node
.InputPin createStructuredNodeInput(String name, Type type)
name
- the name of the InputPin createdtype
- the type of the InputPin createdTypedElement.getType()
InputPin createStructuredNodeInput(String name, Type type, EClass eClass)
name
- the name of the InputPin createdtype
- the type of the InputPin createdeClass
- the kind of InputPin created : InputPin, ActionInputPin or ValuePinTypedElement.getType()
OutputPin createStructuredNodeOutput(String name, Type type)
name
- the name of the OutputPin createdtype
- the type of the OutputPin createdTypedElement.getType()
InputPin getStructuredNodeInput(String name, Type type)
Input Pin
linked to the current
Structured Activity Node
called 'name' and
typed
'type'.
Returns null if no corresponding InputPin found.name
- the name of the InputPintype
- the type of the InputPinTypedElement.getType()
InputPin getStructuredNodeInput(String name, Type type, boolean ignoreCase, EClass eClass, boolean createOnDemand)
Input Pin
linked to the current
Structured Activity Node
called 'name' and
typed
'type'.
name
- the name of the InputPintype
- the type of the InputPinignoreCase
- boolean to determine if the case is ignored or notcreateOnDemand
- boolean to determine if a new InputPin is createdTypedElement.getType()
OutputPin getStructuredNodeOutput(String name, Type type)
Output Pin
linked to the current
Structured Activity Node
called 'name' and
typed
'type'.
Returns null if no corresponding OutputPin found.name
- the name of the OutputPintype
- the type of the OutputPinTypedElement.getType()
OutputPin getStructuredNodeOutput(String name, Type type, boolean ignoreCase, boolean createOnDemand)
Output Pin
linked to the current
Structured Activity Node
called 'name' and
typed
'type'.
name
- the name of the OutputPintype
- the type of the OutputPinignoreCase
- boolean to determine if the case is ignored or notcreateOnDemand
- boolean to determine if a new OutputPin is createdTypedElement.getType()