|
|||||||||||
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
public class TagRead
TagRead represents a tag read processed by Premises Server. TagRead contains Tag
.
The interface associated with this class is ITagRead
.
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT
|
Fields inherited from class com.ibm.sensorevent.model.generic.GenericGroup |
---|
attributes, groups, name |
Fields inherited from interface com.ibm.sensorevent.model.payload.ITagRead |
---|
READER, TAG, TAGREAD |
Constructor Summary | |
---|---|
protected |
TagRead()
Constructs a TagRead group with a default name |
protected |
TagRead(java.lang.String newname)
Construts a TagRead group with the specified name |
Method Summary | |
---|---|
void |
addTag(Tag tag)
Adds the specified Tag to this payload |
static IGenericGroup |
getInstance()
Factory method to create a TagRead with a default name |
static IGenericGroup |
getInstance(Group group)
Factory method to create a TagRead from the specified group |
static IGenericGroup |
getInstance(java.lang.String newname)
Factory method to create a TagRead with the specified name |
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 class com.ibm.sensorevent.model.Group |
---|
fromMap, fromTypedMap, processGroup, processMap, processTypedGroup, processTypedMap, toMap, 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 |
---|
toMap, toTypedMap |
Field Detail |
---|
public static final java.lang.String COPYRIGHT
Constructor Detail |
---|
protected TagRead() throws SensorEventException
default name
SensorEventException
protected TagRead(java.lang.String newname) throws SensorEventException
newname
- the TagRead groups name
SensorEventException
Method Detail |
---|
public static IGenericGroup getInstance() throws SensorEventException
default name
SensorEventException
public static IGenericGroup getInstance(java.lang.String newname) throws SensorEventException
newname
- the TagRead groups name
SensorEventException
public static IGenericGroup getInstance(Group group) throws SensorEventException
group
- the group to copy from
SensorEventException
public java.lang.String getReaderID() throws SensorEventException
getReaderID
in interface ITagRead
SensorEventException
public void setReaderID(java.lang.String reader) throws SensorEventException
setReaderID
in interface ITagRead
SensorEventException
public void addTag(Tag tag) throws SensorEventException
Tag
to this payload
addTag
in interface ITagRead
SensorEventException
public IGenericGroup getTag() throws SensorEventException
TAG
group from this payload
getTag
in interface ITagRead
SensorEventException
public IGenericGroup getTag(java.lang.String tagname) throws SensorEventException
ITag
from this payload
getTag
in interface ITagRead
tagname
- the tag group name to return
SensorEventException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |