Package hec.hecmath

Class TimeSeriesMathVertDatum

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

public class TimeSeriesMathVertDatum extends TimeSeriesMath implements mil.army.usace.hec.metadata.VerticalDatum
  • Constructor Details

  • Method Details

    • setData

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

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

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

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

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

      Overrides:
      getData in class TimeSeriesMath
      Parameters:
      container - the TimeSeriesContainer to receive the copy of data from this time series.
      Throws:
      HecMathException
    • copy

      public HecMath copy() throws HecMathException
      Description copied from class: TimeSeriesMath
      Create a duplicate copy of the time series object.

      Overrides:
      copy in class TimeSeriesMath
      Returns:
      a duplicate copy of the time series
      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 VerticalDatumContainer on the data container
      Parameters:
      vdc - the VerticalDatumContainer to set this object from
      Throws:
      mil.army.usace.hec.metadata.VerticalDatumException