public class SelectMaskParam
extends java.lang.Object
Constructor and Description |
---|
SelectMaskParam()
Creates an instance of the SelectMaskParam class.
|
SelectMaskParam(MaskTargetType target,
MaskActionType action,
MemoryBank bank,
int offset,
java.lang.String mask)
Creates an instance of the SelectMaskParam class.
|
SelectMaskParam(MaskTargetType target,
MaskActionType action,
MemoryBank bank,
int offset,
java.lang.String mask,
int length)
Creates an instance of the SelectMaskParam class.
|
SelectMaskParam(MemoryBank bank,
int offset,
java.lang.String mask)
Creates an instance of the SelectMaskParam class.
|
SelectMaskParam(MemoryBank bank,
int offset,
java.lang.String mask,
int length)
Creates an instance of the SelectMaskParam class.
|
Modifier and Type | Method and Description |
---|---|
MaskActionType |
getAction()
Returns the Action parameter of the Select command.
|
MemoryBank |
getBank()
Returns the memory bank of the tag to compare the pattern.
|
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.
|
MaskTargetType |
getTarget()
Returns the Target parameter of the Select command.
|
void |
setAction(MaskActionType action)
Sets the Action parameter of the Select command.
|
void |
setBank(MemoryBank bank)
Sets the memory bank of the tag to compare the pattern.
|
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.
|
void |
setTarget(MaskTargetType target)
Sets the Target parameter of the Select command.
|
java.lang.String |
toString() |
public SelectMaskParam()
public SelectMaskParam(MemoryBank bank, int offset, java.lang.String mask)
bank
- MemoryBank enumeration representing the memory bank of the tag to compare the pattern.offset
- Integer representing the start address at which to begin comparing patterns. The unit is bit.mask
- String representing the comparison pattern.public SelectMaskParam(MemoryBank bank, int offset, java.lang.String mask, int length)
bank
- MemoryBank enumeration representing the memory bank of the tag to compare the pattern.offset
- Integer representing the start address at which to begin comparing patterns. The unit is bit.mask
- String representing the comparison pattern.length
- Integer representing the length of the pattern. The unit is bit.public SelectMaskParam(MaskTargetType target, MaskActionType action, MemoryBank bank, int offset, java.lang.String mask)
target
- MaskTargetType enumeration indicating whether the Select command modifies a Tag's SL flag or it's inventoried flag.action
- MaskActionType enumeration indicating whether matching Tags assert or deassert SL, or set their inventoried flag to A or to B.bank
- MemoryBank enumeration representing the memory bank of the tag to compare the pattern.offset
- Integer representing the start address at which to begin comparing patterns. The unit is bit.mask
- String representing the comparison pattern.public SelectMaskParam(MaskTargetType target, MaskActionType action, MemoryBank bank, int offset, java.lang.String mask, int length)
target
- MaskTargetType enumeration indicating whether the Select command modifies a Tag's SL flag or it's inventoried flagaction
- MaskActionType enumeration indicating whether matching Tags assert or deassert SL, or set their inventoried flag to A or to B.bank
- MemoryBank enumeration representing the memory bank of the tag to compare the pattern.offset
- Integer representing the start address at which to begin comparing patterns. The unit is bit.mask
- String representing the comparison pattern.length
- Integer representing the length of the pattern. The unit is bit.public MaskTargetType getTarget()
public void setTarget(MaskTargetType target)
target
- MaskTargetType enumeration indicating whether the Select command modifies a Tag's SL flag or it's inventoried flagpublic MaskActionType getAction()
public void setAction(MaskActionType action)
action
- MaskActionType enumeration indicating whether matching Tags assert or deassert SL, or set their inventoried flag to A or to B.public MemoryBank getBank()
public void setBank(MemoryBank bank)
bank
- MemoryBank enumeration representing the memory bank of the tag to compare the 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 java.lang.String getMask()
public void setMask(java.lang.String mask)
mask
- String representing the comparison pattern.public int getLength()
public void setLength(int length)
length
- Integer representing the length of the pattern. The unit is bit.public java.lang.String toString()
toString
in class java.lang.Object