Package hec.rss.model

Class MonthlyRelease

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

public class MonthlyRelease extends Rule
See Also:
  • Constructor Details

    • MonthlyRelease

      public MonthlyRelease()
    • MonthlyRelease

      @Deprecated public MonthlyRelease(Controller control)
      Deprecated.
    • MonthlyRelease

      public MonthlyRelease(OpController control)
  • Method Details

    • setValues

      public boolean setValues(double[] values)
    • getMonthlyValues

      public double[] getMonthlyValues()
    • getValue

      public double getValue(AdjustableParameter adjparam, RunTimeStep runtime, double val)
      Description copied from class: Rule
      This method should be overriden
      Specified by:
      getValue in class Rule
    • writeData

      public boolean writeData(BufferedWriter out)
      Overrides:
      writeData in class Rule
    • readData

      public boolean readData(BufferedReader input)
      Overrides:
      readData in class Rule
    • clone

      public MonthlyRelease clone()
      Description copied from class: RssTSLocationObject
      clone method
      Overrides:
      clone in class RssTSLocationObject
    • getFieldObject

      public Object getFieldObject(Field fld)
      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 Rule
      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)
      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 Rule
      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