Package hec.data.tx
Class DescriptionTx
java.lang.Object
hec.data.AbstractDataSet
hec.data.tx.AbstractDataSetT
hec.data.tx.DescriptionTx
- All Implemented Interfaces:
ITimeSeriesDescription,Serializable
@Deprecated
public class DescriptionTx
extends AbstractDataSetT
implements Serializable, ITimeSeriesDescription
Deprecated.
A DescriptionTx defines a time series data set. It is composed of: a
Location, a Parameter, a ParameterType, an Interval, a Duration, and a
Version.
A Description is a required part of each DataSetTx and DataSetTxTemplate.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classDeprecated.static enumDeprecated. -
Field Summary
Fields inherited from class hec.data.tx.AbstractDataSetT
utcTzFields inherited from class hec.data.AbstractDataSet
subFieldDelimiter -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDeprecated.DescriptionTx(LocationID location, Parameter parameter, ParameterType parameterType, Interval interval, Duration duration, Version version) Deprecated.Constructs a DescriptionTx from the arguments.DescriptionTx(DescriptionTx descriptionTx) Deprecated.Constructs a copy of the argument DescriptionTx.DescriptionTx(String delimString) Deprecated.Constructs a DescriptionTx from a period delimited String.DescriptionTx(String officeId, LocationID location, Parameter parameter, ParameterType parameterType, Interval interval, Duration duration, Version version) Deprecated.DescriptionTx(String officeId, String delimString) Deprecated.DescriptionTx(mil.army.usace.hec.metadata.timeseries.TimeSeriesIdentifier timeSeriesIdentifier) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionvoidcheckUtcIntervalOffset(long time) Deprecated.copy()Deprecated.booleandescribesSameDataAs(DescriptionTx descriptionTx) Deprecated.Assures the two descriptions apply equally to a data set, even if the descriptions differ by location or labelling.booleanDeprecated.Evalutes if other description is equal(identical)voidDeprecated.booleanDeprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.rma.util.lookup.LookupDeprecated.Returns a lookup of capabilites that can be done on this objectintDeprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.mil.army.usace.hec.metadata.timeseries.TimeSeriesIdentifierDeprecated.intDeprecated.intDeprecated.Returns the UTC interval offset.intDeprecated.Returns the UTC interval offset.Deprecated.Deprecated.Deprecated.inthashCode()Deprecated.booleanDeprecated.static Map<DescriptionTx.Parts,String> Deprecated.protected voidset(LocationID location, Parameter parameter, ParameterType parameterType, Interval interval, Duration duration, Version version) Deprecated.protected voidDeprecated.voidsetActive(boolean active) Deprecated.voidsetIntervalName(String intervalName) Deprecated.voidsetLocalRegularTimeZone(String strLocalRegularTimeZone) Deprecated.voidsetLocationRef(LocationTemplate template) Deprecated.voidsetOfficeId(String officeId) Deprecated.voidsetUserPrivilege(int userPrivilege) Deprecated.voidsetUtcIntervalOffset(int offset) Deprecated.Sets the UTC interval offset.voidsetUtcIntervalOffset(String offsetString) Deprecated.voidsetVersion(Version version) Deprecated.toString()Deprecated.Methods inherited from class hec.data.AbstractDataSet
sdfFULL
-
Constructor Details
-
DescriptionTx
Deprecated.Constructs a DescriptionTx from a period delimited String. The String follows this format "location.param.type.interval.duration.version"- Throws:
DataSetIllegalArgumentException
-
DescriptionTx
Deprecated.- Throws:
DataSetIllegalArgumentException
-
DescriptionTx
public DescriptionTx(LocationID location, Parameter parameter, ParameterType parameterType, Interval interval, Duration duration, Version version) throws DataSetIllegalArgumentException Deprecated.Constructs a DescriptionTx from the arguments.- Throws:
DataSetIllegalArgumentException
-
DescriptionTx
public DescriptionTx(String officeId, LocationID location, Parameter parameter, ParameterType parameterType, Interval interval, Duration duration, Version version) throws DataSetIllegalArgumentException Deprecated.- Throws:
DataSetIllegalArgumentException
-
DescriptionTx
protected DescriptionTx()Deprecated. -
DescriptionTx
public DescriptionTx(mil.army.usace.hec.metadata.timeseries.TimeSeriesIdentifier timeSeriesIdentifier) Deprecated. -
DescriptionTx
Deprecated.Constructs a copy of the argument DescriptionTx.
-
-
Method Details
-
fillTimeSeriesContainer
Deprecated. -
getTimeSeriesIdentifierMetaData
public mil.army.usace.hec.metadata.timeseries.TimeSeriesIdentifier getTimeSeriesIdentifierMetaData()Deprecated. -
getLookup
public rma.util.lookup.Lookup getLookup()Deprecated.Returns a lookup of capabilites that can be done on this object- Specified by:
getLookupin interfaceITimeSeriesDescription
-
set
protected void set(LocationID location, Parameter parameter, ParameterType parameterType, Interval interval, Duration duration, Version version) throws DataSetIllegalArgumentException Deprecated.- Throws:
DataSetIllegalArgumentException
-
set
protected void set(String loc, String param, String type, String interv, String durat, String ver) throws DataSetIllegalArgumentException Deprecated.- Throws:
DataSetIllegalArgumentException
-
parse
public static Map<DescriptionTx.Parts,String> parse(String descriptionStr) throws DataSetIllegalArgumentException Deprecated.- Throws:
DataSetIllegalArgumentException
-
setIntervalName
Deprecated.- Throws:
DataSetIllegalArgumentException
-
equals
Deprecated.Evalutes if other description is equal(identical) -
hashCode
public int hashCode()Deprecated. -
describesSameDataAs
Deprecated.Assures the two descriptions apply equally to a data set, even if the descriptions differ by location or labelling. -
getOfficeId
Deprecated.- Specified by:
getOfficeIdin interfaceITimeSeriesDescription
-
setOfficeId
Deprecated. -
setUserPrivilege
public void setUserPrivilege(int userPrivilege) Deprecated. -
setActive
public void setActive(boolean active) Deprecated. -
setUtcIntervalOffset
Deprecated.- Throws:
DataSetIllegalArgumentException
-
setUtcIntervalOffset
Deprecated.Sets the UTC interval offset. Must be a value less than the Interval. Units for the interval offset are in seconds.- Parameters:
offset- The new interval offset in seconds- Throws:
DataSetIllegalArgumentException
-
getUtcIntervalOffset
public int getUtcIntervalOffset()Deprecated.Returns the UTC interval offset.- Returns:
- Interval offset in seconds
-
getUtcIntervalOffsetInMinutes
public int getUtcIntervalOffsetInMinutes()Deprecated.Returns the UTC interval offset.- Returns:
- Interval offset in minutes
-
getUtcIntervalOffsetString
Deprecated. -
checkUtcIntervalOffset
Deprecated. -
getLocationRef
Deprecated.- Specified by:
getLocationRefin interfaceITimeSeriesDescription
-
setLocationRef
Deprecated.- Specified by:
setLocationRefin interfaceITimeSeriesDescription
-
getLocationID
Deprecated. -
getParameter
Deprecated. -
getDuration
Deprecated.- Specified by:
getDurationin interfaceITimeSeriesDescription
-
getInterval
Deprecated.- Specified by:
getIntervalin interfaceITimeSeriesDescription
-
getIntervalName
Deprecated. -
getVersion
Deprecated.- Specified by:
getVersionin interfaceITimeSeriesDescription
-
setVersion
Deprecated. -
getParameterType
Deprecated.- Specified by:
getParameterTypein interfaceITimeSeriesDescription
-
getMinutes
public int getMinutes()Deprecated. -
isRegular
public boolean isRegular()Deprecated.- Specified by:
isRegularin interfaceITimeSeriesDescription
-
toString
Deprecated. -
setLocalRegularTimeZone
public void setLocalRegularTimeZone(String strLocalRegularTimeZone) throws IllegalLocalRegularTimeZoneException Deprecated. -
getLocalRegularTimeZone
Deprecated. -
getLocalRegularTimeZoneString
Deprecated. -
getActive
public boolean getActive()Deprecated.- Specified by:
getActivein interfaceITimeSeriesDescription
-
getUserPrivilege
public int getUserPrivilege()Deprecated.- Specified by:
getUserPrivilegein interfaceITimeSeriesDescription
-
getParameterId
Deprecated.- Specified by:
getParameterIdin interfaceITimeSeriesDescription
-
getUtcIntervalOffsetObject
Deprecated.- Specified by:
getUtcIntervalOffsetObjectin interfaceITimeSeriesDescription
-
getTimeSeriesId
Deprecated.- Specified by:
getTimeSeriesIdin interfaceITimeSeriesDescription
-
copy
Deprecated.- Specified by:
copyin interfaceITimeSeriesDescription
-