public interface Action extends ExecutableNode
An Action is the fundamental unit of executable functionality. The execution of an Action represents some transformation or processing in the modeled system. Actions provide the ExecutableNodes within Activities and may also be used within Interactions.
The following features are supported:
UMLPackage.getAction()
Modifier and Type | Method and Description |
---|---|
java.util.Collection<ActionExecutionSpecification> |
get_actionExecutionSpecificationOfAction()
Returns the value of the 'action Execution Specification Of Action' reference list.
|
ActionInputPin |
get_actionInputPinOfFromAction()
Returns the value of the 'action Input Pin Of From Action' container reference.
|
Interaction |
get_interactionOfAction()
Returns the value of the 'interaction Of Action' container reference.
|
Classifier |
getContext()
Returns the value of the 'Context' reference.
|
java.util.List<InputPin> |
getInput()
Returns the value of the 'Input' reference list.
|
java.util.Collection<Constraint> |
getLocalPostcondition()
Returns the value of the 'Local Postcondition' containment reference list.
|
java.util.Collection<Constraint> |
getLocalPrecondition()
Returns the value of the 'Local Precondition' containment reference list.
|
java.util.List<OutputPin> |
getOutput()
Returns the value of the 'Output' reference list.
|
boolean |
has_actionExecutionSpecificationOfAction() |
boolean |
hasInput() |
boolean |
hasLocalPostcondition() |
boolean |
hasLocalPrecondition() |
boolean |
hasOutput() |
boolean |
isLocallyReentrant()
Returns the value of the 'Locally Reentrant' attribute.
|
void |
set_actionInputPinOfFromAction(ActionInputPin value)
Sets the value of the
'
action Input Pin Of From Action ' container
reference. |
void |
set_interactionOfAction(Interaction value)
Sets the value of the '
interaction Of Action ' container
reference. |
void |
setLocallyReentrant(boolean value)
Sets the value of the '
Locally Reentrant ' attribute. |
get_clauseOfBody, get_clauseOfTest, get_exceptionHandlerOfHandlerBody, get_loopNodeOfBodyPart, get_loopNodeOfSetupPart, get_loopNodeOfTest, get_sequenceNodeOfExecutableNode, getHandler, has_exceptionHandlerOfHandlerBody, hasHandler, set_clauseOfBody, set_clauseOfTest, set_loopNodeOfBodyPart, set_loopNodeOfSetupPart, set_loopNodeOfTest, set_sequenceNodeOfExecutableNode
get_activityNodeOfRedefinedNode, getActivity, getIncoming, getInGroup, getInInterruptibleRegion, getInPartition, getInStructuredNode, getOutgoing, getRedefinedNode, has_activityNodeOfRedefinedNode, hasIncoming, hasInGroup, hasInInterruptibleRegion, hasInPartition, hasOutgoing, hasRedefinedNode, setActivity, setInStructuredNode
get_redefinableElementOfRedefinedElement, getRedefinedElement, getRedefinitionContext, has_redefinableElementOfRedefinedElement, hasRedefinedElement, hasRedefinitionContext, isLeaf, setLeaf
get_considerIgnoreFragmentOfMessage, get_durationObservationOfEvent, get_informationFlowOfInformationSource, get_informationFlowOfInformationTarget, get_messageOfSignature, get_namespaceOfMember, get_timeObservationOfEvent, getClientDependency, getName, getNameExpression, getNamespace, getQualifiedName, getSupplierDependency, getVisibility, has_considerIgnoreFragmentOfMessage, has_durationObservationOfEvent, has_informationFlowOfInformationSource, has_informationFlowOfInformationTarget, has_messageOfSignature, has_namespaceOfMember, has_timeObservationOfEvent, hasClientDependency, hasSupplierDependency, setName, setNameExpression, setNamespace, setVisibility
get_activityPartitionOfRepresents, get_commentOfAnnotatedElement, get_constraintOfConstrainedElement, get_diagramOfContext, get_directedRelationshipOfSource, get_directedRelationshipOfTarget, get_elementOfSyncElement, get_elementValueOfElement, get_relationshipOfRelatedElement, getAppliedStereotypeInstance, getOwnedComment, getOwnedElement, getOwner, getSyncElement, has_activityPartitionOfRepresents, has_commentOfAnnotatedElement, has_constraintOfConstrainedElement, has_diagramOfContext, has_directedRelationshipOfSource, has_directedRelationshipOfTarget, has_elementOfSyncElement, has_elementValueOfElement, has_relationshipOfRelatedElement, hasOwnedComment, hasOwnedElement, setAppliedStereotypeInstance, setOwner, setSyncElement
get_representationText, getLocalID, isInvalid, set_representationText, setLocalID, sGetLocalID
getID, getMDExtension, getMdExtensions, setID
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
eAdapters, eDeliver, eNotify, eSetDeliver
accept, addPropertyChangeListener, canAdd, canAdd, canAddChild, canBeDeleted, firePropertyChange, getClassType, getHumanName, getHumanType, getObjectParent, isEditable, removePropertyChangeListener, sGetID
refClass, refDelete, refImmediateComposite, refIsInstanceOf, refOutermostComposite
java.util.List<OutputPin> getOutput()
OutputPin
.
It is bidirectional and its opposite is 'action Of Output
'.
The ordered set of OutputPins representing outputs from the Action.
UMLPackage.getAction_Output()
,
OutputPin.get_actionOfOutput()
@CheckForNull Interaction get_interactionOfAction()
Action
'.
If the meaning of the 'interaction Of Action' container reference isn't clear, there really should be more of a description here...
set_interactionOfAction(Interaction)
,
UMLPackage.getAction__interactionOfAction()
,
Interaction.getAction()
void set_interactionOfAction(@CheckForNull Interaction value)
interaction Of Action
' container
reference.
value
- the new value of the 'interaction Of Action' container reference.get_interactionOfAction()
java.util.Collection<ActionExecutionSpecification> get_actionExecutionSpecificationOfAction()
ActionExecutionSpecification
.
It is bidirectional and its opposite is
'Action
'.
If the meaning of the 'action Execution Specification Of Action' reference list isn't clear, there really should be more of a description here...
UMLPackage.getAction__actionExecutionSpecificationOfAction()
,
ActionExecutionSpecification.getAction()
java.util.List<InputPin> getInput()
InputPin
.
It is bidirectional and its opposite is 'action Of Input
'.
The ordered set of InputPins representing the inputs to the Action.
UMLPackage.getAction_Input()
,
InputPin.get_actionOfInput()
@CheckForNull Classifier getContext()
action Of Context
'.
The context Classifier of the Behavior that contains this Action, or the Behavior itself if it has no context.
UMLPackage.getAction_Context()
,
com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Classifier#get_actionOfContext
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.
setLocallyReentrant(boolean)
,
UMLPackage.getAction_LocallyReentrant()
void setLocallyReentrant(boolean value)
Locally Reentrant
' attribute.
value
- the new value of the 'Locally Reentrant' attribute.isLocallyReentrant()
java.util.Collection<Constraint> getLocalPrecondition()
Constraint
.
It is bidirectional and its opposite is
'action Of Local Precondition
'.
A Constraint that must be satisfied when execution of the Action is started.
UMLPackage.getAction_LocalPrecondition()
,
Constraint.get_actionOfLocalPrecondition()
java.util.Collection<Constraint> getLocalPostcondition()
Constraint
.
It is bidirectional and its opposite is
'action Of Local Postcondition
'.
A Constraint that must be satisfied when execution of the Action is completed.
UMLPackage.getAction_LocalPostcondition()
,
Constraint.get_actionOfLocalPostcondition()
@CheckForNull ActionInputPin get_actionInputPinOfFromAction()
From Action
'.
If the meaning of the 'action Input Pin Of From Action' container reference isn't clear, there really should be more of a description here...
set_actionInputPinOfFromAction(ActionInputPin)
,
UMLPackage.getAction__actionInputPinOfFromAction()
,
ActionInputPin.getFromAction()
void set_actionInputPinOfFromAction(@CheckForNull ActionInputPin value)
action Input Pin Of From Action
' container
reference.
value
- the new value of the 'action Input Pin Of From Action' container reference.get_actionInputPinOfFromAction()
boolean hasOutput() throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException
boolean has_actionExecutionSpecificationOfAction() throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException
boolean hasInput() throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException
boolean hasLocalPrecondition() throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException
boolean hasLocalPostcondition() throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException