public class EPCGeneration1Event extends DatacontainerEvent
DatacontainerEvent.MemoryBankLengthTuple
Constructor and Description |
---|
EPCGeneration1Event()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getEpc()
Returns the epc in hex encoding.
|
java.math.BigInteger |
getEPCMemory()
Get the epc memory bank.
|
java.lang.Integer |
getEPCMemoryLength()
Returns the length of the memory bank.
|
java.lang.String |
getFormattedID()
Get the ID as a formatted number.
|
java.math.BigInteger |
getID()
Returns the tag identity information.
|
int |
hashCode() |
void |
setEPCMemory(java.math.BigInteger memBank,
java.lang.String epc,
java.lang.Integer length)
Set the epc memory bank.
|
getMemoryBank, readMemory, readMemory, toString
public void setEPCMemory(java.math.BigInteger memBank, java.lang.String epc, java.lang.Integer length)
memBank
- length
- The size of the memory bank in bitspublic java.lang.String getEpc()
public java.math.BigInteger getEPCMemory()
public java.lang.Integer getEPCMemoryLength()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.math.BigInteger getID()
DatacontainerEvent
getID
in class DatacontainerEvent
public java.lang.String getFormattedID()
DatacontainerEvent
getFormattedID
in class DatacontainerEvent