Interface QualifiedValue
- 
- All Superinterfaces:
 java.io.Serializable
- All Known Subinterfaces:
 TagValue
- All Known Implementing Classes:
 BasicQualifiedValue,BasicQualifiedValue,BasicTagValue,ImmutableQualifiedValue,IndexedQualifiedValue,MutableTagValue,ProcessedValue
public interface QualifiedValue extends java.io.SerializableRepresents a value with a DataQuality & timestamp attached to it.Important Note: do not mutate the state of each of the
QualifiedValueconstants 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 callderive()to make a copy of the "implied" constant and mutate the state of the copy. 
- 
- 
Field Summary
Fields Modifier and Type Field Description static QualifiedValueBADstatic QualifiedValueCONFIG_ERRORstatic QualifiedValueDISABLEDstatic QualifiedValueEXPRESSION_EVAL_ERRORstatic QualifiedValueINITIAL_VALUEstatic QualifiedValueNOT_CONNECTEDstatic QualifiedValueNOT_FOUNDstatic QualifiedValueREFERENCE_NOT_FOUNDstatic QualifiedValueSTALEstatic QualifiedValueTRANSFORM_ERRORstatic QualifiedValueTYPE_CONVERSIONstatic QualifiedValueUNKNOWNstatic QualifiedValueUNSUPPORTED 
- 
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default QualifiedValuederive()default QualifiedValuederive(QualityCode newQuality)default QualifiedValuederive(java.lang.String diagnosticMessage)booleanequals(java.lang.Object value, boolean includeTimestamp)QualityCodegetQuality()java.util.DategetTimestamp()java.lang.ObjectgetValue() 
 - 
 
- 
- 
Field Detail
- 
BAD
static final QualifiedValue BAD
 
- 
UNKNOWN
static final QualifiedValue UNKNOWN
 
- 
DISABLED
static final QualifiedValue DISABLED
 
- 
NOT_FOUND
static final QualifiedValue NOT_FOUND
 
- 
NOT_CONNECTED
static final QualifiedValue NOT_CONNECTED
 
- 
REFERENCE_NOT_FOUND
static final QualifiedValue REFERENCE_NOT_FOUND
 
- 
CONFIG_ERROR
static final QualifiedValue CONFIG_ERROR
 
- 
STALE
static final QualifiedValue STALE
 
- 
TYPE_CONVERSION
static final QualifiedValue TYPE_CONVERSION
 
- 
INITIAL_VALUE
static final QualifiedValue INITIAL_VALUE
 
- 
EXPRESSION_EVAL_ERROR
static final QualifiedValue EXPRESSION_EVAL_ERROR
 
- 
UNSUPPORTED
static final QualifiedValue UNSUPPORTED
 
- 
TRANSFORM_ERROR
static final QualifiedValue TRANSFORM_ERROR
 
 - 
 
- 
Method Detail
- 
getValue
java.lang.Object getValue()
 
- 
getQuality
QualityCode getQuality()
 
- 
getTimestamp
java.util.Date getTimestamp()
 
- 
equals
boolean equals(java.lang.Object value, boolean includeTimestamp) 
- 
derive
default QualifiedValue derive()
 
- 
derive
default QualifiedValue derive(java.lang.String diagnosticMessage)
 
- 
derive
default QualifiedValue derive(QualityCode newQuality)
 
 - 
 
 -