Class MaskFormatterLiteral
java.lang.Object
org.kuali.rice.krad.datadictionary.mask.MaskFormatterLiteral
- All Implemented Interfaces:
Serializable,MaskFormatter
The maskLiteral element is used to completely hide the field value for
unauthorized users. The specified literal will be shown instead of the field
value.
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the literalString attribute.Takes in the real data value and returns a masked string.voidsetLiteral(String literal) Specify the string that will be shown instead of the actual value when masked.toString()
-
Field Details
-
literal
-
-
Constructor Details
-
MaskFormatterLiteral
public MaskFormatterLiteral()
-
-
Method Details
-
maskValue
Description copied from interface:MaskFormatterTakes in the real data value and returns a masked string.- Specified by:
maskValuein interfaceMaskFormatter- Parameters:
value- - data value- Returns:
- String - masked value
-
getLiteral
Gets the literalString attribute.- Returns:
- Returns the literal String.
-
setLiteral
Specify the string that will be shown instead of the actual value when masked. -
toString
-