Package org.openmuc.j62056
Class DataMessage
- java.lang.Object
-
- org.openmuc.j62056.DataMessage
-
public class DataMessage extends java.lang.ObjectRepresents 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.StringgetEnhancedId()Returns the enhanced identification/capability characters as a string.java.lang.StringgetManufacturerId()Returns the manufacturer identification of this data message.java.lang.StringgetMeterId()Returns the identification string (except for the enhanced identification characters).java.lang.StringtoString()
-
-
-
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:
toStringin classjava.lang.Object
-
-