org.eclipse.uml2
Interface CallOperationAction

All Superinterfaces:
Action, ActivityNode, CallAction, Element, EModelElement, EObject, ExecutableNode, InvocationAction, NamedElement, Notifier, RedefinableElement, TemplateableElement

public interface CallOperationAction
extends CallAction

A representation of the model object 'Call Operation Action'. CallOperationAction is an action that transmits an operation call request to the target object, where it may cause the invocation of associated behavior. The argument values of the action are available to the execution of the invoked behavior. If the action is marked synchronous, the execution of the call operation action waits until the execution of the invoked behavior completes and a reply transmission is returned to the caller; otherwise execution of the action is complete when the invocation of the operation is established and the execution of the invoked operation proceeds concurrently with the execution of the calling activity. Any values returned as part of the reply transmission are put on the result output pins of the call operation action.

The following features are supported:

See Also:
UML2Package.getCallOperationAction()

Field Summary
static String copyright
           
 
Fields inherited from interface org.eclipse.uml2.NamedElement
SEPARATOR
 
Method Summary
 InputPin createTarget(EClass eClass)
          Creates a InputPin and sets the 'Target' containment reference
 EList getInputs()
           
 Operation getOperation()
          Returns the value of the 'Operation' reference
 InputPin getTarget()
          Returns the value of the 'Target' containment reference
 void setOperation(Operation value)
          Sets the value of the 'Operation' reference
 void setTarget(InputPin value)
          Sets the value of the 'Target' containment reference
 
Methods inherited from interface org.eclipse.uml2.CallAction
createResult, getOutputs, getResult, getResults, isSynchronous, setIsSynchronous
 
Methods inherited from interface org.eclipse.uml2.InvocationAction
createArgument, getArgument, getArguments, getOnPort, setOnPort
 
Methods inherited from interface org.eclipse.uml2.Action
createLocalPostcondition, createLocalPrecondition, getContext, getEffect, getInput, getLocalPostcondition, getLocalPostconditions, getLocalPrecondition, getLocalPreconditions, getOutput, getOwnedElements, setEffect
 
Methods inherited from interface org.eclipse.uml2.ExecutableNode
createHandler, getHandlers
 
Methods inherited from interface org.eclipse.uml2.ActivityNode
getActivity, getIncoming, getIncomings, getInGroups, getInInterruptibleRegions, getInPartition, getInPartitions, getInStructuredNode, getOutgoing, getOutgoings, getOwner, getRedefinedElement, getRedefinedElements, setActivity, setInStructuredNode
 
Methods inherited from interface org.eclipse.uml2.RedefinableElement
getRedefinitionContext, getRedefinitionContexts, isConsistentWith, isLeaf, isRedefinitionContextValid, setIsLeaf, validateRedefinitionConsistent, validateRedefinitionContextValid
 
Methods inherited from interface org.eclipse.uml2.NamedElement
allNamespaces, createNameExpression, getClientDependencies, getClientDependency, getName, getNameExpression, getNamespace, getQualifiedName, getVisibility, isDistinguishableFrom, qualifiedName, separator, setName, setNameExpression, setVisibility, validateNoName, validateQualifiedName, validateVisibilityNeedsOwnership
 
Methods inherited from interface org.eclipse.uml2.TemplateableElement
createOwnedTemplateSignature, createTemplateBinding, getOwnedTemplateSignature, getTemplateBindings, parameterableElements, setOwnedTemplateSignature
 
Methods inherited from interface org.eclipse.uml2.Element
addKeyword, allOwnedElements, apply, createEAnnotation, createOwnedComment, destroy, getApplicableStereotype, getApplicableStereotypes, getAppliedStereotype, getAppliedStereotypes, getAppliedVersion, getKeywords, getModel, getNearestPackage, getOwnedComments, getValue, hasKeyword, isApplied, isRequired, mustBeOwned, removeKeyword, setValue, unapply, validateHasOwner, validateNotOwnSelf
 
Methods inherited from interface org.eclipse.emf.ecore.EModelElement
getEAnnotation, getEAnnotations
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 

Field Detail

copyright

public static final String copyright

See Also:
Constant Field Values
Method Detail

getOperation

public Operation getOperation()
Returns the value of the 'Operation' reference.

If the meaning of the 'Operation' reference isn't clear, there really should be more of a description here...

The operation to be invoked by the action execution

Returns:
the value of the 'Operation' reference.
See Also:
setOperation(Operation), UML2Package.getCallOperationAction_Operation()

setOperation

public void setOperation(Operation value)
Sets the value of the 'Operation' reference.

Parameters:
value - the new value of the 'Operation' reference.
See Also:
getOperation()

getTarget

public InputPin getTarget()
Returns the value of the 'Target' containment reference.

If the meaning of the 'Target' containment reference isn't clear, there really should be more of a description here...

The target object to which the request is sent. The classifier of the target object is used to dynamically determine a behavior to invoke. This object constitutes the context of the execution of the operation.

Returns:
the value of the 'Target' containment reference.
See Also:
setTarget(InputPin), UML2Package.getCallOperationAction_Target()

setTarget

public void setTarget(InputPin value)
Sets the value of the 'Target' containment reference.

Parameters:
value - the new value of the 'Target' containment reference.
See Also:
getTarget()

createTarget

public InputPin createTarget(EClass eClass)
Creates a InputPin and sets the 'Target' containment reference.

Parameters:
eClass - The Ecore class of the InputPin to create.
Returns:
The new InputPin.
See Also:
getTarget()

getInputs

public EList getInputs()

Specified by:
getInputs in interface InvocationAction

Copyright 2003, 2004 IBM Corporation and others.
All Rights Reserved.