public class LockParam
extends java.lang.Object
Constructor and Description |
---|
LockParam()
Creates an instance of the LockParam class.
|
LockParam(boolean killPassword,
boolean accessPassword,
boolean epc,
boolean tid,
boolean user)
Creates an instance of the LockParam class.
|
Modifier and Type | Method and Description |
---|---|
boolean |
getAccessPassword()
Returns whether or not to execute lock the access password
|
boolean |
getEPC()
Returns whether or not to execute lock the EPC bank
|
boolean |
getKillPassword()
Returns whether or not to execute lock the kill password
|
boolean |
getTID()
Returns whether or not to execute lock the TID bank
|
boolean |
getUser()
Returns whether or not to execute lock the User bank
|
int |
getValue()
Returns the calculated lock bit value.
|
void |
setAccessPassword(boolean accessPassword)
Sets whether or not to execute lock the access password
|
void |
setEPC(boolean epc)
Sets whether or not to execute lock the EPC bank
|
void |
setKillPassword(boolean killPassword)
Sets whether or not to execute lock the kill password
|
void |
setTID(boolean tid)
Sets whether or not to execute lock the TID bank
|
void |
setUser(boolean user)
Sets whether or not to execute lock the User bank
|
java.lang.String |
toString() |
public LockParam()
public LockParam(boolean killPassword, boolean accessPassword, boolean epc, boolean tid, boolean user)
killPassword
- Boolean indicating whether to lock kill passwordaccessPassword
- Boolean indicating whether to lock access passwordepc
- Boolean indicating whether to lock EPC banktid
- Boolean indicating whether to lock TID bankuser
- Boolean indicating whether to lock user bankpublic boolean getKillPassword()
public void setKillPassword(boolean killPassword)
killPassword
- Boolean indicating whether to lock kill passwordpublic boolean getAccessPassword()
public void setAccessPassword(boolean accessPassword)
accessPassword
- Boolean indicating whether to lock access passwordpublic boolean getEPC()
public void setEPC(boolean epc)
epc
- Boolean indicating whether to lock EPC bankpublic boolean getTID()
public void setTID(boolean tid)
tid
- Boolean indicating whether to lock TID bankpublic boolean getUser()
public void setUser(boolean user)
user
- Boolean indicating whether to lock User bankpublic int getValue()
public java.lang.String toString()
toString
in class java.lang.Object