com.timeindexing.plugin
Class AnnotationReaderResult

java.lang.Object
  extended by com.timeindexing.plugin.DefaultReaderResult
      extended by com.timeindexing.plugin.AnnotationReaderResult
All Implemented Interfaces:
ReaderResult

public class AnnotationReaderResult
extends DefaultReaderResult
implements ReaderResult

An implementation for the value returned by a reader plugin that also holds a value for an annotation to be assigned with the result.


Constructor Summary
AnnotationReaderResult(java.nio.ByteBuffer bb, Timestamp dTS, DataType dType, long annotationValue)
          Construct an AnnotationReaderResult
 
Method Summary
 long getAnnotation()
          Get the annotation value.
 
Methods inherited from class com.timeindexing.plugin.DefaultReaderResult
getData, getDataTimestamp, getDataType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.timeindexing.plugin.ReaderResult
getData, getDataTimestamp, getDataType
 

Constructor Detail

AnnotationReaderResult

public AnnotationReaderResult(java.nio.ByteBuffer bb,
                              Timestamp dTS,
                              DataType dType,
                              long annotationValue)
Construct an AnnotationReaderResult

Method Detail

getAnnotation

public long getAnnotation()
Get the annotation value.



Timeindexing 2008