Package hec.rss.model

Class Controller

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

public class Controller extends NamedType implements TSLocation
Deprecated.
See Also:
  • Constructor Details

    • Controller

      public Controller()
      Deprecated.
    • Controller

      public Controller(AdjustableDiversion func)
      Deprecated.
    • Controller

      public Controller(Operations op, int idx)
      Deprecated.
    • Controller

      public Controller(Operations op)
      Deprecated.
  • Method Details

    • getRuleConnectivityRefs

      public List getRuleConnectivityRefs(boolean recurse)
      Deprecated.
      Returns a List of RuleConnectivityRef objects identifying all rule references to other objects in the network.
      Parameters:
      recurse - true means to recurse through child OpControllers
      Returns:
      ArrayList RuleConnectivityRef objects
    • getSystem

      public RssSystem getSystem()
      Deprecated.
    • setOperatations

      public void setOperatations(Operations op, int idx)
      Deprecated.
    • setAdjustableDiversion

      public void setAdjustableDiversion(AdjustableDiversion func)
      Deprecated.
    • clone

      public Object clone()
      Deprecated.
      Description copied from class: NamedType
      Creates a new object of the same class as this object.
      It then initializes each of the new object's fields by assigning it the same value as the corresponding field in this object. No
      constructor is called.
      Overrides:
      clone in class NamedType
    • getUnitSystem

      public int getUnitSystem()
      Deprecated.
    • setDiversionFunction

      public void setDiversionFunction(AdjustableDiversion func)
      Deprecated.
    • getDiversionFunction

      public AdjustableDiversion getDiversionFunction()
      Deprecated.
    • getOperations

      public Operations getOperations()
      Deprecated.
    • getAdjParamElementName

      public String getAdjParamElementName()
      Deprecated.
    • setAdjParamData

      public void setAdjParamData(String elem, String func, String param)
      Deprecated.
    • findElement

      public Element findElement(String name)
      Deprecated.
    • getRuleVector

      public Vector getRuleVector()
      Deprecated.
    • addRule

      public void addRule(Rule rule)
      Deprecated.
    • removeAllRules

      public void removeAllRules()
      Deprecated.
    • findRule

      public Rule findRule(String name)
      Deprecated.
    • removeRule

      public void removeRule(String name)
      Deprecated.
    • initialize

      public boolean initialize()
      Deprecated.
    • initialize_old

      public boolean initialize_old()
      Deprecated.
    • findTSArray

      public double[] findTSArray(String locType, String locName, String param)
      Deprecated.
    • getTSDataSet

      public TSDataSet getTSDataSet(boolean isInput)
      Deprecated.
      Description copied from interface: TSLocation
      returns the input or output TSData set currently associated with this loation
      Specified by:
      getTSDataSet in interface TSLocation
    • getRuleValue

      public double getRuleValue(AdjustableParameter adjparam, RunTimeStep runtime)
      Deprecated.
    • getValue

      public double getValue(AdjustableParameter adjparam, RunTimeStep runtime)
      Deprecated.
    • writeData

      public boolean writeData(BufferedWriter out)
      Deprecated.
    • readData

      public boolean readData(BufferedReader input)
      Deprecated.
    • updateTSProxyList

      public void updateTSProxyList()
      Deprecated.
      Have top level controller update the TSRecordProxy set for itself and all child controllers and rules
    • getActiveTSRecordProxies

      public Vector getActiveTSRecordProxies(Vector vec, int iotype)
      Deprecated.
      add the time series record proxies associated with the active operation set to the given vector
    • getTSRecordProxies

      public Vector getTSRecordProxies(boolean isInput)
      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 NamedType
      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 NamedType
      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