|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.sensorevent.model.generic.GenericGroup
com.ibm.sensorevent.model.Group
com.ibm.sensorevent.model.Payload
com.ibm.sensorevent.model.payload.IBMSensorEventPayload
com.ibm.sensorevent.model.payload.TagReadReportPayload
public abstract class TagReadReportPayload
TagReadReportPayload is the superclass of all tag reads sent from Data Capture to Premises Server.
Field Summary | |
---|---|
static java.lang.String |
ALLTAGS
The name of the all tags key in the AMIT map |
static java.lang.String |
ATTR_ANTENNA
|
static java.lang.String |
ATTR_COUNT
|
static java.lang.String |
ATTR_READER
|
static java.lang.String |
ATTR_TAG_METADATA
The name of the tag metadata attribute within this payload |
static java.lang.String |
ATTR_TAGS
The name of the tags attribute within this payload |
static java.lang.String |
ATTR_TIME_STAMP_FIRST
|
static java.lang.String |
ATTR_VALUE
The name of the value attribute within this payload |
static java.lang.String |
CASES
The name of the cases key in the AMIT map |
static java.lang.String |
COPYRIGHT
|
static java.lang.String |
IDLIST
The name of the IDLIST key in the AMIT map |
static java.lang.String |
IDURILIST
The name of the IDURILIST key in the AMIT map |
static java.lang.String |
ITEMS
The name of the items key in the AMIT map |
static java.util.Map |
keyMap
|
static java.lang.String |
PALLETS
The name of the pallets key in the AMIT map |
static java.lang.String |
RAWURILIST
The name of the RAWURILIST key in the AMIT map |
static java.lang.String |
TAGURILIST
The name of the TAGURILIST key in the AMIT map |
Fields inherited from class com.ibm.sensorevent.model.payload.IBMSensorEventPayload |
---|
ATTR_TAG_KEY_INOUT, ATTR_TAGLIST_KEY_INOUT, eventGroup |
Fields inherited from class com.ibm.sensorevent.model.Payload |
---|
payloadClassName |
Fields inherited from class com.ibm.sensorevent.model.generic.GenericGroup |
---|
attributes, groups, name |
Constructor Summary | |
---|---|
protected |
TagReadReportPayload()
Constructs a TagReadReportPayload |
protected |
TagReadReportPayload(java.lang.String eventType)
Constructs a TagReadReportPayload for the specified event type |
Method Summary | |
---|---|
java.lang.String |
getValue()
Returns this payload's value |
protected static TagReadReportPayload |
processMap(java.util.Map map,
TagReadReportPayload payload)
Copies known attributes from the map to the payload |
static IGenericGroup |
processMap(java.lang.String name,
java.util.Map container,
IGenericGroup tagReadGroup)
|
static PassiveRFIDTagRead |
processTagMap(java.util.Map map,
java.lang.String tagID)
Creates a PassiveRFIDTagRead
from the data in the map for the specified tag ID |
void |
setValue(java.lang.String s)
Sets this payload's value |
java.util.Map |
toMap()
Converts this payload to a java.util.Map of strings |
java.util.Map |
toTypedMap()
Returns the same result as toMap |
Methods inherited from class com.ibm.sensorevent.model.payload.IBMSensorEventPayload |
---|
copyFields, fromMap, fromMap, fromMap, fromTypedMap, fromTypedMap, fromTypedMap, getAllGenericTagIDs, getEventGroup, getGenericTagID, getGenericTagIDFromAttribute, getGenericTagIDs, getGenericTagIDsFromAttribute, getInstance, getInstance, getInstance, getInstance, setEventGroup |
Methods inherited from class com.ibm.sensorevent.model.Payload |
---|
copyFields, copyGroup, getPayloadClassName, setPayloadClassName, toString |
Methods inherited from class com.ibm.sensorevent.model.Group |
---|
processGroup, processMap, processTypedGroup, processTypedMap |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.ibm.sensorevent.model.IPayload |
---|
copyFields, getPayloadClassName, setPayloadClassName |
Field Detail |
---|
public static final java.lang.String COPYRIGHT
public static final java.lang.String ATTR_VALUE
public static final java.lang.String ATTR_TAGS
public static final java.lang.String ATTR_TAG_METADATA
public static final java.lang.String ATTR_TIME_STAMP_FIRST
public static final java.lang.String ATTR_COUNT
public static final java.lang.String ATTR_ANTENNA
public static final java.lang.String ATTR_READER
public static final java.lang.String PALLETS
public static final java.lang.String CASES
public static final java.lang.String ITEMS
public static final java.lang.String ALLTAGS
public static final java.lang.String IDLIST
public static final java.lang.String TAGURILIST
public static final java.lang.String IDURILIST
public static final java.lang.String RAWURILIST
public static java.util.Map keyMap
Constructor Detail |
---|
protected TagReadReportPayload() throws SensorEventException
SensorEventException
protected TagReadReportPayload(java.lang.String eventType) throws SensorEventException
eventType
- the event type
SensorEventException
Method Detail |
---|
public java.util.Map toMap() throws SensorEventException
toMap
in interface IGroup
toMap
in class IBMSensorEventPayload
SensorEventException
public java.util.Map toTypedMap() throws SensorEventException
toTypedMap
in interface IGroup
toTypedMap
in class IBMSensorEventPayload
SensorEventException
protected static TagReadReportPayload processMap(java.util.Map map, TagReadReportPayload payload) throws SensorEventException
map
- source java.util.Mappayload
- target payload
SensorEventException
public java.lang.String getValue() throws SensorEventException
SensorEventException
public void setValue(java.lang.String s) throws SensorEventException
SensorEventException
public static PassiveRFIDTagRead processTagMap(java.util.Map map, java.lang.String tagID) throws SensorEventException
PassiveRFIDTagRead
from the data in the map for the specified tag ID
map
- the java.util.MaptagID
- the tag ID
SensorEventException
public static IGenericGroup processMap(java.lang.String name, java.util.Map container, IGenericGroup tagReadGroup) throws SensorEventException
SensorEventException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |