public class EPCMaskParam
extends java.lang.Object
Constructor and Description |
---|
EPCMaskParam()
Creates an instance of the EPCMaskParam class.
|
EPCMaskParam(int offset,
int length,
java.lang.String pattern)
Creates an instance of the EPCMaskParam class.
|
Modifier and Type | Method and Description |
---|---|
int |
getLength()
Returns the Length of the EPCMaskParam instance.
|
int |
getOffset()
Returns the offset of the EPCMaskParam instance.
|
java.lang.String |
getPattern()
Returns Pattern of the EPCMaskParam instance.
|
void |
setLength(int length)
Sets the Length of the EPCMaskParam instance.
|
void |
setOffset(int offset)
Sets the offset of the EPCMaskParam instance.
|
void |
setPattern(java.lang.String pattern)
Sets the Pattern for the EPCMaskParam instance.
|
java.lang.String |
toString()
Return the EPCMaskParam information with format: [Kill Password], [Access Password], [EPC], [Bank], [TID], [User]
|
public EPCMaskParam()
public EPCMaskParam(int offset, int length, java.lang.String pattern)
offset
- An integer indicating the start address of the memory at which to start
comparing the tag's EPC memory with the pattern value. The unit is bit.length
- An integer representing the length of the memory to compare the tag's EPC
memory with the pattern value. The unit is bit.pattern
- A string of type Hex representing the comparison value to compare the EPC memory of the tag.public int getOffset()
public void setOffset(int offset)
offset
- An integer indicating the start address of the memory at which to start
comparing the tag's EPC memory with the pattern value. The unit is bit.public java.lang.String getPattern()
public void setPattern(java.lang.String pattern)
pattern
- A string of type Hex representing the comparison value to compare the EPC memory of the tag.public int getLength()
public void setLength(int length)
length
- An integer representing the length of the memory to compare the tag's EPC
memory with the pattern value. The unit is bit.public java.lang.String toString()
toString
in class java.lang.Object