public class SelectMaskEpcParam
extends java.lang.Object
Constructor and Description |
---|
SelectMaskEpcParam()
Creates an instance of the SelectMaskEpcParam class.
|
SelectMaskEpcParam(int offset,
int length,
java.lang.String mask)
Creates an instance of the SelectMaskEpcParam class.
|
Modifier and Type | Method and Description |
---|---|
int |
getLength()
Returns the length of the pattern.
|
java.lang.String |
getMask()
Returns the comparison pattern.
|
int |
getOffset()
Returns the start address at which to begin comparing patterns.
|
void |
setLength(int length)
Sets the length of the pattern.
|
void |
setMask(java.lang.String mask)
Sets the comparison pattern.
|
void |
setOffset(int offset)
Sets the start address at which to begin comparing patterns.
|
java.lang.String |
toString() |
public SelectMaskEpcParam()
public SelectMaskEpcParam(int offset, int length, java.lang.String mask)
offset
- Integer representing the start address at which to begin comparing patterns. The unit is bit.length
- Integer representing the length of the pattern. The unit is bit.mask
- String representing the comparison pattern.public int getOffset()
public void setOffset(int offset)
offset
- Integer representing the start address at which to begin comparing patterns. The unit is bit.public int getLength()
public void setLength(int length)
length
- Integer representing the length of the pattern. The unit is bit.public java.lang.String getMask()
public void setMask(java.lang.String mask)
mask
- String representing the comparison pattern.public java.lang.String toString()
toString
in class java.lang.Object