Class DataMessage


  • public class DataMessage
    extends java.lang.Object
    Represents the data sent by the meter. The data consists of the manufacturer ID, the meter ID (optional), the enhanced ID/capability (optional), and a list of data sets.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<DataSet> getDataSets()
      Returns the data sets of this data message.
      java.lang.String getEnhancedId()
      Returns the enhanced identification/capability characters as a string.
      java.lang.String getManufacturerId()
      Returns the manufacturer identification of this data message.
      java.lang.String getMeterId()
      Returns the identification string (except for the enhanced identification characters).
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

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

      • getManufacturerId

        public java.lang.String getManufacturerId()
        Returns the manufacturer identification of this data message.
        Returns:
        the manufacturer identification
      • getMeterId

        public java.lang.String getMeterId()
        Returns the identification string (except for the enhanced identification characters).
        Returns:
        the identification string
      • getEnhancedId

        public java.lang.String getEnhancedId()
        Returns the enhanced identification/capability characters as a string.
        Returns:
        the enhanced identification/capability characters
      • getDataSets

        public java.util.List<DataSet> getDataSets()
        Returns the data sets of this data message.
        Returns:
        the data sets
      • toString

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