com.monad.homerun.model.numeric
Class NumericModelStatus

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

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

NumericModelStatus extends ModelStatus for Numeric Models

See Also:
Serialized Form

Constructor Summary
NumericModelStatus(java.lang.String modelName, Value value, Limit[] limits)
           
 
Method Summary
 Limit getLimit(java.lang.String tagName)
           
 Limit[] getLimits()
           
 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.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NumericModelStatus

public NumericModelStatus(java.lang.String modelName,
                          Value value,
                          Limit[] limits)
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

getLimits

public Limit[] getLimits()

getLimit

public Limit getLimit(java.lang.String tagName)


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