|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A representation of the model object 'Invocation Action'. InvocationAction is an abstract class for the various actions that invoke behavior. In addition to targeting an object, invocation actions can also invoke behavioral features on ports from where the invocation requests are routed onwards on links deriving from attached connectors. Invocation actions may also be sent to a target via a given port, either on the sending object or on another object.
The following features are supported:
UMLPackage.getInvocationAction()
Field Summary |
Fields inherited from interface org.eclipse.uml2.uml.NamedElement |
SEPARATOR |
Method Summary | |
InputPin |
createArgument(String name,
Type type)
Creates a new InputPin , with the specified 'Name', and 'Type', and appends it to the 'Argument' containment reference list |
InputPin |
createArgument(String name,
Type type,
EClass eClass)
Creates a new InputPin , with the specified 'Name', and 'Type', and appends it to the 'Argument' containment reference list |
InputPin |
getArgument(String name,
Type type)
Retrieves the first InputPin with the specified 'Name', and 'Type' from the 'Argument' containment reference list |
InputPin |
getArgument(String name,
Type type,
boolean ignoreCase,
EClass eClass,
boolean createOnDemand)
Retrieves the first InputPin with the specified 'Name', and 'Type' from the 'Argument' containment reference list |
EList |
getArguments()
Returns the value of the 'Argument' containment reference list. |
Port |
getOnPort()
Returns the value of the 'On Port' reference |
void |
setOnPort(Port value)
Sets the value of the ' On Port ' reference |
boolean |
validateOnPortReceiver(DiagnosticChain diagnostics,
Map context)
The onPort must be a port on the receiver object. |
Methods inherited from interface org.eclipse.uml2.uml.Action |
createLocalPostcondition, createLocalPostcondition, createLocalPrecondition, createLocalPrecondition, getContext, getInput, getInput, getInputs, getLocalPostcondition, getLocalPostcondition, getLocalPostconditions, getLocalPrecondition, getLocalPrecondition, getLocalPreconditions, getOutput, getOutput, getOutputs |
Methods inherited from interface org.eclipse.uml2.uml.ExecutableNode |
createHandler, getHandlers |
Methods inherited from interface org.eclipse.uml2.uml.ActivityNode |
getActivity, getIncoming, getIncoming, getIncomings, getInGroups, getInInterruptibleRegions, getInPartition, getInPartition, getInPartitions, getInStructuredNode, getOutgoing, getOutgoing, getOutgoings, getRedefinedNode, getRedefinedNode, getRedefinedNodes, setActivity, setInStructuredNode, validateOwned, validateOwnedStructuredNode |
Methods inherited from interface org.eclipse.uml2.uml.RedefinableElement |
getRedefinedElement, getRedefinedElement, getRedefinedElements, getRedefinitionContext, getRedefinitionContext, getRedefinitionContexts, isConsistentWith, isLeaf, isRedefinitionContextValid, setIsLeaf, validateRedefinitionConsistent, validateRedefinitionContextValid |
Methods inherited from interface org.eclipse.uml2.uml.NamedElement |
allNamespaces, allOwningPackages, createDependency, createNameExpression, getClientDependencies, getClientDependency, getClientDependency, getLabel, getLabel, getName, getNameExpression, getNamespace, getQualifiedName, getVisibility, isDistinguishableFrom, isSetName, isSetVisibility, separator, setName, setNameExpression, setVisibility, unsetName, unsetVisibility, validateHasNoQualifiedName, validateHasQualifiedName, validateVisibilityNeedsOwnership |
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 |
Method Detail |
public EList getArguments()
InputPin
.
Specification of the ordered set of argument values that appears during execution.
UMLPackage.getInvocationAction_Argument()
public InputPin createArgument(String name, Type type, EClass eClass)
InputPin
, with the specified 'Name', and 'Type', and appends it to the 'Argument' containment reference list.
name
- The 'Name' for the new InputPin
, or null
.type
- The 'Type' for the new InputPin
, or null
.eClass
- The Ecore class of the InputPin
to create.
InputPin
.InvocationAction.getArguments()
public InputPin createArgument(String name, Type type)
InputPin
, with the specified 'Name', and 'Type', and appends it to the 'Argument' containment reference list.
name
- The 'Name' for the new InputPin
, or null
.type
- The 'Type' for the new InputPin
, or null
.
InputPin
.InvocationAction.getArguments()
public InputPin getArgument(String name, Type type)
InputPin
with the specified 'Name', and 'Type' from the 'Argument' containment 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
.InvocationAction.getArguments()
public InputPin getArgument(String name, Type type, boolean ignoreCase, EClass eClass, boolean createOnDemand)
InputPin
with the specified 'Name', and 'Type' from the 'Argument' containment 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
.createOnDemand
- Whether to create a InputPin
on demand if not found.
InputPin
with the specified 'Name', and 'Type', or null
.InvocationAction.getArguments()
public Port getOnPort()
InvocationAction.setOnPort(Port)
,
UMLPackage.getInvocationAction_OnPort()
public void setOnPort(Port value)
On Port
' reference.
value
- the new value of the 'On Port' reference.InvocationAction.getOnPort()
public boolean validateOnPortReceiver(DiagnosticChain diagnostics, Map context)
|
Copyright 2003, 2006 IBM Corporation and others. All Rights Reserved. |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |