Class Mask
java.lang.Object
org.kuali.rice.krad.datadictionary.mask.Mask
- All Implemented Interfaces:
Serializable
The displayMask element specifies the type of masking to
be used to hide the value from un-authorized users.
There are three types of masking.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected MaskFormatterprotected Class<? extends MaskFormatter> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the maskFormatter attribute.Class<? extends MaskFormatter> Gets the maskFormatterClass attribute.Masks a data value with the configured maskFormatter;voidsetMaskFormatter(MaskFormatter maskFormatter) voidsetMaskFormatterClass(Class<? extends MaskFormatter> maskFormatterClass)
-
Field Details
-
maskFormatter
-
maskFormatterClass
-
-
Constructor Details
-
Mask
public Mask()
-
-
Method Details
-
maskValue
Masks a data value with the configured maskFormatter;- Parameters:
value- of the object- Returns:
- string value of the masked object
-
getMaskFormatter
Gets the maskFormatter attribute.- Returns:
- Returns the maskFormatter.
-
setMaskFormatter
- Parameters:
maskFormatter- instance to be used for masking field values.
-
getMaskFormatterClass
Gets the maskFormatterClass attribute.- Returns:
- Returns the maskFormatterClass.
-
setMaskFormatterClass
- Parameters:
maskFormatterClass- element is used when a custom masking algorithm is desired. This element specifies the name of a class that will perform the masking for unauthorized users.
-