|
|||||||||||
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
com.ibm.sensorevent.model.payload.PassiveRFIDTagReadPayload
public class PassiveRFIDTagReadPayload
PassiveRFIDTagReadPayload represents passive RFID tag read events sent from Data Capture to Premises Server.
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT
|
Fields inherited from class com.ibm.sensorevent.model.payload.TagReadReportPayload |
---|
ALLTAGS, ATTR_ANTENNA, ATTR_COUNT, ATTR_READER, ATTR_TAG_METADATA, ATTR_TAGS, ATTR_TIME_STAMP_FIRST, ATTR_VALUE, CASES, IDLIST, IDURILIST, ITEMS, keyMap, PALLETS, RAWURILIST, TAGURILIST |
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 |
PassiveRFIDTagReadPayload()
Constructs a PassiveRFIDTagReadPayload |
protected |
PassiveRFIDTagReadPayload(java.lang.String eventType)
Construts a PassiveRFIDTagReadPayload for the specified event type |
Method Summary | |
---|---|
void |
addTagRead(PassiveRFIDTagRead tagread)
Adds the specified PassiveRFIDTagRead
to this payload's event group |
static IGenericGroup |
fromMap(java.util.Map map,
java.lang.String eventType)
Creates a PassiveRFIDTagReadPayload from the specified java.util.Map and for the event type |
EPCTag |
getEPCTag()
Returns the EPC from the payload |
EPCTag |
getEPCTag(java.lang.String tagreadname)
Returns the EPC from the payload for the specific tag read |
static IGenericGroup |
getInstance()
Factory method to create a PassiveRFIDTagReadPayload |
static IGenericGroup |
getInstance(IPayload sourcePayload)
Factory method to create a PassiveRFIDTagReadPayload from the specified payload |
static IGenericGroup |
getInstance(java.lang.String eventType)
Factory method to create a PassiveRFIDTagReadPayload for the specified event type |
java.lang.String |
getTagID()
Returns the tag ID from the payload |
java.lang.String |
getTagID(java.lang.String tagreadname)
Returns the tag ID from the payload for the specific tag read |
IGenericGroup |
getTagRead()
Returns the PassiveRFIDTagRead
from within this payload's event group |
IGenericGroup |
getTagRead(java.lang.String tagreadname)
Returns the specific ITagRead
from this payload's event group |
java.util.Map |
toAmitMap()
Converts this PassiveRFIDTagReadPayload to a java.util.Map used by AMIT |
java.util.Map |
toMap()
Converts this PassiveRFIDTagReadPayload to a java.util.Map |
java.util.Map |
toTypedMap()
Returns the same result as toMap |
java.util.Map |
toWarehouseSampleAmitMap()
Converts this PassiveRFIDTagReadPayload to a java.util.Map used by the Warehouse Sample using AMIT rules |
Methods inherited from class com.ibm.sensorevent.model.payload.TagReadReportPayload |
---|
getValue, processMap, processMap, processTagMap, setValue |
Methods inherited from class com.ibm.sensorevent.model.payload.IBMSensorEventPayload |
---|
copyFields, fromMap, fromMap, fromTypedMap, fromTypedMap, fromTypedMap, getAllGenericTagIDs, getEventGroup, getGenericTagID, getGenericTagIDFromAttribute, getGenericTagIDs, getGenericTagIDsFromAttribute, 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
Constructor Detail |
---|
protected PassiveRFIDTagReadPayload() throws SensorEventException
SensorEventException
protected PassiveRFIDTagReadPayload(java.lang.String eventType) throws SensorEventException
eventType
- the event type
SensorEventException
Method Detail |
---|
public static IGenericGroup getInstance() throws SensorEventException
SensorEventException
public static IGenericGroup getInstance(java.lang.String eventType) throws SensorEventException
eventType
- the event type
SensorEventException
public static IGenericGroup getInstance(IPayload sourcePayload) throws SensorEventException
sourcePayload
- the payload to copy from
SensorEventException
public java.util.Map toMap() throws SensorEventException
toMap
in interface IGroup
toMap
in class TagReadReportPayload
SensorEventException
public java.util.Map toTypedMap() throws SensorEventException
toTypedMap
in interface IGroup
toTypedMap
in class TagReadReportPayload
SensorEventException
public static IGenericGroup fromMap(java.util.Map map, java.lang.String eventType) throws SensorEventException
map
- source java.util.MapeventType
- the event type
SensorEventException
public java.util.Map toAmitMap() throws SensorEventException
SensorEventException
public java.util.Map toWarehouseSampleAmitMap() throws SensorEventException
SensorEventException
public void addTagRead(PassiveRFIDTagRead tagread) throws SensorEventException
PassiveRFIDTagRead
to this payload's event group
tagread
- the PassiveRFIDTagRead to add
SensorEventException
public IGenericGroup getTagRead() throws SensorEventException
PassiveRFIDTagRead
from within this payload's event group
SensorEventException
public IGenericGroup getTagRead(java.lang.String tagreadname) throws SensorEventException
ITagRead
from this payload's event group
tagreadname
- the tag read name to return
SensorEventException
public java.lang.String getTagID() throws SensorEventException
SensorEventException
public java.lang.String getTagID(java.lang.String tagreadname) throws SensorEventException
SensorEventException
public EPCTag getEPCTag() throws SensorEventException
SensorEventException
public EPCTag getEPCTag(java.lang.String tagreadname) throws SensorEventException
SensorEventException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |