org.speakright.demos.simpsons
Class Model

java.lang.Object
  extended by org.speakright.demos.simpsons.Model
All Implemented Interfaces:
java.io.Serializable, IModel

public class Model
extends java.lang.Object
implements IModel

See Also:
Serialized Form

Nested Class Summary
static class Model.BooleanItem
           
static class Model.IntItem
           
static class Model.StringItem
           
 
Field Summary
protected  Model.StringItem m_characterName
           
protected  Model.IntItem m_currentCharacterId
           
protected  Model.BooleanItem m_haveVoted
           
protected  Model.StringItem m_nextAction
           
 SimpsonsData m_simpsons
           
 Voting m_voting
           
 org.speakright.demos.simpsons.Model.MVN ModelVarNames
           
 
Constructor Summary
Model()
           
 
Method Summary
 Model.StringItem characterName()
           
 Model.IntItem currentCharacterId()
           
 Model.BooleanItem haveVoted()
           
 IModelBinder ModelBinder()
           
 void ModelBinderSet(IModelBinder binder)
           
 Model.StringItem nextAction()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ModelVarNames

public org.speakright.demos.simpsons.Model.MVN ModelVarNames

m_simpsons

public SimpsonsData m_simpsons

m_voting

public Voting m_voting

m_nextAction

protected Model.StringItem m_nextAction

m_currentCharacterId

protected Model.IntItem m_currentCharacterId

m_characterName

protected Model.StringItem m_characterName

m_haveVoted

protected Model.BooleanItem m_haveVoted
Constructor Detail

Model

public Model()
Method Detail

ModelBinder

public IModelBinder ModelBinder()
Specified by:
ModelBinder in interface IModel

ModelBinderSet

public void ModelBinderSet(IModelBinder binder)
Specified by:
ModelBinderSet in interface IModel

nextAction

public Model.StringItem nextAction()

currentCharacterId

public Model.IntItem currentCharacterId()

characterName

public Model.StringItem characterName()

haveVoted

public Model.BooleanItem haveVoted()