UML.Semantic.BehavioralElements.CommonBehavior
Class CallAction
java.lang.Object
|
+--UML.Semantic.Foundation.Core.ModelElement
|
+--UML.Semantic.BehavioralElements.CommonBehavior.Action
|
+--UML.Semantic.BehavioralElements.CommonBehavior.CallAction
- All Implemented Interfaces:
- Element, ElementAtt, LinkAtt
- public class CallAction
- extends Action
A call action is an action resulting in an invocation of
an operation on an instance. A call action can be synchronous or
asynchronous, indicating whether the operation is invoked
synchronously or asynchronously.
In the metamodel, the CallAction is a subtype
of Action. The designated instance or set of
instances is specified via the target expression, and the actual
arguments are designated via the argument association inherited
from Action. The resulting operation is specified
by the dispatched Request, which in that case
should be an Operation.
|
Method Summary |
boolean |
check()
Checks if well-formedness rules are respected in this model
element. |
java.lang.String |
getMode()
|
void |
setSynchronousKind(java.lang.String mode)
Sets the call mode for the dispatched operation. |
| Methods inherited from class UML.Semantic.Foundation.Core.ModelElement |
add, add, getBindingList, getConstraintList, getElementType, getErrors, getHref, getId, getIdentification, getIdref, getIndex, getInfo, getIsOwned, getLabel, getLocator, getName, getNamespace, getNamespaceId, getStereotype, getTemplate, getTemplateParameterList, getTitle, getUuid, getUuidref, getVisibility, getVisibilitySymbol, getWarnings, setElementType, setErrors, setHref, setId, setIdref, setIndex, setIsOwned, setLabel, setName, setNamespace, setTemplate, setTitle, setUuid, setUuidref, setVisibility, setWarnings |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CallAction
public CallAction()
setSynchronousKind
public void setSynchronousKind(java.lang.String mode)
- Sets the call mode for the dispatched operation.
getMode
public java.lang.String getMode()
check
public boolean check()
- Checks if well-formedness rules are respected in this model
element.
- Overrides:
check in class Action
- Returns:
- True if check was successful, false otherwise.