Class InundationParameter

java.lang.Object
java.util.Observable
hec.lang.NamedType
hec.map.inundation.InundationParameter
All Implemented Interfaces:
AsciiSerializable, FieldAccessor, Serializable, Cloneable, Comparable, Observer, Modifiable

public class InundationParameter extends NamedType
See Also:
  • Constructor Details

    • InundationParameter

      public InundationParameter()
    • InundationParameter

      public InundationParameter(String parameter)
  • Method Details

    • getMapClassName

      public String getMapClassName()
    • addExceedenceProbability

      public void addExceedenceProbability(int idx, Double D)
    • addExceedenceProbability

      public void addExceedenceProbability(Double D)
    • removeExceedenceProbability

      public void removeExceedenceProbability(Double D)
    • addInundationLayer

      public void addInundationLayer(InundationLayer il)
    • size

      public int size()
    • get

      public InundationLayer get(int index)
    • validate

      public void validate(String mapUrl) throws Exception
      Throws:
      Exception
    • sort

      public void sort()
    • growExtents

      public void growExtents(WorldRect extents)
    • load

      public void load()
    • unload

      public void unload()
    • 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 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)
      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