Class DocumentIndex
java.lang.Object
com.inductiveautomation.ignition.common.DocumentIndex
- All Implemented Interfaces:
 SubIndex,Serializable
- See Also:
 
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionbooleanprotected ObjectextractValue(DocumentElement element) extractValue(Object source) Pulls the value out of a qualified value.getPath()inthashCode()booleanisCompatible(Class<?> dataClazz) Returns whether this sub index can be used with the incoming value type.static booleanisDocumentIndex(String value) static DocumentIndexA very simple parse mechanism.Returns the index in a way that can be appended to a path.toString()updateValue(Object sourceValue, Object elementValue)  
- 
Constructor Details
- 
DocumentIndex
 
 - 
 - 
Method Details
- 
isDocumentIndex
 - 
getPath
 - 
parse
A very simple parse mechanism. Allows: "[x]", "[x,y]", "x", "x,y" - 
isCompatible
Description copied from interface:SubIndexReturns whether this sub index can be used with the incoming value type.- Specified by:
 isCompatiblein interfaceSubIndex
 - 
extractValue
Description copied from interface:SubIndexPulls the value out of a qualified value. The resulting value will have the same timestamp and quality as the source, unless a new quality is generated as a result of trying to extract the. Returns any errors as quality on the value.- Specified by:
 extractValuein interfaceSubIndex
 - 
updateValue
- Specified by:
 updateValuein interfaceSubIndex
 - 
extractValue
- Throws:
 IllegalStateException
 - 
toEncodedString
Description copied from interface:SubIndexReturns the index in a way that can be appended to a path. Should return a value that can be read by a static parse function on the implementation.- Specified by:
 toEncodedStringin interfaceSubIndex
 - 
toString
 - 
equals
 - 
hashCode
public int hashCode() 
 -