All Superinterfaces:
ActivityNode, BaseElement, Cloneable, Comparable, Element, org.eclipse.emf.ecore.EObject, ExecutableNode, MDObject, com.dassault_systemes.modeler.foundation.model.ModelElement, 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:
Model:
abstract="true" annotation="MOF package='actions.mdbasicactions'"
Generated:
  • Method Details

    • getOutput

      List<OutputPin> getOutput()
      Returns the value of the 'Output' reference list. The list contents are of type OutputPin. 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:
      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:
      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:
      Generated:
    • get_actionExecutionSpecificationOfAction

      Collection<ActionExecutionSpecification> get_actionExecutionSpecificationOfAction()
      Returns the value of the 'action Execution Specification Of Action' reference list. The list contents are of type 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...

      Returns:
      the value of the 'action Execution Specification Of Action' reference list.
      See Also:
      Model:
      opposite="action" ordered="false"
      Generated:
    • getInput

      List<InputPin> getInput()
      Returns the value of the 'Input' reference list. The list contents are of type InputPin. 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:
      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:
      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:
      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:
      Generated:
    • getLocalPrecondition

      Collection<Constraint> getLocalPrecondition()
      Returns the value of the 'Local Precondition' containment reference list. The list contents are of type 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.
      Returns:
      the value of the 'Local Precondition' containment reference list.
      See Also:
      Model:
      opposite="_actionOfLocalPrecondition" containment="true" resolveProxies="true" ordered="false"
      Generated:
    • getLocalPostcondition

      Collection<Constraint> getLocalPostcondition()
      Returns the value of the 'Local Postcondition' containment reference list. The list contents are of type 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.
      Returns:
      the value of the 'Local Postcondition' containment reference list.
      See Also:
      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:
      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:
      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: