Package hec.hecmath

Class PairedDataMathVertDatum

All Implemented Interfaces:
IRating, IVerticalDatumOperations<PairedDataMath,HecMathException>, Constants, mil.army.usace.hec.metadata.VerticalDatum

public class PairedDataMathVertDatum extends PairedDataMath implements mil.army.usace.hec.metadata.VerticalDatum
  • Constructor Details

  • Method Details

    • setData

      public void setData(DataContainer container) throws HecMathException
      Description copied from class: PairedDataMath
      Set the PairedDataContainer data for the current PairedDataMath object. The current PairedDataMath will use a copy of container.

      Overrides:
      setData in class PairedDataMath
      Parameters:
      container - the PairedDataContainer data to be used by this PairedDataMath object.
      Throws:
      HecMathException - if container is null or not of type PairedDataContainer.
    • getData

      public void getData(DataContainer container) throws HecMathException
      Description copied from class: PairedDataMath
      Copy the current PairedDataContainer data in the PairedDataMath object into container.

      Overrides:
      getData in class PairedDataMath
      Parameters:
      container - the PairedDataContainer to receive the copy of paired data from this PairedDataMath object.
      Throws:
      HecMathException
    • getData

      public DataContainer getData() throws HecMathException
      Description copied from class: PairedDataMath
      Copy the current PairedDataContainer data in the PairedDataMath object into container.

      Overrides:
      getData in class PairedDataMath
      Returns:
      a copy of the PairedDataContainer held in the current PairedDataMath object.
      Throws:
      HecMathException
    • copy

      public HecMath copy() throws HecMathException
      Description copied from class: PairedDataMath
      Create a duplicate copy of the paired data set.

      Overrides:
      copy in class PairedDataMath
      Returns:
      a duplicate copy of the paired data set
      Throws:
      HecMathException
    • getNativeVerticalDatum

      public String getNativeVerticalDatum() throws mil.army.usace.hec.metadata.VerticalDatumException
      Specified by:
      getNativeVerticalDatum in interface mil.army.usace.hec.metadata.VerticalDatum
      Throws:
      mil.army.usace.hec.metadata.VerticalDatumException
    • getCurrentVerticalDatum

      public String getCurrentVerticalDatum() throws mil.army.usace.hec.metadata.VerticalDatumException
      Specified by:
      getCurrentVerticalDatum in interface mil.army.usace.hec.metadata.VerticalDatum
      Throws:
      mil.army.usace.hec.metadata.VerticalDatumException
    • isCurrentVerticalDatumEstimated

      public boolean isCurrentVerticalDatumEstimated() throws mil.army.usace.hec.metadata.VerticalDatumException
      Specified by:
      isCurrentVerticalDatumEstimated in interface mil.army.usace.hec.metadata.VerticalDatum
      Throws:
      mil.army.usace.hec.metadata.VerticalDatumException
    • toNativeVerticalDatum

      public boolean toNativeVerticalDatum() throws mil.army.usace.hec.metadata.VerticalDatumException
      Specified by:
      toNativeVerticalDatum in interface mil.army.usace.hec.metadata.VerticalDatum
      Throws:
      mil.army.usace.hec.metadata.VerticalDatumException
    • toNGVD29

      public boolean toNGVD29() throws mil.army.usace.hec.metadata.VerticalDatumException
      Specified by:
      toNGVD29 in interface mil.army.usace.hec.metadata.VerticalDatum
      Throws:
      mil.army.usace.hec.metadata.VerticalDatumException
    • toNAVD88

      public boolean toNAVD88() throws mil.army.usace.hec.metadata.VerticalDatumException
      Specified by:
      toNAVD88 in interface mil.army.usace.hec.metadata.VerticalDatum
      Throws:
      mil.army.usace.hec.metadata.VerticalDatumException
    • toVerticalDatum

      public boolean toVerticalDatum(String datum) throws mil.army.usace.hec.metadata.VerticalDatumException
      Specified by:
      toVerticalDatum in interface mil.army.usace.hec.metadata.VerticalDatum
      Throws:
      mil.army.usace.hec.metadata.VerticalDatumException
    • forceVerticalDatum

      public boolean forceVerticalDatum(String datum) throws mil.army.usace.hec.metadata.VerticalDatumException
      Specified by:
      forceVerticalDatum in interface mil.army.usace.hec.metadata.VerticalDatum
      Throws:
      mil.army.usace.hec.metadata.VerticalDatumException
    • getCurrentOffset

      public double getCurrentOffset() throws mil.army.usace.hec.metadata.VerticalDatumException
      Specified by:
      getCurrentOffset in interface mil.army.usace.hec.metadata.VerticalDatum
      Throws:
      mil.army.usace.hec.metadata.VerticalDatumException
    • getCurrentOffset

      public double getCurrentOffset(String unit) throws mil.army.usace.hec.metadata.VerticalDatumException
      Specified by:
      getCurrentOffset in interface mil.army.usace.hec.metadata.VerticalDatum
      Throws:
      mil.army.usace.hec.metadata.VerticalDatumException
    • getNGVD29Offset

      public double getNGVD29Offset() throws mil.army.usace.hec.metadata.VerticalDatumException
      Specified by:
      getNGVD29Offset in interface mil.army.usace.hec.metadata.VerticalDatum
      Throws:
      mil.army.usace.hec.metadata.VerticalDatumException
    • getNGVD29Offset

      public double getNGVD29Offset(String unit) throws mil.army.usace.hec.metadata.VerticalDatumException
      Specified by:
      getNGVD29Offset in interface mil.army.usace.hec.metadata.VerticalDatum
      Throws:
      mil.army.usace.hec.metadata.VerticalDatumException
    • getNAVD88Offset

      public double getNAVD88Offset() throws mil.army.usace.hec.metadata.VerticalDatumException
      Specified by:
      getNAVD88Offset in interface mil.army.usace.hec.metadata.VerticalDatum
      Throws:
      mil.army.usace.hec.metadata.VerticalDatumException
    • getNAVD88Offset

      public double getNAVD88Offset(String unit) throws mil.army.usace.hec.metadata.VerticalDatumException
      Specified by:
      getNAVD88Offset in interface mil.army.usace.hec.metadata.VerticalDatum
      Throws:
      mil.army.usace.hec.metadata.VerticalDatumException
    • isNGVD29OffsetEstimated

      public boolean isNGVD29OffsetEstimated() throws mil.army.usace.hec.metadata.VerticalDatumException
      Specified by:
      isNGVD29OffsetEstimated in interface mil.army.usace.hec.metadata.VerticalDatum
      Throws:
      mil.army.usace.hec.metadata.VerticalDatumException
    • isNAVD88OffsetEstimated

      public boolean isNAVD88OffsetEstimated() throws mil.army.usace.hec.metadata.VerticalDatumException
      Specified by:
      isNAVD88OffsetEstimated in interface mil.army.usace.hec.metadata.VerticalDatum
      Throws:
      mil.army.usace.hec.metadata.VerticalDatumException
    • getVerticalDatumInfo

      public String getVerticalDatumInfo() throws mil.army.usace.hec.metadata.VerticalDatumException
      Specified by:
      getVerticalDatumInfo in interface mil.army.usace.hec.metadata.VerticalDatum
      Throws:
      mil.army.usace.hec.metadata.VerticalDatumException
    • setVerticalDatumInfo

      public void setVerticalDatumInfo(String xmlStr) throws mil.army.usace.hec.metadata.VerticalDatumException
      Specified by:
      setVerticalDatumInfo in interface mil.army.usace.hec.metadata.VerticalDatum
      Throws:
      mil.army.usace.hec.metadata.VerticalDatumException
    • getVerticalDatumContainer

      public mil.army.usace.hec.metadata.VerticalDatumContainer getVerticalDatumContainer()
      Returns the Vertical Datum Container form the Data Container
      Specified by:
      getVerticalDatumContainer in interface mil.army.usace.hec.metadata.VerticalDatum
      Returns:
    • setVerticalDatumContainer

      public void setVerticalDatumContainer(mil.army.usace.hec.metadata.VerticalDatumContainer vdc) throws mil.army.usace.hec.metadata.VerticalDatumException
      Sets the Vertical Datum Container
      Throws:
      mil.army.usace.hec.metadata.VerticalDatumException