Class TSRecordProxy

All Implemented Interfaces:
AsciiSerializable, FieldAccessor, TSRecord, Serializable, Cloneable, Comparable, Observer, mil.army.usace.hec.metadata.VerticalDatum, rma.lang.Modifiable
Direct Known Subclasses:
TimeSeriesGlobalVariable

public class TSRecordProxy extends TSRecordImpl
See Also:
  • Field Details

    • _tsRecord

      protected transient TSRecord _tsRecord
  • Constructor Details

    • TSRecordProxy

      public TSRecordProxy()
    • TSRecordProxy

      public TSRecordProxy(TSLocation parent)
    • TSRecordProxy

      public TSRecordProxy(TSLocation2 parent)
  • Method Details

    • getParent

      public TSLocation getParent()
    • setFullName

      public void setFullName(String str)
    • getFullName

      public String getFullName()
    • toString

      public String toString()
      Overrides:
      toString in class NamedType
    • clone

      public Object clone()
      Description copied from class: NamedType
      Creates a new object of the same class as this object.
      It then initializes each of the new object's fields by assigning it the same value as the corresponding field in this object. No
      constructor is called.
      Overrides:
      clone in class AbstractTSRecord
    • setParent

      public void setParent(TSLocation tsl)
    • getFactor

      public double getFactor()
    • setFactor

      public void setFactor(double f)
    • getDefaultPath

      public String getDefaultPath()
    • setDefaultPath

      public void setDefaultPath(String p)
    • initialize

      @Deprecated public void initialize()
      Deprecated.
      Please use reset()
    • reset

      public void reset()
      Specified by:
      reset in interface TSRecord
      Overrides:
      reset in class AbstractTSRecord
    • unload

      public void unload()
    • isInput

      public boolean isInput()
    • setInput

      public void setInput(boolean flag)
    • setTSDataSet

      public void setTSDataSet(ITSDataSet tsdata)
    • getTSArray

      public double[] getTSArray()
      Description copied from class: AbstractTSRecord
      Get the data array for the time series record.
      Specified by:
      getTSArray in interface TSRecord
      Overrides:
      getTSArray in class AbstractTSRecord
      Returns:
      double array containing all data values for record
    • getTSRecord

      public TSRecord getTSRecord()
    • getTSContainer

      public doubleArrayContainer getTSContainer()
      Specified by:
      getTSContainer in interface TSRecord
      Overrides:
      getTSContainer in class AbstractTSRecord
    • getTimeArray

      public int[] getTimeArray()
      Specified by:
      getTimeArray in interface TSRecord
      Overrides:
      getTimeArray in class AbstractTSRecord
    • readData

      public boolean readData(BufferedReader input)
      Description copied from interface: TSRecord
      Read write methods for storing TSRecords to an ASCII file
      Specified by:
      readData in interface TSRecord
      Overrides:
      readData in class AbstractTSRecord
    • setName

      public void setName(String name, boolean changeRecName)
    • 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 AbstractTSRecord
      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 AbstractTSRecord
      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
    • getTimeSeriesDescription

      public hec.data.tx.DescriptionTx getTimeSeriesDescription()
    • setTimeSeriesDescription

      public void setTimeSeriesDescription(hec.data.tx.DescriptionTx tsdesc)
    • setDataFeedAlive

      public void setDataFeedAlive(boolean tf)
    • isDataFeedAlive

      public boolean isDataFeedAlive()