com.monad.homerun.model.scalar
Class ScalarModelStatus

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

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

ScalarModelStatus extends ModelStatus for ScalarModels

See Also:
Serialized Form

Constructor Summary
ScalarModelStatus(java.lang.String modelName, Value value, Range[] ranges)
           
 
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.
 Range getRange(java.lang.String tagName)
           
 Range[] getRanges()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScalarModelStatus

public ScalarModelStatus(java.lang.String modelName,
                         Value value,
                         Range[] ranges)
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

getRanges

public Range[] getRanges()

getRange

public Range getRange(java.lang.String tagName)


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