com.ibm.sensorevent.model.payload
Class PassiveRFIDTagRead

java.lang.Object
  extended by com.ibm.sensorevent.model.generic.GenericGroup
      extended by com.ibm.sensorevent.model.Group
          extended by com.ibm.sensorevent.model.payload.TagRead
              extended by com.ibm.sensorevent.model.payload.PassiveRFIDTagRead
All Implemented Interfaces:
IGenericGroup, IGroup, ITagRead, java.io.Serializable

public class PassiveRFIDTagRead
extends TagRead

PassiveRFIDTagRead represents all the data processed by Premises Server for a passive RFID tag read.

See Also:
Serialized Form

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 com.ibm.sensorevent.model.generic.GenericGroup
addAttribute, addAttributeArray, addBooleanArrayAttribute, addBooleanAttribute, addByteArrayAttribute, addByteAttribute, addDateArrayAttribute, addDateArrayAttributeAsLong, addDateAttribute, addDateAttributeAsLong, addDoubleArrayAttribute, addDoubleAttribute, addFloatArrayAttribute, addFloatAttribute, addGroup, addHexAttribute, addHexAttribute, addIntArrayAttribute, addIntAttribute, addLongArrayAttribute, addLongAttribute, addShortArrayAttribute, addShortAttribute, addStringArrayAttribute, addStringAttribute, createGroupPath, getAttribute, getAttributes, getAttributesAsList, getBooleanAttributeArrayValue, getBooleanAttributeValue, getByteAttributeArrayValue, getByteAttributeValue, getDateAttributeArrayValue, getDateAttributeArrayValueAsLong, getDateAttributeValue, getDateAttributeValueAsLong, getDoubleAttributeArrayValue, getDoubleAttributeValue, getFloatAttributeArrayValue, getFloatAttributeValue, getGroup, getGroups, getGroupsAsList, getHexAttributeValue, getHexAttributeValueAsString, getIntAttributeArrayValue, getIntAttributeValue, getLongAttributeArrayValue, getLongAttributeValue, getName, getShortAttributeArrayValue, getShortAttributeValue, getStringAttributeArrayValue, getStringAttributeValue, removeAttributes, removeGroups, setAttributes, setGroups, setName, toString, traverseGroupPath
 
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
 
Methods inherited from interface com.ibm.sensorevent.model.generic.IGenericGroup
addAttribute, addAttributeArray, addBooleanArrayAttribute, addBooleanAttribute, addByteArrayAttribute, addByteAttribute, addDateArrayAttribute, addDateArrayAttributeAsLong, addDateAttribute, addDateAttributeAsLong, addDoubleArrayAttribute, addDoubleAttribute, addFloatArrayAttribute, addFloatAttribute, addGroup, addHexAttribute, addHexAttribute, addIntArrayAttribute, addIntAttribute, addLongArrayAttribute, addLongAttribute, addShortArrayAttribute, addShortAttribute, addStringArrayAttribute, addStringAttribute, createGroupPath, getAttribute, getAttributes, getAttributesAsList, getBooleanAttributeArrayValue, getBooleanAttributeValue, getByteAttributeArrayValue, getByteAttributeValue, getDateAttributeArrayValue, getDateAttributeArrayValueAsLong, getDateAttributeValue, getDateAttributeValueAsLong, getDoubleAttributeArrayValue, getDoubleAttributeValue, getFloatAttributeArrayValue, getFloatAttributeValue, getGroup, getGroups, getGroupsAsList, getHexAttributeValue, getHexAttributeValueAsString, getIntAttributeArrayValue, getIntAttributeValue, getLongAttributeArrayValue, getLongAttributeValue, getName, getShortAttributeArrayValue, getShortAttributeValue, getStringAttributeArrayValue, getStringAttributeValue, removeAttributes, removeGroups, setAttributes, setGroups, setName, traverseGroupPath
 

Field Detail

COPYRIGHT

public static final java.lang.String COPYRIGHT
See Also:
Constant Field Values

DISCOVERED

public static final java.lang.String DISCOVERED
Name of the discovered attribute

See Also:
Constant Field Values

ANTENNA

public static final java.lang.String ANTENNA
Name of the antenna attribute

See Also:
Constant Field Values

COUNT

public static final java.lang.String COUNT
Name or the count attribute

See Also:
Constant Field Values

TAGDATA

public static final java.lang.String TAGDATA
User data on the tag

See Also:
Constant Field Values

EPCFORMATS

public static final java.lang.String EPCFORMATS
EPC formats for this tag

See Also:
Constant Field Values

READER

public static final java.lang.String READER
See Also:
Constant Field Values
Constructor Detail

PassiveRFIDTagRead

protected PassiveRFIDTagRead()
                      throws SensorEventException
Constructs a PassiveRFIDTagRead

Throws:
SensorEventException

PassiveRFIDTagRead

protected PassiveRFIDTagRead(java.lang.String newname)
                      throws SensorEventException
Constructs a PasstiveRFIDTagRead the with the specified name

Parameters:
newname - the name
Throws:
SensorEventException
Method Detail

getInstance

public static IGenericGroup getInstance()
                                 throws SensorEventException
Factory method to create a PassiveRFIDTagRead

Throws:
SensorEventException

getInstance

public static IGenericGroup getInstance(java.lang.String newname)
                                 throws SensorEventException
Factory method to create a PassiveRFIDTagRead with the specified name

Parameters:
newname - the name
Throws:
SensorEventException

getInstance

public static IGenericGroup getInstance(Group group)
                                 throws SensorEventException
Factory method to create a PassiveRFIDTagRead from the specified group

Parameters:
group - the source group
Throws:
SensorEventException

getAntenna

public int getAntenna()
               throws SensorEventException
Returns the antenna attribute value

Throws:
SensorEventException

getCount

public int getCount()
             throws SensorEventException
Returns the count attribute value

Throws:
SensorEventException

getDiscovered

public long getDiscovered()
                   throws SensorEventException
Returns the discovered attribute value

Throws:
SensorEventException

setAntenna

public void setAntenna(int antenna)
                throws SensorEventException
Sets the attenna attribute value

Throws:
SensorEventException

setCount

public void setCount(int count)
              throws SensorEventException
Sets the count attribute value

Throws:
SensorEventException

setDiscovered

public void setDiscovered(long discovered)
                   throws SensorEventException
Sets the discovered attribute value

Throws:
SensorEventException

getTag

public IGenericGroup getTag()
                     throws SensorEventException
Returns the EPCTag for this PassiveRFIDTagRead

Specified by:
getTag in interface ITagRead
Overrides:
getTag in class TagRead
Throws:
SensorEventException

toMap

public java.util.Map toMap(java.util.Collection attrCol,
                           java.util.Collection groupCol,
                           java.util.Map map)
                    throws SensorEventException
Throws:
SensorEventException

toMap

public java.util.Map toMap()
                    throws SensorEventException
Converts this PassivedRFIDTagRead to a java.util.Map

Specified by:
toMap in interface IGroup
Overrides:
toMap in class Group
Throws:
SensorEventException


Copyright © 2005 - 2009 IBM Corp. All Rights Reserved.