UML.Semantic.BehavioralElements.CommonBehavior
Class UninterpretedAction

java.lang.Object
  |
  +--UML.Semantic.Foundation.Core.ModelElement
        |
        +--UML.Semantic.BehavioralElements.CommonBehavior.Action
              |
              +--UML.Semantic.BehavioralElements.CommonBehavior.UninterpretedAction
All Implemented Interfaces:
Element, ElementAtt, LinkAtt

public class UninterpretedAction
extends Action

An uninterpreted action represents all actions that are not explicitly reified in the UML

Taken to the extreme, any action is a call or raise on some instance (e.g. Smalltalk). However, in more practical terms, actions such as assignments and conditional statements can be captured as uninterpreted actions, as well as any other language specific actions that are neither call nor send actions


Constructor Summary
UninterpretedAction()
           
 
Method Summary
 boolean check()
          Checks if well-formedness rules are respected in this model element.
 java.lang.String getBody()
          Gets the text body of the action.
 void setBody(java.lang.String body)
          Assigns the given text to the action body.
 
Methods inherited from class UML.Semantic.BehavioralElements.CommonBehavior.Action
getIsAsynchronous, setIsAsynchronous
 
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

UninterpretedAction

public UninterpretedAction()
Method Detail

setBody

public void setBody(java.lang.String body)
Assigns the given text to the action body.


getBody

public java.lang.String getBody()
Gets the text body of the action.

Returns:
The body text.

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.