Package hec.dataTable

Class TimeSeriesColumnBase

java.lang.Object
hec.dataTable.TimeSeriesColumnBase
Direct Known Subclasses:
TimeSeriesDataColumn, TimeSeriesNotesColumn, TimeSeriesQualityColumn

public abstract class TimeSeriesColumnBase extends Object
  • Field Details

    • columnName

      public String columnName
    • _timeSeriesContainer

      public TimeSeriesContainer _timeSeriesContainer
    • _times

      protected HecTimeArray _times
    • _dataChanged

      protected boolean _dataChanged
  • Constructor Details

  • Method Details

    • getValue

      public abstract String getValue(int i, boolean showCommas)
    • getObject

      protected abstract Object getObject(int position)
    • getName

      public String getName()
    • getDataContainer

      public TimeSeriesContainer getDataContainer()
    • appendRows

      public void appendRows(int numberRows)
    • insertRowsBefore

      public void insertRowsBefore(int startRow, int numberRows)
    • insertRowsBefore

      public void insertRowsBefore(int startRow, int numberRows, HecTimeArray newTimes)
    • deleteRows

      public void deleteRows(int startRow, int numberRows)
    • initializeEntryStartTime

      public void initializeEntryStartTime()
    • updateContainer

      public int updateContainer(int numberExtendedRows, int[] firstError, boolean trimMissing)
    • isEditable

      public boolean isEditable()
    • getNumberValues

      public int getNumberValues()
    • getTimeAt

      public HecTime getTimeAt(int i)
    • setTimeAt

      public void setTimeAt(HecTime time, int row)
    • isValidTime

      public boolean isValidTime(HecTime tableTime)
      Determines if the time provided would be a vaild time for this data set (not if this time exists in the data set). Foe example, if this is hourly data that occurs on the hour, and this time is 15 minutes past the hour, the return will be false. If the interval is irregular, any defined time is valid.
    • extendDataSet

      protected boolean extendDataSet(HecTime time)
    • getTimeArray

      public HecTimeArray getTimeArray()
    • getUnits

      public String getUnits()
    • getType

      public String getType()
    • getVersion

      public String getVersion(TimeZone viewTimeZone)
    • setValue

      public int setValue(int row, Object str, StringBuffer errorMessage)
    • setUnits

      public void setUnits(String units)
    • setType

      public void setType(String type)
    • setTimeZone

      protected void setTimeZone(TimeZone zone)
    • setDescription

      public void setDescription(int partNumber, String value)
    • getDescription

      public String getDescription(int partNumber)
    • isValidElement

      protected boolean isValidElement(int i)
    • hasDataChanged

      public boolean hasDataChanged()
    • hasQuality

      public boolean hasQuality()
    • getFullName

      public String getFullName()
    • setDataChanged

      public void setDataChanged(boolean changed)
    • getInitialStartTime

      public Integer getInitialStartTime()
    • getInitialEndTime

      public Integer getInitialEndTime()