org.eclipse.uml2
Interface CallAction
- All Superinterfaces:
- Action, ActivityNode, Element, EModelElement, EObject, ExecutableNode, InvocationAction, NamedElement, Notifier, RedefinableElement, TemplateableElement
- All Known Subinterfaces:
- CallBehaviorAction, CallOperationAction
- public interface CallAction
- extends InvocationAction
A representation of the model object 'Call Action'.
CallAction is an abstract class for actions that invoke behavior and receive return values.
The following features are supported:
- See Also:
UML2Package.getCallAction()
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.ActivityNode |
getActivity, getIncoming, getIncomings, getInGroups, getInInterruptibleRegions, getInPartition, getInPartitions, getInStructuredNode, getOutgoing, getOutgoings, getOwner, getRedefinedElement, getRedefinedElements, setActivity, setInStructuredNode |
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.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.EObject |
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset |
copyright
public static final String copyright
-
- See Also:
- Constant Field Values
isSynchronous
public boolean isSynchronous()
- Returns the value of the 'Is Synchronous' attribute.
The default value is
"true"
.
If the meaning of the 'Is Synchronous' attribute isn't clear,
there really should be more of a description here...
If true, the call is synchronous and the caller waits for completion of the invoked behavior. If false, the call is asynchronous and the caller proceeds immediately and does not expect a return values.
- Returns:
- the value of the 'Is Synchronous' attribute.
- See Also:
setIsSynchronous(boolean)
,
UML2Package.getCallAction_IsSynchronous()
setIsSynchronous
public void setIsSynchronous(boolean value)
- Sets the value of the '
Is Synchronous
' attribute.
- Parameters:
value
- the new value of the 'Is Synchronous' attribute.- See Also:
isSynchronous()
getResults
public EList getResults()
- Returns the value of the 'Result' containment reference list.
The list contents are of type
OutputPin
.
If the meaning of the 'Result' containment reference list isn't clear,
there really should be more of a description here...
A list of output pins where the results of performing the invocation are placed.
- Returns:
- the value of the 'Result' containment reference list.
- See Also:
UML2Package.getCallAction_Result()
getResult
public OutputPin getResult(String unqualifiedName)
- Retrieves the
OutputPin
with the specified name from the 'Result' containment reference list.
- Parameters:
unqualifiedName
- The unqualified name of the OutputPin
to retrieve.
- Returns:
- The
OutputPin
with the specified name, or null
. - See Also:
getResults()
createResult
public OutputPin createResult(EClass eClass)
- Creates a
OutputPin
and appends it to the 'Result' containment reference list.
- Parameters:
eClass
- The Ecore class of the OutputPin
to create.
- Returns:
- The new
OutputPin
. - See Also:
getResults()
getOutputs
public EList getOutputs()
-
- Specified by:
getOutputs
in interface Action
- Returns:
- the value of the 'Output' reference list.
- See Also:
UML2Package.getAction_Output()