it.amattioli.workstate.config
Class MetaStateBuilder

Show UML class diagram
java.lang.Object
  extended by it.amattioli.workstate.config.MetaStateBuilder
Direct Known Subclasses:
MetaFinalStateBuilder, MetaInitialStateBuilder, MetaJunctionPointBuilder, MetaRealStateBuilder

public abstract class MetaStateBuilder
extends Object

Allows the construction of a MetaState instance given the configuration strings read from a datasource.


Field Summary
protected  MetaState builtState
           
 
Constructor Summary
MetaStateBuilder(String id)
          Construct a builder given the id of the state.
 
Method Summary
protected abstract  MetaState createMetaState()
           
 MetaState getBuiltMetaState()
          Return the built state.
 String getId()
          Return the identifier of the state that is being built
 void setEntryAction(String entryAction)
           
 void setExitAction(String exitAction)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

builtState

protected MetaState builtState
Constructor Detail

MetaStateBuilder

public MetaStateBuilder(String id)
Construct a builder given the id of the state.

Method Detail

getId

public String getId()
Return the identifier of the state that is being built


createMetaState

protected abstract MetaState createMetaState()

getBuiltMetaState

public MetaState getBuiltMetaState()
Return the built state.


setEntryAction

public void setEntryAction(String entryAction)

setExitAction

public void setExitAction(String exitAction)


Copyright © 2011. All Rights Reserved.