Package hec.rss.model

Class GatedIntakeControlDevice

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

public class GatedIntakeControlDevice extends WaterControlDevice
See Also:
  • Field Details

    • DEFAULT_NUM_PORT_LEVELS

      public static final int DEFAULT_NUM_PORT_LEVELS
      See Also:
  • Constructor Details

    • GatedIntakeControlDevice

      public GatedIntakeControlDevice()
  • Method Details

    • setType

      public void setType(WaterControlDeviceType type)
    • getType

      public WaterControlDeviceType getType()
      Specified by:
      getType in class WaterControlDevice
    • setUsePoolElevation

      public void setUsePoolElevation(boolean usePoolElevation)
    • getUsePoolElevation

      public boolean getUsePoolElevation()
    • setBedElevation

      public void setBedElevation(double elevationValue)
    • getBedElevation

      public double getBedElevation()
    • getPortRows

      public List<hec.rss.client.WaterControlPortRowItem> getPortRows()
    • setPortRows

      public void setPortRows(List<hec.rss.client.WaterControlPortRowItem> portRows)
    • getName

      public String getName()
      Description copied from class: NamedType
      get the NameType's name
      Overrides:
      getName in class NamedType
      Returns:
      the name
    • setName

      public void setName(String name)
      Description copied from class: NamedType
      Set the NamedTypes's name to the argument String.
      Overrides:
      setName in class NamedType
    • setNumberOfPortLevels

      public void setNumberOfPortLevels(int numberOfPortLevels)
    • getNumberOfPortLevels

      public int getNumberOfPortLevels()
    • setFlows

      public void setFlows(int istep, double[] flows)
    • getPortCenterlines

      public double[] getPortCenterlines()
    • updateTSProxyList

      public void updateTSProxyList()
      Description copied from class: RssTSLocationObject
      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 sub-classes of Function should over-ride this method if they use TSRecordProxies
      Specified by:
      updateTSProxyList in class RssTSLocationObject
    • getDSSBpart

      public String getDSSBpart(int level)
    • getActiveTSProxies

      public Vector getActiveTSProxies(Vector vec, int iotype)
    • clone

      public GatedIntakeControlDevice clone()
      Description copied from class: RssTSLocationObject
      clone method
      Overrides:
      clone in class WaterControlDevice
    • 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 WaterControlDevice
      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 WaterControlDevice
      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
    • initialize

      public void initialize(RunTimeWindow rtw)
      Computation initialize point
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object