public interface Action extends ExecutableNode
From package UML::Actions.
The following features are supported:
UMLPackage.getAction()
SEPARATOR
Modifier and Type | Method and Description |
---|---|
org.eclipse.emf.common.util.EList<Action> |
allActions()
Return this Action and all Actions contained directly or indirectly in it.
|
org.eclipse.emf.common.util.EList<ActivityNode> |
allOwnedNodes()
Returns all the ActivityNodes directly or indirectly owned by this Action.
|
Behavior |
containingBehavior()
result = (if inStructuredNode<>null then inStructuredNode.containingBehavior()
else if activity<>null then activity
else interaction
endif
endif
)
From package UML::Actions.
|
Constraint |
createLocalPostcondition(java.lang.String name)
Creates a new
Constraint , with the specified 'Name', and appends it to the 'Local Postcondition' containment reference list |
Constraint |
createLocalPostcondition(java.lang.String name,
org.eclipse.emf.ecore.EClass eClass)
Creates a new
Constraint , with the specified 'Name', and appends it to the 'Local Postcondition' containment reference list |
Constraint |
createLocalPrecondition(java.lang.String name)
Creates a new
Constraint , with the specified 'Name', and appends it to the 'Local Precondition' containment reference list |
Constraint |
createLocalPrecondition(java.lang.String name,
org.eclipse.emf.ecore.EClass eClass)
Creates a new
Constraint , with the specified 'Name', and appends it to the 'Local Precondition' containment reference list |
Classifier |
getContext()
Returns the value of the 'Context' reference
|
InputPin |
getInput(java.lang.String name,
Type type)
Retrieves the first
InputPin with the specified 'Name', and 'Type' from the 'Input' reference list |
InputPin |
getInput(java.lang.String name,
Type type,
boolean ignoreCase,
org.eclipse.emf.ecore.EClass eClass)
Retrieves the first
InputPin with the specified 'Name', and 'Type' from the 'Input' reference list |
org.eclipse.emf.common.util.EList<InputPin> |
getInputs()
Returns the value of the 'Input' reference list.
|
Constraint |
getLocalPostcondition(java.lang.String name)
Retrieves the first
Constraint with the specified 'Name' from the 'Local Postcondition' containment reference list |
Constraint |
getLocalPostcondition(java.lang.String name,
boolean ignoreCase,
org.eclipse.emf.ecore.EClass eClass,
boolean createOnDemand)
Retrieves the first
Constraint with the specified 'Name' from the 'Local Postcondition' containment reference list |
org.eclipse.emf.common.util.EList<Constraint> |
getLocalPostconditions()
Returns the value of the 'Local Postcondition' containment reference list.
|
Constraint |
getLocalPrecondition(java.lang.String name)
Retrieves the first
Constraint with the specified 'Name' from the 'Local Precondition' containment reference list |
Constraint |
getLocalPrecondition(java.lang.String name,
boolean ignoreCase,
org.eclipse.emf.ecore.EClass eClass,
boolean createOnDemand)
Retrieves the first
Constraint with the specified 'Name' from the 'Local Precondition' containment reference list |
org.eclipse.emf.common.util.EList<Constraint> |
getLocalPreconditions()
Returns the value of the 'Local Precondition' containment reference list.
|
OutputPin |
getOutput(java.lang.String name,
Type type)
Retrieves the first
OutputPin with the specified 'Name', and 'Type' from the 'Output' reference list |
OutputPin |
getOutput(java.lang.String name,
Type type,
boolean ignoreCase)
Retrieves the first
OutputPin with the specified 'Name', and 'Type' from the 'Output' reference list |
org.eclipse.emf.common.util.EList<OutputPin> |
getOutputs()
Returns the value of the 'Output' reference list.
|
boolean |
isLocallyReentrant()
Returns the value of the 'Is Locally Reentrant' attribute.
|
void |
setIsLocallyReentrant(boolean value)
Sets the value of the '
Is Locally Reentrant ' attribute |
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
org.eclipse.emf.common.util.EList<OutputPin> getOutputs()
OutputPin
.
This feature subsets the following features:
This feature is a derived union. The ordered set of OutputPins representing outputs from the Action.From package UML::Actions.
UMLPackage.getAction_Output()
OutputPin getOutput(java.lang.String name, Type type)
OutputPin
with the specified 'Name', and 'Type' from the 'Output' 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
.getOutputs()
OutputPin getOutput(java.lang.String name, Type type, boolean ignoreCase)
OutputPin
with the specified 'Name', and 'Type' from the 'Output' 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.OutputPin
with the specified 'Name', and 'Type', or null
.getOutputs()
org.eclipse.emf.common.util.EList<Action> allActions()
From package UML::Actions.
org.eclipse.emf.common.util.EList<ActivityNode> allOwnedNodes()
From package UML::Actions.
Behavior containingBehavior()
From package UML::Actions.
org.eclipse.emf.common.util.EList<InputPin> getInputs()
InputPin
.
This feature subsets the following features:
This feature is a derived union. The ordered set of InputPins representing the inputs to the Action.From package UML::Actions.
UMLPackage.getAction_Input()
InputPin getInput(java.lang.String name, Type type)
InputPin
with the specified 'Name', and 'Type' from the 'Input' 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
.getInputs()
InputPin getInput(java.lang.String name, Type type, boolean ignoreCase, org.eclipse.emf.ecore.EClass eClass)
InputPin
with the specified 'Name', and 'Type' from the 'Input' 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
.InputPin
with the specified 'Name', and 'Type', or null
.getInputs()
boolean isLocallyReentrant()
"false"
.
If true, the Action can begin a new, concurrent execution, even if there is already another execution of the Action ongoing. If false, the Action cannot begin a new execution until any previous execution has completed.
From package UML::Actions.
setIsLocallyReentrant(boolean)
,
UMLPackage.getAction_IsLocallyReentrant()
void setIsLocallyReentrant(boolean value)
Is Locally Reentrant
' attribute.
value
- the new value of the 'Is Locally Reentrant' attribute.isLocallyReentrant()
Classifier getContext()
From package UML::Actions.
UMLPackage.getAction_Context()
org.eclipse.emf.common.util.EList<Constraint> getLocalPreconditions()
Constraint
.
This feature subsets the following features:
A Constraint that must be satisfied when execution of the Action is started.From package UML::Actions.
UMLPackage.getAction_LocalPrecondition()
Constraint createLocalPrecondition(java.lang.String name, org.eclipse.emf.ecore.EClass eClass)
Constraint
, with the specified 'Name', and appends it to the 'Local Precondition' containment reference list.
name
- The 'Name' for the new Constraint
, or null
.eClass
- The Ecore class of the Constraint
to create.Constraint
.getLocalPreconditions()
Constraint createLocalPrecondition(java.lang.String name)
Constraint
, with the specified 'Name', and appends it to the 'Local Precondition' containment reference list.
name
- The 'Name' for the new Constraint
, or null
.Constraint
.getLocalPreconditions()
Constraint getLocalPrecondition(java.lang.String name)
Constraint
with the specified 'Name' from the 'Local Precondition' containment reference list.
name
- The 'Name' of the Constraint
to retrieve, or null
.Constraint
with the specified 'Name', or null
.getLocalPreconditions()
Constraint getLocalPrecondition(java.lang.String name, boolean ignoreCase, org.eclipse.emf.ecore.EClass eClass, boolean createOnDemand)
Constraint
with the specified 'Name' from the 'Local Precondition' containment reference list.
name
- The 'Name' of the Constraint
to retrieve, or null
.ignoreCase
- Whether to ignore case in String
comparisons.eClass
- The Ecore class of the Constraint
to retrieve, or null
.createOnDemand
- Whether to create a Constraint
on demand if not found.Constraint
with the specified 'Name', or null
.getLocalPreconditions()
org.eclipse.emf.common.util.EList<Constraint> getLocalPostconditions()
Constraint
.
This feature subsets the following features:
A Constraint that must be satisfied when execution of the Action is completed.From package UML::Actions.
UMLPackage.getAction_LocalPostcondition()
Constraint createLocalPostcondition(java.lang.String name, org.eclipse.emf.ecore.EClass eClass)
Constraint
, with the specified 'Name', and appends it to the 'Local Postcondition' containment reference list.
name
- The 'Name' for the new Constraint
, or null
.eClass
- The Ecore class of the Constraint
to create.Constraint
.getLocalPostconditions()
Constraint createLocalPostcondition(java.lang.String name)
Constraint
, with the specified 'Name', and appends it to the 'Local Postcondition' containment reference list.
name
- The 'Name' for the new Constraint
, or null
.Constraint
.getLocalPostconditions()
Constraint getLocalPostcondition(java.lang.String name)
Constraint
with the specified 'Name' from the 'Local Postcondition' containment reference list.
name
- The 'Name' of the Constraint
to retrieve, or null
.Constraint
with the specified 'Name', or null
.getLocalPostconditions()
Constraint getLocalPostcondition(java.lang.String name, boolean ignoreCase, org.eclipse.emf.ecore.EClass eClass, boolean createOnDemand)
Constraint
with the specified 'Name' from the 'Local Postcondition' containment reference list.
name
- The 'Name' of the Constraint
to retrieve, or null
.ignoreCase
- Whether to ignore case in String
comparisons.eClass
- The Ecore class of the Constraint
to retrieve, or null
.createOnDemand
- Whether to create a Constraint
on demand if not found.Constraint
with the specified 'Name', or null
.getLocalPostconditions()