org.apache.taglibs.rdc.scxml.model
Class Executable

java.lang.Object
  extended by org.apache.taglibs.rdc.scxml.model.Executable
Direct Known Subclasses:
OnEntry, OnExit, Transition

public abstract class Executable
extends java.lang.Object

An abstract base class for containers of executable elements in SCXML, such as <onentry> and <onexit>.

Author:
Rahul Akolkar, Jaroslav Gergic

Field Summary
protected  TransitionTarget parent
          The parent container, for traceability
 
Constructor Summary
Executable()
          Constructor
 
Method Summary
 void addAction(Action action)
          Add an Action to the list of executable actions contained in this Executable
 java.util.List getActions()
          Get the executable actions contained in this Executable
 TransitionTarget getParent()
          Get the TransitionTarget parent
 void setParent(TransitionTarget parent)
          Set the TransitionTarget parent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

parent

protected TransitionTarget parent
The parent container, for traceability

Constructor Detail

Executable

public Executable()
Constructor

Method Detail

getActions

public java.util.List getActions()
Get the executable actions contained in this Executable

Returns:
Returns the actions.

addAction

public void addAction(Action action)
Add an Action to the list of executable actions contained in this Executable

Parameters:
action - The action to add.

getParent

public TransitionTarget getParent()
Get the TransitionTarget parent

Returns:
Returns the parent.

setParent

public void setParent(TransitionTarget parent)
Set the TransitionTarget parent

Parameters:
parent - The parent to set.


Copyright ? 2000-2004 The Apache Software Foundation. All Rights Reserved.