|
|||||||||||
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.Tag
com.ibm.sensorevent.model.payload.EPCTag
public class EPCTag
EPCTag handles tag ID conversion to various EPC formats.
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT
|
static java.lang.String |
IDURI
EPC pure identity URI attribute name (the Premises Server's ID URI format) |
static java.lang.String |
RAWURI
EPC raw hex URI attribute name (the Premises Server's raw URI format) |
static java.lang.String |
TAGURI
EPC tag URI attribute name (the Premises Server's tag URI format) |
Fields inherited from class com.ibm.sensorevent.model.generic.GenericGroup |
---|
attributes, groups, name |
Fields inherited from interface com.ibm.sensorevent.model.payload.ITag |
---|
TAG, TAGID, TAGUSERDATA |
Constructor Summary | |
---|---|
protected |
EPCTag()
Constructs an EPCTag |
protected |
EPCTag(java.lang.String newname)
Constructs an EPCTag with the specified name |
Method Summary | |
---|---|
java.lang.String |
getAsIDURI()
Returns this EPCTag's pure identity URI attribute value (the Premises Server's ID URI format) |
java.lang.String |
getAsRawURI()
Return this EPCTag's raw hex URI attribute value (the Premises Server's raw URI format) |
java.lang.String |
getAsTagURI()
Returns this EPCTag's tag URI attribute value (the Premises Server's tag URI format) |
static IGenericGroup |
getInstance()
Factory method to create an EPCTag |
static IGenericGroup |
getInstance(Group group)
Factory method to create an EPCTag from the specified group |
static IGenericGroup |
getInstance(java.lang.String newname)
Factory method to create an EPCTag with the specified name |
void |
setTagID(java.lang.String value)
Sets this EPCTag's tag ID attribute value. |
Methods inherited from class com.ibm.sensorevent.model.payload.Tag |
---|
addTagUserData, getTagID, getTagID, getTagUserData, getTagUserDataMap, setTagID |
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
public static final java.lang.String TAGURI
public static final java.lang.String IDURI
public static final java.lang.String RAWURI
Constructor Detail |
---|
protected EPCTag() throws SensorEventException
SensorEventException
protected EPCTag(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 void setTagID(java.lang.String value) throws SensorEventException
setTagID
in interface ITag
setTagID
in class Tag
SensorEventException
public java.lang.String getAsTagURI() throws SensorEventException
SensorEventException
public java.lang.String getAsIDURI() throws SensorEventException
SensorEventException
public java.lang.String getAsRawURI() throws SensorEventException
SensorEventException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |