Package hec.rss.model

Class ChannelType

java.lang.Object
hec.rss.model.ChannelType
All Implemented Interfaces:
AsciiSerializable, FieldAccessor, Serializable

public class ChannelType extends Object implements AsciiSerializable
An enumerated class for designating channel type.
See Also:
  • Field Details

  • Constructor Details

    • ChannelType

      public ChannelType()
  • Method Details

    • equals

      public boolean equals(ChannelType other)
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • fromString

      public static ChannelType fromString(String string)
    • 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
      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
      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