Interface Action
-
- All Superinterfaces:
ActivityNode
,BaseElement
,java.lang.Cloneable
,java.lang.Comparable
,Element
,org.eclipse.emf.ecore.EObject
,ExecutableNode
,MDObject
,ModelObject
,NamedElement
,org.eclipse.emf.common.notify.Notifier
,RedefinableElement
,javax.jmi.reflect.RefBaseObject
,javax.jmi.reflect.RefFeatured
,javax.jmi.reflect.RefObject
- All Known Subinterfaces:
AcceptCallAction
,AcceptEventAction
,AddStructuralFeatureValueAction
,AddVariableValueAction
,BroadcastSignalAction
,CallAction
,CallBehaviorAction
,CallOperationAction
,ClearAssociationAction
,ClearStructuralFeatureAction
,ClearVariableAction
,ConditionalNode
,CreateLinkAction
,CreateLinkObjectAction
,CreateObjectAction
,DestroyLinkAction
,DestroyObjectAction
,ExpansionRegion
,InvocationAction
,LinkAction
,LoopNode
,OpaqueAction
,RaiseExceptionAction
,ReadExtentAction
,ReadIsClassifiedObjectAction
,ReadLinkAction
,ReadLinkObjectEndAction
,ReadLinkObjectEndQualifierAction
,ReadSelfAction
,ReadStructuralFeatureAction
,ReadVariableAction
,ReclassifyObjectAction
,ReduceAction
,RemoveStructuralFeatureValueAction
,RemoveVariableValueAction
,ReplyAction
,SendObjectAction
,SendSignalAction
,SequenceNode
,StartClassifierBehaviorAction
,StartObjectBehaviorAction
,StructuralFeatureAction
,StructuredActivityNode
,TestIdentityAction
,UnmarshallAction
,ValueSpecificationAction
,VariableAction
,WriteLinkAction
,WriteStructuralFeatureAction
,WriteVariableAction
public interface Action extends ExecutableNode
A representation of the model object 'Action'.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:
- See Also:
UMLPackage.getAction()
- Model:
- abstract="true" annotation="MOF package='actions.mdbasicactions'"
- Generated:
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method 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.-
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.activities.mdfundamentalactivities.ActivityNode
get_activityNodeOfRedefinedNode, getActivity, getIncoming, getInGroup, getInInterruptibleRegion, getInPartition, getInStructuredNode, getOutgoing, getRedefinedNode, has_activityNodeOfRedefinedNode, hasIncoming, hasInGroup, hasInInterruptibleRegion, hasInPartition, hasOutgoing, hasRedefinedNode, setActivity, setInStructuredNode
-
Methods inherited from interface com.nomagic.magicdraw.uml.BaseElement
accept, addPropertyChangeListener, atInsert, canAdd, canAdd, canAddChild, canAddInstance, canBeDeleted, canChangeParent, canDeleteChild, clone, dispose, firePropertyChange, getClassType, getHumanName, getHumanType, getObjectParent, isEditable, isParentOf, removeAllPropertyChangeListeners, removePropertyChangeListener, sGetID
-
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element
get_activityPartitionOfRepresents, get_commentOfAnnotatedElement, get_constraintOfConstrainedElement, get_diagramOfContext, get_directedRelationshipOfSource, get_directedRelationshipOfTarget, get_elementOfSyncElement, get_elementTaggedValue, get_elementValueOfElement, get_relationshipOfRelatedElement, getAppliedStereotype, getOwnedComment, getOwnedElement, getOwner, getSyncElement, getTaggedValue, has_activityPartitionOfRepresents, has_commentOfAnnotatedElement, has_constraintOfConstrainedElement, has_diagramOfContext, has_directedRelationshipOfSource, has_directedRelationshipOfTarget, has_elementOfSyncElement, has_elementValueOfElement, has_relationshipOfRelatedElement, hasAppliedStereotype, hasElementTaggedValue, hasOwnedComment, hasOwnedElement, hasTaggedValue, setOwner, setSyncElement
-
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 com.nomagic.uml2.ext.magicdraw.activities.mdstructuredactivities.ExecutableNode
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
-
Methods inherited from interface com.nomagic.magicdraw.foundation.MDObject
getID, getMDExtension, getMdExtensions, setID
-
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.base.ModelObject
get_representationText, getLocalID, ignoringRefGetValue, ignoringRefGetValue, isInvalid, isSet, refGetValue, refGetValue, refSetValue, refSetValue, set_representationText, setLocalID, sGetLocalID
-
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.classes.mdkernel.NamedElement
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
-
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.classes.mdkernel.RedefinableElement
get_redefinableElementOfRedefinedElement, getRedefinedElement, getRedefinitionContext, has_redefinableElementOfRedefinedElement, hasRedefinedElement, hasRedefinitionContext, isLeaf, setLeaf
-
Methods inherited from interface javax.jmi.reflect.RefBaseObject
equals, hashCode, refImmediatePackage, refMetaObject, refMofId, refOutermostPackage, refVerifyConstraints
-
-
-
-
Method Detail
-
getOutput
java.util.List<OutputPin> getOutput()
Returns the value of the 'Output' reference list. The list contents are of typeOutputPin
. It is bidirectional and its opposite is 'action Of Output
'. The ordered set of OutputPins representing outputs from the Action.- Returns:
- the value of the 'Output' reference list.
- See Also:
UMLPackage.getAction_Output()
,OutputPin.get_actionOfOutput()
- Model:
- opposite="_actionOfOutput" transient="true" volatile="true" derived="true"
- Generated:
-
get_interactionOfAction
@CheckForNull Interaction get_interactionOfAction()
Returns the value of the 'interaction Of Action' container reference. It is bidirectional and its opposite is 'Action
'.If the meaning of the 'interaction Of Action' container reference isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'interaction Of Action' container reference.
- See Also:
set_interactionOfAction(Interaction)
,UMLPackage.getAction__interactionOfAction()
,Interaction.getAction()
- Model:
- opposite="action" transient="false" ordered="false"
- Generated:
-
set_interactionOfAction
void set_interactionOfAction(@CheckForNull Interaction value)
Sets the value of the 'interaction Of Action
' container reference.- Parameters:
value
- the new value of the 'interaction Of Action' container reference.- See Also:
get_interactionOfAction()
- Generated:
-
get_actionExecutionSpecificationOfAction
java.util.Collection<ActionExecutionSpecification> get_actionExecutionSpecificationOfAction()
Returns the value of the 'action Execution Specification Of Action' reference list. The list contents are of typeActionExecutionSpecification
. 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...
- Returns:
- the value of the 'action Execution Specification Of Action' reference list.
- See Also:
UMLPackage.getAction__actionExecutionSpecificationOfAction()
,ActionExecutionSpecification.getAction()
- Model:
- opposite="action" ordered="false"
- Generated:
-
getInput
java.util.List<InputPin> getInput()
Returns the value of the 'Input' reference list. The list contents are of typeInputPin
. It is bidirectional and its opposite is 'action Of Input
'. The ordered set of InputPins representing the inputs to the Action.- Returns:
- the value of the 'Input' reference list.
- See Also:
UMLPackage.getAction_Input()
,InputPin.get_actionOfInput()
- Model:
- opposite="_actionOfInput" transient="true" volatile="true" derived="true"
- Generated:
-
getContext
@CheckForNull Classifier getContext()
Returns the value of the 'Context' reference. It is bidirectional and its opposite is 'action Of Context
'. The context Classifier of the Behavior that contains this Action, or the Behavior itself if it has no context.- Returns:
- the value of the 'Context' reference.
- See Also:
UMLPackage.getAction_Context()
,com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Classifier#get_actionOfContext
- Model:
- opposite="_actionOfContext" transient="true" changeable="false" volatile="true" derived="true" ordered="false"
- Generated:
-
isLocallyReentrant
boolean isLocallyReentrant()
Returns the value of the 'Locally Reentrant' attribute. The default value is"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.- Returns:
- the value of the 'Locally Reentrant' attribute.
- See Also:
setLocallyReentrant(boolean)
,com.nomagic.uml2.ext.magicdraw.metadata.UMLPackage#getAction_LocallyReentrant()
- Model:
- default="false" dataType="com.nomagic.uml2.ext.magicdraw.Boolean" required="true" ordered="false"
- Generated:
-
setLocallyReentrant
void setLocallyReentrant(boolean value)
Sets the value of the 'Locally Reentrant
' attribute.- Parameters:
value
- the new value of the 'Locally Reentrant' attribute.- See Also:
isLocallyReentrant()
- Generated:
-
getLocalPrecondition
java.util.Collection<Constraint> getLocalPrecondition()
Returns the value of the 'Local Precondition' containment reference list. The list contents are of typeConstraint
. It is bidirectional and its opposite is 'action Of Local Precondition
'. A Constraint that must be satisfied when execution of the Action is started.- Returns:
- the value of the 'Local Precondition' containment reference list.
- See Also:
UMLPackage.getAction_LocalPrecondition()
,Constraint.get_actionOfLocalPrecondition()
- Model:
- opposite="_actionOfLocalPrecondition" containment="true" resolveProxies="true" ordered="false"
- Generated:
-
getLocalPostcondition
java.util.Collection<Constraint> getLocalPostcondition()
Returns the value of the 'Local Postcondition' containment reference list. The list contents are of typeConstraint
. It is bidirectional and its opposite is 'action Of Local Postcondition
'. A Constraint that must be satisfied when execution of the Action is completed.- Returns:
- the value of the 'Local Postcondition' containment reference list.
- See Also:
UMLPackage.getAction_LocalPostcondition()
,Constraint.get_actionOfLocalPostcondition()
- Model:
- opposite="_actionOfLocalPostcondition" containment="true" resolveProxies="true" ordered="false"
- Generated:
-
get_actionInputPinOfFromAction
@CheckForNull ActionInputPin get_actionInputPinOfFromAction()
Returns the value of the 'action Input Pin Of From Action' container reference. It is bidirectional and its opposite is '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...
- Returns:
- the value of the 'action Input Pin Of From Action' container reference.
- See Also:
set_actionInputPinOfFromAction(ActionInputPin)
,UMLPackage.getAction__actionInputPinOfFromAction()
,ActionInputPin.getFromAction()
- Model:
- opposite="fromAction" transient="false" ordered="false"
- Generated:
-
set_actionInputPinOfFromAction
void set_actionInputPinOfFromAction(@CheckForNull ActionInputPin value)
Sets the value of the 'action Input Pin Of From Action
' container reference.- Parameters:
value
- the new value of the 'action Input Pin Of From Action' container reference.- See Also:
get_actionInputPinOfFromAction()
- Generated:
-
hasOutput
boolean hasOutput() throws javax.jmi.reflect.JmiException
- Throws:
javax.jmi.reflect.JmiException
- Generated:
-
has_actionExecutionSpecificationOfAction
boolean has_actionExecutionSpecificationOfAction() throws javax.jmi.reflect.JmiException
- Throws:
javax.jmi.reflect.JmiException
- Generated:
-
hasInput
boolean hasInput() throws javax.jmi.reflect.JmiException
- Throws:
javax.jmi.reflect.JmiException
- Generated:
-
hasLocalPrecondition
boolean hasLocalPrecondition() throws javax.jmi.reflect.JmiException
- Throws:
javax.jmi.reflect.JmiException
- Generated:
-
hasLocalPostcondition
boolean hasLocalPostcondition() throws javax.jmi.reflect.JmiException
- Throws:
javax.jmi.reflect.JmiException
- Generated:
-
-