Interface QualifiedValue
- All Superinterfaces:
Serializable
- All Known Subinterfaces:
TagValue
- All Known Implementing Classes:
BasicQualifiedValue
,BasicQualifiedValue
,BasicTagValue
,ImmutableQualifiedValue
,IndexedQualifiedValue
,MutableTagValue
,ProcessedValue
Represents a value with a DataQuality & timestamp attached to it.
Important Note: do not mutate the state of each of the QualifiedValue
constants on this interface.
While these constants should be immutable, they remain mutable for backwards-compatibility. If there is any chance
that a reference to one of these constants could be passed around to code which may mutate its state, instead call
derive()
to make a copy of the "implied" constant and mutate the state of the copy.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final QualifiedValue
static final QualifiedValue
static final QualifiedValue
static final QualifiedValue
static final QualifiedValue
static final QualifiedValue
static final QualifiedValue
static final QualifiedValue
static final QualifiedValue
static final QualifiedValue
static final QualifiedValue
static final QualifiedValue
static final QualifiedValue
-
Method Summary
Modifier and TypeMethodDescriptiondefault QualifiedValue
derive()
default QualifiedValue
derive
(QualityCode newQuality) default QualifiedValue
boolean
getValue()
-
Field Details
-
BAD
-
UNKNOWN
-
DISABLED
-
NOT_FOUND
-
NOT_CONNECTED
-
REFERENCE_NOT_FOUND
-
CONFIG_ERROR
-
STALE
-
TYPE_CONVERSION
-
INITIAL_VALUE
-
EXPRESSION_EVAL_ERROR
-
UNSUPPORTED
-
TRANSFORM_ERROR
-
-
Method Details
-
getValue
Object getValue() -
getQuality
QualityCode getQuality() -
getTimestamp
Date getTimestamp() -
equals
-
derive
-
derive
-
derive
-