|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.krad.datadictionary.mask.MaskFormatterSubString
public class MaskFormatterSubString
The maskTo element is to used hide the beginning part of the value for unauthorized users. The number of leading characters to hide and the replacement character can be specified.
Field Summary | |
---|---|
protected String |
maskCharacter
|
protected int |
maskLength
|
Constructor Summary | |
---|---|
MaskFormatterSubString()
|
Method Summary | |
---|---|
String |
getMaskCharacter()
Gets the maskCharacter attribute. |
int |
getMaskLength()
Gets the maskLength attribute. |
String |
maskValue(Object value)
Takes in the real data value and returns a masked string. |
void |
setMaskCharacter(String maskCharacter)
Specify the character with which to mask the original value. |
void |
setMaskLength(int maskLength)
Set the number of characters to mask at the beginning of the string. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected String maskCharacter
protected int maskLength
Constructor Detail |
---|
public MaskFormatterSubString()
Method Detail |
---|
public String maskValue(Object value)
MaskFormatter
maskValue
in interface MaskFormatter
value
- - data value
public String getMaskCharacter()
public void setMaskCharacter(String maskCharacter)
maskCharacter
- for masking valuespublic int getMaskLength()
public void setMaskLength(int maskLength)
maskLength
- The maskLength to set.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |