|
|||||||||||
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.TagRead
com.ibm.sensorevent.model.payload.PassiveRFIDTagRead
public class PassiveRFIDTagRead
PassiveRFIDTagRead represents all the data processed by Premises Server for a passive RFID tag read.
Field Summary | |
---|---|
static java.lang.String |
ANTENNA
Name of the antenna attribute |
static java.lang.String |
COPYRIGHT
|
static java.lang.String |
COUNT
Name or the count attribute |
static java.lang.String |
DISCOVERED
Name of the discovered attribute |
static java.lang.String |
EPCFORMATS
EPC formats for this tag |
static java.lang.String |
READER
|
static java.lang.String |
TAGDATA
User data on the tag |
Fields inherited from class com.ibm.sensorevent.model.generic.GenericGroup |
---|
attributes, groups, name |
Fields inherited from interface com.ibm.sensorevent.model.payload.ITagRead |
---|
TAG, TAGREAD |
Constructor Summary | |
---|---|
protected |
PassiveRFIDTagRead()
Constructs a PassiveRFIDTagRead |
protected |
PassiveRFIDTagRead(java.lang.String newname)
Constructs a PasstiveRFIDTagRead the with the specified name |
Method Summary | |
---|---|
int |
getAntenna()
Returns the antenna attribute value |
int |
getCount()
Returns the count attribute value |
long |
getDiscovered()
Returns the discovered attribute value |
static IGenericGroup |
getInstance()
Factory method to create a PassiveRFIDTagRead |
static IGenericGroup |
getInstance(Group group)
Factory method to create a PassiveRFIDTagRead from the specified group |
static IGenericGroup |
getInstance(java.lang.String newname)
Factory method to create a PassiveRFIDTagRead with the specified name |
IGenericGroup |
getTag()
Returns the EPCTag for this PassiveRFIDTagRead |
void |
setAntenna(int antenna)
Sets the attenna attribute value |
void |
setCount(int count)
Sets the count attribute value |
void |
setDiscovered(long discovered)
Sets the discovered attribute value |
java.util.Map |
toMap()
Converts this PassivedRFIDTagRead to a java.util.Map |
java.util.Map |
toMap(java.util.Collection attrCol,
java.util.Collection groupCol,
java.util.Map map)
|
Methods inherited from class com.ibm.sensorevent.model.payload.TagRead |
---|
addTag, getReaderID, getTag, setReaderID |
Methods inherited from class com.ibm.sensorevent.model.Group |
---|
fromMap, fromTypedMap, processGroup, processMap, processTypedGroup, processTypedMap, toTypedMap |
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.IGroup |
---|
toTypedMap |
Field Detail |
---|
public static final java.lang.String COPYRIGHT
public static final java.lang.String DISCOVERED
public static final java.lang.String ANTENNA
public static final java.lang.String COUNT
public static final java.lang.String TAGDATA
public static final java.lang.String EPCFORMATS
public static final java.lang.String READER
Constructor Detail |
---|
protected PassiveRFIDTagRead() throws SensorEventException
SensorEventException
protected PassiveRFIDTagRead(java.lang.String newname) throws SensorEventException
newname
- the name
SensorEventException
Method Detail |
---|
public static IGenericGroup getInstance() throws SensorEventException
SensorEventException
public static IGenericGroup getInstance(java.lang.String newname) throws SensorEventException
newname
- the name
SensorEventException
public static IGenericGroup getInstance(Group group) throws SensorEventException
group
- the source group
SensorEventException
public int getAntenna() throws SensorEventException
SensorEventException
public int getCount() throws SensorEventException
SensorEventException
public long getDiscovered() throws SensorEventException
SensorEventException
public void setAntenna(int antenna) throws SensorEventException
SensorEventException
public void setCount(int count) throws SensorEventException
SensorEventException
public void setDiscovered(long discovered) throws SensorEventException
SensorEventException
public IGenericGroup getTag() throws SensorEventException
EPCTag
for this PassiveRFIDTagRead
getTag
in interface ITagRead
getTag
in class TagRead
SensorEventException
public java.util.Map toMap(java.util.Collection attrCol, java.util.Collection groupCol, java.util.Map map) throws SensorEventException
SensorEventException
public java.util.Map toMap() throws SensorEventException
toMap
in interface IGroup
toMap
in class Group
SensorEventException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |