Package hec.dataTable
Class TimeSeriesColumnBase
java.lang.Object
hec.dataTable.TimeSeriesColumnBase
- Direct Known Subclasses:
TimeSeriesDataColumn,TimeSeriesNotesColumn,TimeSeriesQualityColumn
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanprotected hec.heclib.util.HecTimeArrayhec.io.TimeSeriesContainer -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidappendRows(int numberRows) voiddeleteRows(int startRow, int numberRows) protected booleanextendDataSet(hec.heclib.util.HecTime time) hec.io.TimeSeriesContainergetDescription(int partNumber) getName()intprotected abstract ObjectgetObject(int position) hec.heclib.util.HecTimeArrayhec.heclib.util.HecTimegetTimeAt(int i) getType()getUnits()abstract StringgetValue(int i, boolean showCommas) getVersion(TimeZone viewTimeZone) booleanbooleanvoidvoidinsertRowsBefore(int startRow, int numberRows) voidinsertRowsBefore(int startRow, int numberRows, hec.heclib.util.HecTimeArray newTimes) booleanprotected booleanisValidElement(int i) booleanisValidTime(hec.heclib.util.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).voidsetDataChanged(boolean changed) voidsetDescription(int partNumber, String value) voidsetTimeAt(hec.heclib.util.HecTime time, int row) protected voidsetTimeZone(TimeZone zone) voidvoidintsetValue(int row, Object str, StringBuffer errorMessage) intupdateContainer(int numberExtendedRows, int[] firstError, boolean trimMissing)
-
Field Details
-
columnName
-
_timeSeriesContainer
public hec.io.TimeSeriesContainer _timeSeriesContainer -
_times
protected hec.heclib.util.HecTimeArray _times -
_dataChanged
protected boolean _dataChanged
-
-
Constructor Details
-
TimeSeriesColumnBase
public TimeSeriesColumnBase(hec.io.TimeSeriesContainer dataSet)
-
-
Method Details
-
getValue
-
getObject
-
getName
-
getDataContainer
public hec.io.TimeSeriesContainer getDataContainer() -
appendRows
public void appendRows(int numberRows) -
insertRowsBefore
public void insertRowsBefore(int startRow, int numberRows) -
insertRowsBefore
public void insertRowsBefore(int startRow, int numberRows, hec.heclib.util.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 hec.heclib.util.HecTime getTimeAt(int i) -
setTimeAt
public void setTimeAt(hec.heclib.util.HecTime time, int row) -
isValidTime
public boolean isValidTime(hec.heclib.util.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(hec.heclib.util.HecTime time) -
getTimeArray
public hec.heclib.util.HecTimeArray getTimeArray() -
getUnits
-
getType
-
getVersion
-
setValue
-
setUnits
-
setType
-
setTimeZone
-
setDescription
-
getDescription
-
isValidElement
protected boolean isValidElement(int i) -
hasDataChanged
public boolean hasDataChanged() -
hasQuality
public boolean hasQuality() -
getFullName
-
setDataChanged
public void setDataChanged(boolean changed) -
getInitialStartTime
-
getInitialEndTime
-