java.lang.Object
org.kuali.rice.krad.datadictionary.mask.Mask
All Implemented Interfaces:
Serializable

public class Mask extends Object implements 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 Details

  • Constructor Details

    • Mask

      public Mask()
  • Method Details

    • maskValue

      public String maskValue(Object value)
      Masks a data value with the configured maskFormatter;
      Parameters:
      value - of the object
      Returns:
      string value of the masked object
    • getMaskFormatter

      public MaskFormatter getMaskFormatter()
      Gets the maskFormatter attribute.
      Returns:
      Returns the maskFormatter.
    • setMaskFormatter

      public void setMaskFormatter(MaskFormatter maskFormatter)
      Parameters:
      maskFormatter - instance to be used for masking field values.
    • getMaskFormatterClass

      public Class<? extends MaskFormatter> getMaskFormatterClass()
      Gets the maskFormatterClass attribute.
      Returns:
      Returns the maskFormatterClass.
    • setMaskFormatterClass

      public void setMaskFormatterClass(Class<? extends MaskFormatter> maskFormatterClass)
      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.