Package hec.clientapp.model
Class TSRecordProxy
java.lang.Object
java.util.Observable
hec.lang.NamedType
hec.model.AbstractTSRecord
hec.clientapp.model.TSRecordImpl
hec.clientapp.model.TSRecordProxy
- All Implemented Interfaces:
AsciiSerializable,FieldAccessor,TSRecord,Serializable,Cloneable,Comparable,Observer,mil.army.usace.hec.metadata.VerticalDatum,rma.lang.Modifiable
- Direct Known Subclasses:
TimeSeriesGlobalVariable
- See Also:
-
Field Summary
FieldsFields inherited from class hec.model.AbstractTSRecord
_beginDate, _beginTime, _compressData, _dataArray, _dssArray, _dssFilename, _dssPathname, _endTime, _inputDataPos, _interpUnitsType, _isObservedData, _numSteps, _paramName, _size, _startTime, _timeArray, _timeIncrString, _timeStepMin, _timeWindow, _units, _unitsType, _varId, _vdc, INPUT, OUTPUTFields inherited from class hec.lang.NamedType
_description, _ignoreModifiedEvents, _index, _isValid, _modified, _name, defaultDescription, defaultName, DESCRIPTION_CHANGED, NAME_CHANGED, RENAME_EVENTFields inherited from interface hec.model.TSRecord
DEFAULT_INPUT, OBS_INPUT, SUMMARY_AVG, SUMMARY_CNT, SUMMARY_MAX, SUMMARY_MIN, SUMMARY_NUMID -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Creates a new object of the same class as this object.doublegetFieldObject(Field fld) This method allows access to java.lang.reflect.Field objects within the implementing class.int[]hec.data.tx.DescriptionTxdouble[]Get the data array for the time series record.voidDeprecated.booleanbooleanisInput()booleanreadData(BufferedReader input) Read write methods for storing TSRecords to an ASCII filevoidreset()voidsetDataFeedAlive(boolean tf) voidvoidsetFactor(double f) booleansetFieldObject(Field fld, Object fobj) This allows access to fields withing the implementing object to set there data.voidsetFullName(String str) voidsetInput(boolean flag) voidvoidsetParent(TSLocation tsl) voidsetTimeSeriesDescription(hec.data.tx.DescriptionTx tsdesc) voidsetTSDataSet(ITSDataSet tsdata) toString()voidunload()Methods inherited from class hec.clientapp.model.TSRecordImpl
checkTSData, doInterpolations, getAltName, getDataSet, getRelativePath, isEvapData, isInputData, isValidValue, isValidValue, loadRawTSData, loadRawTSData, loadTSData, loadTSData, loadTSData, loadTSData, setTSDataSet, shouldInterpEvapData, unloadTSData, writeInterpolatedInputData, writeTSData, writeTSData, writeTSData, writeTSDataAsMethods inherited from class hec.model.AbstractTSRecord
average, copyInto, forceVerticalDatum, getBeginDate, getBeginTime, getCumulativeTotal, getCumulativeTotal, getCurrentOffset, getCurrentOffset, getCurrentValue, getCurrentVerticalDatum, getDataArrayFor, getDSSFilename, getDSSPathname, getInputDataPos, getInterpolatedTSArray, getInterpUnitsType, getLaggedValue, getNativeVerticalDatum, getNAVD88Offset, getNAVD88Offset, getNGVD29Offset, getNGVD29Offset, getNumSteps, getParamName, getPeriodAverage, getPeriodAverage, getPeriodAverage, getPeriodAverage, getPreviousValue, getSummaryArray, getTimeSeriesContainer, getTimeSeriesContainerFor, getTimeStepMinutes, getTimeWindowString, getTSValueAt, getUnits, getUnitsType, getValue, getValue, getVariableId, getVerticalDatumContainer, getVerticalDatumInfo, hasVerticalDatum, initialize, initialize, isCurrentVerticalDatumEstimated, isDefaultData, isNAVD88OffsetEstimated, isNGVD29OffsetEstimated, isObservedData, max, min, parseDssPath, readDataFromRas, reinitialize, setCompressData, setCurrentValue, setCurrentValue, setDSSFilename, setDSSPathname, setDSSPathname, setInputDataPos, setInterpUnitsType, setParamName, setTimeWindow, setTimeWindowString, setUnits, setUnitsType, setVariableId, setVerticalDatumContainer, setVerticalDatumInfo, shiftLeft, shiftLeft, standardDeviation, sum, toNativeVerticalDatum, toNAVD88, toNGVD29, toVerticalDatum, writeData, writeDataToRasMethods inherited from class hec.lang.NamedType
addModifiableListener, compareTo, fireModifiedStateChanged, getDescription, getDisplayName, getIgnoreModifiedEvents, getIndex, getName, isModified, isValid, readResolve, removeModifiableListener, rename, set, setDescription, setIgnoreModifiedEvents, setIndex, setModified, setName, setValid, update, useRecursiveModifiedTestMethods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
-
Field Details
-
_tsRecord
-
-
Constructor Details
-
TSRecordProxy
public TSRecordProxy() -
TSRecordProxy
-
TSRecordProxy
-
-
Method Details
-
getParent
-
setFullName
-
getFullName
-
toString
-
clone
Description copied from class:NamedTypeCreates 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:
clonein classAbstractTSRecord
-
setParent
-
getFactor
public double getFactor() -
setFactor
public void setFactor(double f) -
getDefaultPath
-
setDefaultPath
-
initialize
Deprecated.Please usereset() -
reset
public void reset()- Specified by:
resetin interfaceTSRecord- Overrides:
resetin classAbstractTSRecord
-
unload
public void unload() -
isInput
public boolean isInput() -
setInput
public void setInput(boolean flag) -
setTSDataSet
-
getTSArray
public double[] getTSArray()Description copied from class:AbstractTSRecordGet the data array for the time series record.- Specified by:
getTSArrayin interfaceTSRecord- Overrides:
getTSArrayin classAbstractTSRecord- Returns:
- double array containing all data values for record
-
getTSRecord
-
getTSContainer
- Specified by:
getTSContainerin interfaceTSRecord- Overrides:
getTSContainerin classAbstractTSRecord
-
getTimeArray
public int[] getTimeArray()- Specified by:
getTimeArrayin interfaceTSRecord- Overrides:
getTimeArrayin classAbstractTSRecord
-
readData
Description copied from interface:TSRecordRead write methods for storing TSRecords to an ASCII file- Specified by:
readDatain interfaceTSRecord- Overrides:
readDatain classAbstractTSRecord
-
setName
-
getFieldObject
Description copied from interface:FieldAccessorThis method allows access to java.lang.reflect.Field objects within the implementing class.- Specified by:
getFieldObjectin interfaceFieldAccessor- Overrides:
getFieldObjectin classAbstractTSRecord- Parameters:
fld- The field to get.- Returns:
- The data object that is stored in the given field
-
setFieldObject
Description copied from interface:FieldAccessorThis allows access to fields withing the implementing object to set there data.- Specified by:
setFieldObjectin interfaceFieldAccessor- Overrides:
setFieldObjectin classAbstractTSRecord- Parameters:
fld- The java field object representing the member field to be setfobj- 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()
-
reset()