|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectpops.ale.epc.spec.grouping.Epc
public abstract class Epc
Field Summary | |
---|---|
static byte |
MAX_URI_FIELDS
|
protected byte[] |
tagData
|
protected EncScheme |
type
|
protected UnsignedBigInt[] |
uriFields
This array holds wrappers for manipulating uri fields as numbers on more than 64 bits if necessary. |
protected UriRepresentation |
uriRepresentation
|
Constructor Summary | |
---|---|
Epc()
Constructor |
Method Summary | |
---|---|
abstract boolean |
equals(Epc tag)
Comparison utility : to be implemented by children. |
abstract UnsignedBigInt |
getField(int index)
To be implemented by children. |
int |
getNumFields()
|
abstract java.lang.String |
getPureUri()
Conversion Utilities: to be implemented by children. |
abstract java.lang.String |
getRawDecUri()
|
abstract java.lang.String |
getRawHexUri()
|
abstract java.lang.String |
getTagUri()
|
EncScheme |
getType()
|
abstract void |
setRepresentation(UriRepresentation header)
sets the Epc wrapper representation for grouping |
void |
setTagData(byte[] tagData)
Sets tag Data, by reference. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final byte MAX_URI_FIELDS
protected UriRepresentation uriRepresentation
protected EncScheme type
protected byte[] tagData
protected final UnsignedBigInt[] uriFields
Constructor Detail |
---|
public Epc()
Method Detail |
---|
public void setTagData(byte[] tagData)
tagData
- public EncScheme getType()
public int getNumFields()
public abstract void setRepresentation(UriRepresentation header) throws java.lang.IllegalArgumentException
header
- must be UriRepresentation.EPC_PURE
or UriRepresentation.EPC_TAG
java.lang.IllegalArgumentException
- if header is none of UriRepresentation.EPC_PURE
or UriRepresentation.EPC_TAG
public abstract UnsignedBigInt getField(int index) throws java.lang.IndexOutOfBoundsException
index
- the field index [0..NumFields[
java.lang.IndexOutOfBoundsException
- if given index out of boundspublic abstract java.lang.String getPureUri()
EpcCodec
and its children.
public abstract java.lang.String getTagUri()
public abstract java.lang.String getRawDecUri()
public abstract java.lang.String getRawHexUri()
public abstract boolean equals(Epc tag)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |