Package hec.data.tx
Class DataSetTxTemplate
java.lang.Object
hec.data.AbstractDataSet
hec.data.tx.AbstractDataSetT
hec.data.tx.DataSetTxTemplate
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
DataSetTx
Deprecated.
Template to define characteristics of a data set. Templates can be used to
define what data is desired to be read from a database, to be derived from
another compatable data set, or other purpose. Because a DataSetTx extends a
DataSetTxTemplate, a DataSetTx may be used as a template.
- See Also:
-
Field Summary
Fields inherited from class hec.data.tx.AbstractDataSetT
utcTzFields inherited from class hec.data.AbstractDataSet
subFieldDelimiter -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Deprecated.DataSetTxTemplate(DescriptionTx description) Deprecated.DataSetTxTemplate(DescriptionTx description, long startTime, long endTime) Deprecated.DataSetTxTemplate(DescriptionTx description, long startTime, long endTime, Units units) Deprecated.DataSetTxTemplate(DescriptionTx description, long startTime, long endTime, Units units, boolean preserveRejectedAndMissingValues, int maxTimeGapDefinedByIntervals) Deprecated.DataSetTxTemplate(DescriptionTx description, long startTime, long endTime, Units units, boolean preserveRejectedAndMissingValues, long maxTimeGap) Deprecated.DataSetTxTemplate(DescriptionTx description, Units units) Deprecated.DataSetTxTemplate(mil.army.usace.hec.data.timeseries.math.TimeSeriesTemplate timeSeriesTemplate) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionvoidDeprecated.protected voidDeprecated.booleanequals(DataSetTxTemplate dataSetTxTemplate) Deprecated.booleanDeprecated.Deprecated.Returns a copy of the time series identifier for this template.longDeprecated.Deprecated.getEndTimeString(String timeZone) Deprecated.longDeprecated.Deprecated.Returns the office id of the encapsulated description tx.booleanDeprecated.longDeprecated.Deprecated.getStartTimeString(String timeZone) Deprecated.final mil.army.usace.hec.data.timeseries.math.TimeSeriesTemplateDeprecated.getUnits()Deprecated.Deprecated.Returns a reference (not a copy) to the version associated with this object's time series identifier.inthashCode()Deprecated.static booleanisTemplate(DataSetTxTemplate dataSetTxTemplate) Deprecated.voidsetEndTime(long endTime) Deprecated.protected voidsetEndTimeInternal(long endTime) Deprecated.voidsetMaxTimeGap(long maxTimeGap) Deprecated.voidsetMaxTimeGapDefinedByHours(int maxTimeGapDefinedByHours) Deprecated.voidsetMaxTimeGapDefinedByIntervals(int maxTimeGapDefinedByIntervals) Deprecated.voidsetMaxTimeGapDefinedByMinutes(int maxTimeGapDefinedByMinutes) Deprecated.voidsetOfficeId(String officeId) Deprecated.Sets the office id of the encapsulated description tx.voidsetPreserveRejectedAndMissingValues(boolean preserveRejectedAndMissingValues) Deprecated.voidsetStartTime(long startTime) Deprecated.protected voidsetStartTimeInternal(long startTime) Deprecated.final voidDeprecated.Sets the units used in this templatevoidsetVersion(Version version) Deprecated.Sets the version of this object's time series identifier to the argument value.voidshow()Deprecated.voidDeprecated.toString()Deprecated.Deprecated.Methods inherited from class hec.data.AbstractDataSet
sdfFULL
-
Constructor Details
-
DataSetTxTemplate
public DataSetTxTemplate()Deprecated. -
DataSetTxTemplate
Deprecated. -
DataSetTxTemplate
public DataSetTxTemplate(DescriptionTx description, long startTime, long endTime) throws DataSetTxIllegalArgumentException Deprecated. -
DataSetTxTemplate
public DataSetTxTemplate(DescriptionTx description, Units units) throws DataSetTxIllegalArgumentException Deprecated. -
DataSetTxTemplate
public DataSetTxTemplate(DescriptionTx description, long startTime, long endTime, Units units) throws DataSetTxIllegalArgumentException Deprecated. -
DataSetTxTemplate
public DataSetTxTemplate(DescriptionTx description, long startTime, long endTime, Units units, boolean preserveRejectedAndMissingValues, int maxTimeGapDefinedByIntervals) throws DataSetTxIllegalArgumentException Deprecated. -
DataSetTxTemplate
public DataSetTxTemplate(DescriptionTx description, long startTime, long endTime, Units units, boolean preserveRejectedAndMissingValues, long maxTimeGap) throws DataSetTxIllegalArgumentException Deprecated. -
DataSetTxTemplate
Deprecated. -
DataSetTxTemplate
public DataSetTxTemplate(mil.army.usace.hec.data.timeseries.math.TimeSeriesTemplate timeSeriesTemplate) Deprecated.
-
-
Method Details
-
equals
Deprecated. -
hashCode
public int hashCode()Deprecated. -
getTimeSeriesTemplate
public final mil.army.usace.hec.data.timeseries.math.TimeSeriesTemplate getTimeSeriesTemplate()Deprecated. -
equals
Deprecated. -
toString
Deprecated. -
toString
Deprecated. -
getUnits
Deprecated.- Returns:
- copy of the units used in this template
-
setUnits
Deprecated.Sets the units used in this template- Parameters:
units- new units for this template- Throws:
DataSetTxIllegalArgumentException
-
setPreserveRejectedAndMissingValues
public void setPreserveRejectedAndMissingValues(boolean preserveRejectedAndMissingValues) Deprecated. -
getPreserveRejectedAndMissingValues
public boolean getPreserveRejectedAndMissingValues()Deprecated. -
setMaxTimeGap
public void setMaxTimeGap(long maxTimeGap) Deprecated. -
setMaxTimeGapDefinedByIntervals
public void setMaxTimeGapDefinedByIntervals(int maxTimeGapDefinedByIntervals) Deprecated. -
setMaxTimeGapDefinedByMinutes
public void setMaxTimeGapDefinedByMinutes(int maxTimeGapDefinedByMinutes) Deprecated. -
setMaxTimeGapDefinedByHours
public void setMaxTimeGapDefinedByHours(int maxTimeGapDefinedByHours) Deprecated. -
getMaxTimeGap
public long getMaxTimeGap()Deprecated. -
getStartTimeString
Deprecated. -
getStartTimeString
Deprecated. -
getEndTimeString
Deprecated. -
getEndTimeString
Deprecated. -
getStartTime
public long getStartTime()Deprecated. -
getEndTime
public long getEndTime()Deprecated. -
clearTimeWindow
public void clearTimeWindow()Deprecated. -
clearTimeWindowInternal
protected void clearTimeWindowInternal()Deprecated. -
setStartTime
Deprecated. -
setStartTimeInternal
Deprecated. -
setEndTime
Deprecated. -
setEndTimeInternal
Deprecated. -
isTemplate
Deprecated. -
getDescriptionTx
Deprecated.Returns a copy of the time series identifier for this template. The description was made immutable because parts of the description are dependent on the time series data and allow changes in those parts could lead to an illegal state. That said - not all parts of the description are immutable and as such, limited access to those parts should be defined via accessors in the data set tx template. -
getOfficeId
Deprecated.Returns the office id of the encapsulated description tx.- Returns:
-
setOfficeId
Deprecated.Sets the office id of the encapsulated description tx.- Parameters:
officeId-
-
getVersion
Deprecated.Returns a reference (not a copy) to the version associated with this object's time series identifier.- Returns:
-
setVersion
Deprecated.Sets the version of this object's time series identifier to the argument value.- Parameters:
version-
-
show
public void show()Deprecated. -
show
Deprecated.
-