Package hec.rss.model

Class VariableTSBasedOpRule

All Implemented Interfaces:
AsciiSerializable, FieldAccessor, TSLocation, AltInputReportInfc, RssModelVariableConstants, RssReturnStatusConstants, RssTSLocation, Serializable, Cloneable, Comparable, Observer, rma.lang.Modifiable

public class VariableTSBasedOpRule extends OpRule implements AsciiSerializable, Serializable, Cloneable
Deprecated.
Release rule based on release vs. parameter values Parameter values input from time series during compute
See Also:
  • Field Details

  • Constructor Details

    • VariableTSBasedOpRule

      public VariableTSBasedOpRule()
      Deprecated.
    • VariableTSBasedOpRule

      public VariableTSBasedOpRule(String name)
      Deprecated.
  • Method Details

    • updateTSProxyList

      public void updateTSProxyList()
      Deprecated.
      Regenerates the list of all TSProxies required for this location. This list includes all records that are generated by this function even if the records are held in another objects (e.g. RssNode) proxy list
      Overrides:
      updateTSProxyList in class OpRule
    • getActiveTSRecordProxies

      public Vector getActiveTSRecordProxies(Vector vec, int iotype)
      Deprecated.
      add the time series record proxies associated current compute
      Overrides:
      getActiveTSRecordProxies in class OpRule
    • initializeCompute

      public boolean initializeCompute()
      Deprecated.
      prep for compute
      Overrides:
      initializeCompute in class OpRule
    • evaluateRule

      public OpValue evaluateRule(RunTimeStep rts, double initialValue)
      Deprecated.
      compares the intial value to rule constraints and returns the adjusted value
      Overrides:
      evaluateRule in class OpRule
    • clone

      public Object clone()
      Deprecated.
      Description copied from class: RssTSLocationObject
      clone method
      Overrides:
      clone in class OpRule
    • setParameterValueRelease

      public void setParameterValueRelease(PairedValues pv)
      Deprecated.
    • getParameterValueRelease

      public PairedValues getParameterValueRelease()
      Deprecated.
    • setInterpolationType

      public void setInterpolationType(int type)
      Deprecated.
    • getInterpolationType

      public int getInterpolationType()
      Deprecated.
    • setElementType

      public void setElementType(int _index)
      Deprecated.
      set the selected element in the element combo box
    • getElementType

      public int getElementType()
      Deprecated.
      returns the integer type element for element combo box
    • getLimitType

      public int getLimitType()
      Deprecated.
      returns the integer type of the limit: -1=Min, 1=Max
    • setLimitType

      public void setLimitType(int type)
      Deprecated.
      sets the limit type, must ether -1=Min or 1=Max or 0 Specified
    • getParameterName

      public String getParameterName()
      Deprecated.
      Parameter name for parameter value Time Series ( Part C on DSS )
    • setParameterName

      public void setParameterName(String str)
      Deprecated.
    • getInputName

      public String getInputName()
      Deprecated.
      name for TS input ( Part B on DSS )
    • setInputName

      public void setInputName(String str)
      Deprecated.
    • getFieldObject

      public Object getFieldObject(Field fld)
      Deprecated.
      Description copied from interface: FieldAccessor
      This method allows access to java.lang.reflect.Field objects within the implementing class.
      Specified by:
      getFieldObject in interface FieldAccessor
      Overrides:
      getFieldObject in class OpRule
      Parameters:
      fld - The field to get.
      Returns:
      The data object that is stored in the given field
    • setFieldObject

      public boolean setFieldObject(Field fld, Object fobj)
      Deprecated.
      Description copied from interface: FieldAccessor
      This allows access to fields withing the implementing object to set there data.
      Specified by:
      setFieldObject in interface FieldAccessor
      Overrides:
      setFieldObject in class OpRule
      Parameters:
      fld - The java field object representing the member field to be set
      fobj - The data to set in that field
      Returns:
      returns true if successful