com.monad.homerun.model.time
Class TimeModelStatus

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

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

TimeModelStatus extend ModeStatus for representing a given time.

See Also:
Serialized Form

Constructor Summary
TimeModelStatus(java.lang.String modelName, Value currentValue, 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.
 int getSubType()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TimeModelStatus

public TimeModelStatus(java.lang.String modelName,
                       Value currentValue,
                       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()


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