com.monad.homerun.model.date
Class DateModelStatus

java.lang.Object
  extended by com.monad.homerun.model.date.DateModelStatus
All Implemented Interfaces:
ModelStatus, java.io.Serializable

public class DateModelStatus
extends java.lang.Object
implements ModelStatus, java.io.Serializable

DateModelStatus extend ModeStatus for representing a given date.

See Also:
Serialized Form

Constructor Summary
DateModelStatus(java.lang.String modelName, Value currentValue, int subType)
           
DateModelStatus(java.lang.String modelName, Value currentValue, java.lang.String[] stateNames, int subType)
           
 
Method Summary
 java.lang.String getModelName()
          Returns the name of the model whose status it is
 java.lang.String getModelType()
          Returns the type of the model.
 Value getModelValue()
          Returns the current value of the model.
 java.lang.String[] getStateNames()
           
 int getSubType()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DateModelStatus

public DateModelStatus(java.lang.String modelName,
                       Value currentValue,
                       int subType)

DateModelStatus

public DateModelStatus(java.lang.String modelName,
                       Value currentValue,
                       java.lang.String[] stateNames,
                       int subType)
Method Detail

getModelName

public java.lang.String getModelName()
Description copied from interface: ModelStatus
Returns the name of the model whose status it is

Specified by:
getModelName in interface ModelStatus
Returns:
the model name

getModelType

public java.lang.String getModelType()
Description copied from interface: ModelStatus
Returns the type of the model.

Specified by:
getModelType in interface ModelStatus
Returns:
the model type

getModelValue

public Value getModelValue()
Description copied from interface: ModelStatus
Returns the current value of the model.

Specified by:
getModelValue in interface ModelStatus
Returns:
the current model value

getSubType

public int getSubType()

getStateNames

public java.lang.String[] getStateNames()


Copyright © 2006-2009 Richard Rodgers. All Rights Reserved.