Class InundationGroup

java.lang.Object
hec.map.MapObject
hec.map.inundation.InundationGroup
All Implemented Interfaces:
AsciiSerializable, FieldAccessor, MapObjectInterface, Serializable

public class InundationGroup extends MapObject implements AsciiSerializable
See Also:
  • Field Details

  • Constructor Details

    • InundationGroup

      public InundationGroup()
    • InundationGroup

      public InundationGroup(MapIdentifier id)
  • Method Details

    • getNumberOfExceedenceProbabilities

      public int getNumberOfExceedenceProbabilities()
    • getNumberOfParameters

      public int getNumberOfParameters()
    • getInundationParameter

      public InundationParameter getInundationParameter(int ii)
    • 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
    • save

      public boolean save()
    • getExtent

      public WorldRect getExtent()
      Description copied from interface: MapObjectInterface
      Gets the Extent attribute of the MapObjectInterface object
      Specified by:
      getExtent in interface MapObjectInterface
      Overrides:
      getExtent in class MapObject
      Returns:
      The Extent value
    • load

      public void load() throws IOException
      Description copied from interface: MapObjectInterface
      Method to tell the Map Object to load its data into memory
      Specified by:
      load in interface MapObjectInterface
      Specified by:
      load in class MapObject
      Throws:
      IOException - Description of Exception
    • unload

      public void unload()
      Description copied from interface: MapObjectInterface
      Method to tell the Map Object to unload, because the map is done
      Specified by:
      unload in interface MapObjectInterface
      Specified by:
      unload in class MapObject
    • getExceedenceProbability

      public Double getExceedenceProbability(int ii)
    • addInundationParameter

      public void addInundationParameter(InundationParameter ip)
    • buildDefault

      public static InundationGroup buildDefault()
    • addExceedenceProbability

      public boolean addExceedenceProbability(Double incomingD)
    • removeExceedenceProbability

      public boolean removeExceedenceProbability(Double D)