Class BasicDataPoint

    • Constructor Summary

      Constructors 
      Constructor Description
      BasicDataPoint​(java.lang.String path, java.lang.Object value, int quality, long ts)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getPath()  
      int getQuality()
      The data quality of the point.
      long getTimestamp()
      UTC time of the result.
      java.lang.Object getValue()
      The value of the datapoint.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • BasicDataPoint

        public BasicDataPoint​(java.lang.String path,
                              java.lang.Object value,
                              int quality,
                              long ts)
    • Method Detail

      • getPath

        public java.lang.String getPath()
        Specified by:
        getPath in interface DataPoint
      • getValue

        public java.lang.Object getValue()
        Description copied from interface: DataPoint
        The value of the datapoint. Data type is governed by the PathInfo for the particular index.
        Specified by:
        getValue in interface DataPoint
      • getQuality

        public int getQuality()
        Description copied from interface: DataPoint
        The data quality of the point.
        Specified by:
        getQuality in interface DataPoint
      • getTimestamp

        public long getTimestamp()
        Description copied from interface: DataPoint
        UTC time of the result.
        Specified by:
        getTimestamp in interface DataPoint
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object