com.ibm.sensorevent.model.payload
Interface ITagRead

All Superinterfaces:
IGenericGroup, IGroup
All Known Implementing Classes:
PassiveRFIDTagRead, TagRead

public interface ITagRead
extends IGroup

ITagRead is the interface representing the class TagRead.


Field Summary
static java.lang.String COPYRIGHT
           
static java.lang.String READER
          The name of the reader ID attribute
static java.lang.String TAG
          The name of the tag group
static java.lang.String TAGREAD
          The name of the tag read group
 
Method Summary
 void addTag(Tag tag)
          Adds the specified Tag to this payload
 java.lang.String getReaderID()
          Returns the reader ID from this payload
 IGenericGroup getTag()
          Returns the TAG group from this payload
 IGenericGroup getTag(java.lang.String tagname)
          Returnsthe specified ITag from this payload
 void setReaderID(java.lang.String reader)
          Sets the reader ID for this payload
 
Methods inherited from interface com.ibm.sensorevent.model.IGroup
toMap, 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

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

TAGREAD

static final java.lang.String TAGREAD
The name of the tag read group

See Also:
Constant Field Values

READER

static final java.lang.String READER
The name of the reader ID attribute

See Also:
Constant Field Values

TAG

static final java.lang.String TAG
The name of the tag group

See Also:
Constant Field Values
Method Detail

getReaderID

java.lang.String getReaderID()
                             throws SensorEventException
Returns the reader ID from this payload

Throws:
SensorEventException

setReaderID

void setReaderID(java.lang.String reader)
                 throws SensorEventException
Sets the reader ID for this payload

Throws:
SensorEventException

getTag

IGenericGroup getTag()
                     throws SensorEventException
Returns the TAG group from this payload

Throws:
SensorEventException

getTag

IGenericGroup getTag(java.lang.String tagname)
                     throws SensorEventException
Returnsthe specified ITag from this payload

Parameters:
tagname - the tag group name to return
Throws:
SensorEventException

addTag

void addTag(Tag tag)
            throws SensorEventException
Adds the specified Tag to this payload

Throws:
SensorEventException


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