@Deprecated public class BasicHistoricalTagValue extends java.lang.Object implements HistoricalTagValue
TAG_DATA_SIGNITURE
DISABLED, NOT_FOUND, REFERENCE_NOT_FOUND, UNKNOWN
Constructor and Description |
---|
BasicHistoricalTagValue(TagPath path,
DataTypeClass typeClass,
InterpolationMode queryMode,
java.lang.Object value,
DataQuality quality)
Deprecated.
|
BasicHistoricalTagValue(TagPath path,
DataTypeClass typeClass,
InterpolationMode queryMode,
TagValue value)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj)
Deprecated.
This is overridden in a particular way - we don't take value into account! This implementation is relied on to
detect multiple values for a given time, which we can't have.
|
boolean |
equals(java.lang.Object value,
boolean includeTimestamp)
Deprecated.
|
int |
getDataCount()
Deprecated.
This is a fairly ambiguous number, but basically indicates how many rows will ultimately be inserted in the
database.
|
HistoryFlavor |
getFlavor()
Deprecated.
The very broad "flavor" designator, used to get the data to the correct sink.
|
InterpolationMode |
getInterpolationMode()
Deprecated.
|
java.lang.String |
getLoggerName()
Deprecated.
Returns the name of the logger that should be notified when something happens to this data.
|
Quality |
getQuality()
Deprecated.
|
java.lang.String |
getSignature()
Deprecated.
The signature is a static string that describes this data as uniquely as possible.
|
TagPath |
getSource()
Deprecated.
|
java.util.Date |
getTimestamp()
Deprecated.
|
TimestampSource |
getTimestampSource()
Deprecated.
This class always returns system, as when it was created we didn't support OPC based time.
|
DataTypeClass |
getTypeClass()
Deprecated.
|
java.lang.Object |
getValue()
Deprecated.
|
public BasicHistoricalTagValue(TagPath path, DataTypeClass typeClass, InterpolationMode queryMode, java.lang.Object value, DataQuality quality)
public BasicHistoricalTagValue(TagPath path, DataTypeClass typeClass, InterpolationMode queryMode, TagValue value)
public java.lang.String getLoggerName()
HistoricalData
getLoggerName
in interface HistoricalData
public int getDataCount()
HistoricalData
getDataCount
in interface HistoricalData
public TagPath getSource()
getSource
in interface HistoricalTagValue
public HistoryFlavor getFlavor()
HistoricalData
getFlavor
in interface HistoricalData
public java.lang.String getSignature()
HistoricalData
Basically, the golden rule is that if two pieces of data have the same signature, the came from the same place,
and are going to the same place, and in theory could be grouped together (note: they won't be, that is done with
the GroupableData
interface).
getSignature
in interface HistoricalData
public DataTypeClass getTypeClass()
getTypeClass
in interface HistoricalTagValue
public InterpolationMode getInterpolationMode()
getInterpolationMode
in interface HistoricalTagValue
public boolean equals(java.lang.Object value, boolean includeTimestamp)
equals
in interface QualifiedValue
public Quality getQuality()
getQuality
in interface QualifiedValue
public java.util.Date getTimestamp()
getTimestamp
in interface QualifiedValue
public java.lang.Object getValue()
getValue
in interface QualifiedValue
public TimestampSource getTimestampSource()
getTimestampSource
in interface HistoricalTagValue
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object