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

java.lang.Object
  extended by org.apache.taglibs.rdc.scxml.model.TransitionTarget
      extended by org.apache.taglibs.rdc.scxml.model.History
All Implemented Interfaces:
Observable

public class History
extends TransitionTarget

The class in this SCXML object model that corresponds to the <history> SCXML pseudo state element.

Author:
Rahul Akolkar, Jaroslav Gergic

Constructor Summary
History()
          Default no-args constructor for XML Digester
 
Method Summary
 java.util.Set getLastConfiguration()
          Get the last configuration for this history
 Transition getTransition()
          Get the transition
 boolean isDeep()
          Is this history "deep" (as against "shallow")
 boolean isEmpty()
          Check whether we have prior history
 void setLastConfiguration(java.util.Set lc)
          Set the last configuration for this history
 void setTransition(Transition transition)
          Set the transition
 void setType(java.lang.String type)
          This method is invoked by XML digester when parsing SCXML markup
 
Methods inherited from class org.apache.taglibs.rdc.scxml.model.TransitionTarget
addListener, getId, getNotificationRegistry, getOnEntry, getOnExit, getParent, getParentState, removeListener, setId, setNotificationRegistry, setOnEntry, setOnExit, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

History

public History()
Default no-args constructor for XML Digester

Method Detail

getTransition

public Transition getTransition()
Get the transition

Returns:
Returns the transition.

setTransition

public void setTransition(Transition transition)
Set the transition

Parameters:
transition - The transition to set.

isDeep

public boolean isDeep()
Is this history "deep" (as against "shallow")

Returns:
Returns whether this is a "deep" history

setType

public void setType(java.lang.String type)
This method is invoked by XML digester when parsing SCXML markup

Parameters:
type - The history type, which can be "shallow" or "deep"

getLastConfiguration

public java.util.Set getLastConfiguration()
Get the last configuration for this history

Returns:
Returns the lastConfiguration.

setLastConfiguration

public void setLastConfiguration(java.util.Set lc)
Set the last configuration for this history

Parameters:
lc - The lastConfiguration to set.

isEmpty

public boolean isEmpty()
Check whether we have prior history

Returns:
Whether we have a non-empty last configuration


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