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 class
Deprecated.static enum
Deprecated. -
Field Summary
Fields inherited from class hec.data.tx.AbstractDataSetT
utcTz
Fields inherited from class hec.data.AbstractDataSet
subFieldDelimiter
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
Deprecated.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 TypeMethodDescriptionvoid
checkUtcIntervalOffset
(long time) Deprecated.copy()
Deprecated.boolean
describesSameDataAs
(DescriptionTx descriptionTx) Deprecated.Assures the two descriptions apply equally to a data set, even if the descriptions differ by location or labelling.boolean
Deprecated.Evalutes if other description is equal(identical)void
Deprecated.boolean
Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.rma.util.lookup.Lookup
Deprecated.Returns a lookup of capabilites that can be done on this objectint
Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.mil.army.usace.hec.metadata.timeseries.TimeSeriesIdentifier
Deprecated.int
Deprecated.int
Deprecated.Returns the UTC interval offset.int
Deprecated.Returns the UTC interval offset.Deprecated.Deprecated.Deprecated.int
hashCode()
Deprecated.boolean
Deprecated.static Map<DescriptionTx.Parts,
String> Deprecated.protected void
set
(LocationID location, Parameter parameter, ParameterType parameterType, Interval interval, Duration duration, Version version) Deprecated.protected void
Deprecated.void
setActive
(boolean active) Deprecated.void
setIntervalName
(String intervalName) Deprecated.void
setLocalRegularTimeZone
(String strLocalRegularTimeZone) Deprecated.void
setLocationRef
(LocationTemplate template) Deprecated.void
setOfficeId
(String officeId) Deprecated.void
setUserPrivilege
(int userPrivilege) Deprecated.void
setUtcIntervalOffset
(int offset) Deprecated.Sets the UTC interval offset.void
setUtcIntervalOffset
(String offsetString) Deprecated.void
setVersion
(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:
getLookup
in 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:
getOfficeId
in 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:
getLocationRef
in interfaceITimeSeriesDescription
-
setLocationRef
Deprecated.- Specified by:
setLocationRef
in interfaceITimeSeriesDescription
-
getLocationID
Deprecated. -
getParameter
Deprecated. -
getDuration
Deprecated.- Specified by:
getDuration
in interfaceITimeSeriesDescription
-
getInterval
Deprecated.- Specified by:
getInterval
in interfaceITimeSeriesDescription
-
getIntervalName
Deprecated. -
getVersion
Deprecated.- Specified by:
getVersion
in interfaceITimeSeriesDescription
-
setVersion
Deprecated. -
getParameterType
Deprecated.- Specified by:
getParameterType
in interfaceITimeSeriesDescription
-
getMinutes
public int getMinutes()Deprecated. -
isRegular
public boolean isRegular()Deprecated.- Specified by:
isRegular
in interfaceITimeSeriesDescription
-
toString
Deprecated. -
setLocalRegularTimeZone
public void setLocalRegularTimeZone(String strLocalRegularTimeZone) throws IllegalLocalRegularTimeZoneException Deprecated. -
getLocalRegularTimeZone
Deprecated. -
getLocalRegularTimeZoneString
Deprecated. -
getActive
public boolean getActive()Deprecated.- Specified by:
getActive
in interfaceITimeSeriesDescription
-
getUserPrivilege
public int getUserPrivilege()Deprecated.- Specified by:
getUserPrivilege
in interfaceITimeSeriesDescription
-
getParameterId
Deprecated.- Specified by:
getParameterId
in interfaceITimeSeriesDescription
-
getUtcIntervalOffsetObject
Deprecated.- Specified by:
getUtcIntervalOffsetObject
in interfaceITimeSeriesDescription
-
getTimeSeriesId
Deprecated.- Specified by:
getTimeSeriesId
in interfaceITimeSeriesDescription
-
copy
Deprecated.- Specified by:
copy
in interfaceITimeSeriesDescription
-