public class SensorReadingEvent extends JetstreamEvent
JetstreamEvent
,
Jetstream
Constructor and Description |
---|
SensorReadingEvent(java.lang.String xml)
Creates a new SensorReadingEvent object from an xml string
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getEventId()
Get the 'EventId' attribute value.
|
java.util.Date |
getEventTime()
Get the 'EventTime' attribute value.
|
java.lang.String |
getLogicalDeviceId()
Get the 'LogicalDeviceId' attribute value.
|
java.util.List<Reading> |
getReadingList()
Get the list of 'Reading' element items.
|
java.util.Date |
getReceivedTime()
Get the 'ReceivedTime' attribute value.
|
getId, getSourceXML, getTime, getType, setId, setSource, setTime, setType
public SensorReadingEvent(java.lang.String xml)
xml
- The xml string to be deserialized into an SensorReadingEvent
objectpublic java.lang.String getEventId()
public java.util.Date getEventTime()
public java.lang.String getLogicalDeviceId()
public java.util.Date getReceivedTime()
public java.util.List<Reading> getReadingList()