UML.Semantic.BehavioralElements.CommonBehavior
Class Action

java.lang.Object
  |
  +--UML.Semantic.Foundation.Core.ModelElement
        |
        +--UML.Semantic.BehavioralElements.CommonBehavior.Action
All Implemented Interfaces:
Element, ElementAtt, LinkAtt
Direct Known Subclasses:
CallAction, CreateAction, DestroyAction, LocalInvocation, ReturnAction, SendAction, TerminateAction, UninterpretedAction

public abstract class Action
extends ModelElement

An action is a specification of an executable statement that forms an abstraction of a computational procedure that results in a change in the state of the model, realized by sending a message to an object or modifying a value of an attribute.

In the metamodel an Action is a part of an ActionSequence and may contain a specification of a target as well as a specification of the arguments (actual parameters) of the dispatched Request.

The target metaattribute is of type ObjectSetExpression which, when executed, resolves into zero or more specific Instances which are the intended recipients of the dispatched Request. Similarly, it is associated with a list of Arguments which at runtime are resolved to the actual arguments of the Request. The recurrence metaattribute specifies how many times the resulted Request should be sent every time the Action is executed.

Action is an abstract metaclass


Constructor Summary
Action()
           
 
Method Summary
 boolean check()
          Checks if well-formedness rules are respected in this model element.
 boolean getIsAsynchronous()
          Gets the value of the asynchronous attribute to given value.
 void setIsAsynchronous(java.lang.String mode)
          Sets the value of the asynchronous attribute to given value.
 
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
 

Constructor Detail

Action

public Action()
Method Detail

setIsAsynchronous

public void setIsAsynchronous(java.lang.String mode)
Sets the value of the asynchronous attribute to given value.


getIsAsynchronous

public boolean getIsAsynchronous()
Gets the value of the asynchronous attribute to given value.

Returns:
The attribute value.

check

public boolean check()
Checks if well-formedness rules are respected in this model element.

Overrides:
check in class ModelElement
Returns:
True if check was successful, false otherwise.