it.amattioli.workstate.core
Class SimpleState

Show UML class diagram
java.lang.Object
  extended by it.amattioli.workstate.core.State
      extended by it.amattioli.workstate.core.RealState
          extended by it.amattioli.workstate.core.SimpleState
All Implemented Interfaces:
AttributeHandler, AttributeReader, Receiver

public class SimpleState
extends RealState


Constructor Summary
SimpleState(MetaSimpleState metaState, CompositeState parent)
           
 
Method Summary
 boolean admitEvent(Event event)
           
protected  StateMemento getMemento(StateMemento parent)
           
 void receive(Visitor visitor)
           
 void receiveEvent(Event event)
           
 
Methods inherited from class it.amattioli.workstate.core.RealState
addAllAttributes, enter, equals, exit, getAllAttributes, getAttribute, getLocalAttributes, getTag, hasAllowedAttribute, hasOwnAttribute, reEnter, reExit, restore, setAttribute, toString
 
Methods inherited from class it.amattioli.workstate.core.State
addAvailableEvents, buildEvent, checkActive, findAncestor, getAvailableEvents, getId, getMemento, getParent, getRootMachine, hasMetaState, isActive, isRegion
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SimpleState

public SimpleState(MetaSimpleState metaState,
                   CompositeState parent)
Method Detail

receiveEvent

public void receiveEvent(Event event)
                  throws WorkflowException
Specified by:
receiveEvent in class State
Throws:
WorkflowException

admitEvent

public boolean admitEvent(Event event)
Specified by:
admitEvent in class State

getMemento

protected StateMemento getMemento(StateMemento parent)
Specified by:
getMemento in class State

receive

public void receive(Visitor visitor)


Copyright © 2011. All Rights Reserved.