Class ImmutableQualifiedValue
- java.lang.Object
- 
- com.inductiveautomation.perspective.common.ImmutableQualifiedValue
 
- 
- All Implemented Interfaces:
- QualifiedValue,- java.io.Serializable
 
 public class ImmutableQualifiedValue extends java.lang.Object implements QualifiedValue Created by carlg on 12/29/2016.- See Also:
- Serialized Form
 
- 
- 
Field Summary- 
Fields inherited from interface com.inductiveautomation.ignition.common.model.values.QualifiedValueBAD, CONFIG_ERROR, DISABLED, EXPRESSION_EVAL_ERROR, INITIAL_VALUE, NOT_CONNECTED, NOT_FOUND, REFERENCE_NOT_FOUND, STALE, TRANSFORM_ERROR, TYPE_CONVERSION, UNKNOWN, UNSUPPORTED
 
- 
 - 
Constructor SummaryConstructors Constructor Description ImmutableQualifiedValue(java.lang.Object value)ImmutableQualifiedValue(java.lang.Object value, QualityCode quality)ImmutableQualifiedValue(java.lang.Object value, QualityCode quality, java.util.Date timestamp)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object arg0)Tests that the objects values are equal.booleanequals(java.lang.Object val, boolean includeTimestamp)QualityCodegetQuality()java.util.DategetTimestamp()java.lang.ObjectgetValue()inthashCode()java.lang.StringtoString()- 
Methods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, wait, wait, wait
 - 
Methods inherited from interface com.inductiveautomation.ignition.common.model.values.QualifiedValuederive, derive, derive
 
- 
 
- 
- 
- 
Constructor Detail- 
ImmutableQualifiedValuepublic ImmutableQualifiedValue(java.lang.Object value) 
 - 
ImmutableQualifiedValuepublic ImmutableQualifiedValue(java.lang.Object value, QualityCode quality)
 - 
ImmutableQualifiedValuepublic ImmutableQualifiedValue(java.lang.Object value, QualityCode quality, java.util.Date timestamp)
 
- 
 - 
Method Detail- 
getValuepublic java.lang.Object getValue() - Specified by:
- getValuein interface- QualifiedValue
 
 - 
getQualitypublic QualityCode getQuality() - Specified by:
- getQualityin interface- QualifiedValue
 
 - 
getTimestamppublic java.util.Date getTimestamp() - Specified by:
- getTimestampin interface- QualifiedValue
 
 - 
equalspublic boolean equals(java.lang.Object arg0) Tests that the objects values are equal. DOES NOT TEST timestamp, because in most cases you want to leave it out. If you want to test it, call equals(val,true).- Overrides:
- equalsin class- java.lang.Object
 
 - 
equalspublic boolean equals(java.lang.Object val, boolean includeTimestamp)- Specified by:
- equalsin interface- QualifiedValue
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- java.lang.Object
 
 - 
toStringpublic java.lang.String toString() - Overrides:
- toStringin class- java.lang.Object
 
 
- 
 
-