Package hec.dataTable
Class TimeSeriesColumnBase
java.lang.Object
hec.dataTable.TimeSeriesColumnBase
- Direct Known Subclasses:
TimeSeriesDataColumn,TimeSeriesNotesColumn,TimeSeriesQualityColumn
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidappendRows(int numberRows) voiddeleteRows(int startRow, int numberRows) protected booleanextendDataSet(HecTime time) getDescription(int partNumber) getName()intprotected abstract ObjectgetObject(int position) getTimeAt(int i) getType()getUnits()abstract StringgetValue(int i, boolean showCommas) getVersion(TimeZone viewTimeZone) booleanbooleanvoidvoidinsertRowsBefore(int startRow, int numberRows) voidinsertRowsBefore(int startRow, int numberRows, HecTimeArray newTimes) booleanprotected booleanisValidElement(int i) booleanisValidTime(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) voidprotected voidsetTimeZone(TimeZone zone) voidvoidintsetValue(int row, Object str, StringBuffer errorMessage) intupdateContainer(int numberExtendedRows, int[] firstError, boolean trimMissing)
-
Field Details
-
columnName
-
_timeSeriesContainer
-
_times
-
_dataChanged
protected boolean _dataChanged
-
-
Constructor Details
-
TimeSeriesColumnBase
-
-
Method Details
-
getValue
-
getObject
-
getName
-
getDataContainer
-
appendRows
public void appendRows(int numberRows) -
insertRowsBefore
public void insertRowsBefore(int startRow, int numberRows) -
insertRowsBefore
-
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
-
setTimeAt
-
isValidTime
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
-
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
-