public class EPCGeneration2Event extends EPCGeneration1Event
DatacontainerEvent.MemoryBankLengthTuple
Constructor and Description |
---|
EPCGeneration2Event() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAccessPwd()
Get the access password as a hex string.
|
java.lang.String |
getAccessPwdDecimal()
Get the access password as a decimal string
|
java.lang.String |
getAfi()
Get the AFI as a hex String
|
java.lang.String |
getAfiDecimal()
Get the AFI as a decimal string
|
java.math.BigInteger |
getEPCMemory()
Get the epc memory bank.
|
java.lang.Integer |
getEPCMemoryLength()
Returns the length of the memory bank.
|
java.math.BigInteger |
getID()
Returns the tag identity information.
|
java.lang.String |
getKillPwd()
Get the kill password as a hex string.
|
java.lang.String |
getKillPwdDecimal()
Get the kill password as a decimal string.
|
java.lang.String |
getNsi()
Get the NSI as a hex String
|
java.lang.String |
getNsiDecimal()
Get the NSI as a decimal string
|
java.math.BigInteger |
getReservedMemory()
Get the reserved memory bank.
|
java.lang.Integer |
getReservedMemoryLength()
Get number of bits in the reserved memory.
|
java.lang.String |
getTid()
Get the tid memory as a hex string
|
java.math.BigInteger |
getTIDMemory()
Get the TID memory bank.
|
java.lang.Integer |
getTIDMemoryLength()
Get the number of bits in the TID memory bank.
|
java.lang.String |
getUser()
Get the user memory as a hex string
|
java.math.BigInteger |
getUserMemory()
Get the user memory bank.
|
java.lang.Integer |
getUserMemoryLength()
Get the number of bits in the user memory.
|
void |
setEPCMemory(java.math.BigInteger memBank,
java.lang.String epc,
java.lang.Integer length)
Set the epc memory bank.
|
void |
setReservedMemory(java.math.BigInteger memory,
java.lang.Integer length)
Set the reserved memory bank.
|
void |
setTIDMemory(java.math.BigInteger memory,
java.lang.Integer length)
Set the TID memory bank.
|
void |
setUserMemory(java.math.BigInteger memory,
java.lang.Integer length)
Set the user memory bank.
|
equals, getEpc, getFormattedID, hashCode
getMemoryBank, readMemory, readMemory, toString
public java.lang.String getKillPwd()
public java.lang.String getKillPwdDecimal()
public java.lang.String getAccessPwd()
public java.lang.String getAccessPwdDecimal()
public java.lang.String getTid()
public java.lang.String getUser()
public java.lang.String getAfi()
public java.lang.String getAfiDecimal()
public java.lang.String getNsi()
public java.lang.String getNsiDecimal()
public void setReservedMemory(java.math.BigInteger memory, java.lang.Integer length)
memory
- length
- The number of bits in the reserved memorypublic java.math.BigInteger getReservedMemory()
public java.lang.Integer getReservedMemoryLength()
public void setEPCMemory(java.math.BigInteger memBank, java.lang.String epc, java.lang.Integer length)
EPCGeneration1Event
setEPCMemory
in class EPCGeneration1Event
length
- The size of the memory bank in bitspublic java.math.BigInteger getEPCMemory()
EPCGeneration1Event
getEPCMemory
in class EPCGeneration1Event
public java.lang.Integer getEPCMemoryLength()
EPCGeneration1Event
getEPCMemoryLength
in class EPCGeneration1Event
public void setTIDMemory(java.math.BigInteger memory, java.lang.Integer length)
memory
- length
- The number of bits in the memorypublic java.math.BigInteger getTIDMemory()
public java.lang.Integer getTIDMemoryLength()
public void setUserMemory(java.math.BigInteger memory, java.lang.Integer length)
memory
- length
- The number of bits in the User Memorypublic java.math.BigInteger getUserMemory()
public java.lang.Integer getUserMemoryLength()
public java.math.BigInteger getID()
DatacontainerEvent
getID
in class EPCGeneration1Event