org.kuali.rice.krad.datadictionary.mask
Class MaskFormatterLiteral
java.lang.Object
   org.kuali.rice.krad.datadictionary.mask.MaskFormatterLiteral
org.kuali.rice.krad.datadictionary.mask.MaskFormatterLiteral
- All Implemented Interfaces: 
- Serializable, MaskFormatter
- public class MaskFormatterLiteral 
- extends Object- implements 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:
- Serialized Form
 
 
 
 
literal
protected String literal
MaskFormatterLiteral
public MaskFormatterLiteral()
maskValue
public String maskValue(Object value)
- Description copied from interface: MaskFormatter
- Takes in the real data value and returns a masked string.
 
- 
- Specified by:
- maskValuein interface- MaskFormatter
 
- 
- Parameters:
- value- - data value
- Returns:
- String - masked value
 
getLiteral
public String getLiteral()
- Gets the literalString attribute.
 
- 
 
- 
- Returns:
- Returns the literal String.
 
setLiteral
public void setLiteral(String literal)
- Specify the string that will be shown instead of the actual value when masked.
 
- 
 
- 
 
toString
public String toString()
- 
- Overrides:
- toStringin class- Object
 
- 
 
Copyright © 2005–2014 The Kuali Foundation. All rights reserved.