Class CharacterLevelValidationPattern

java.lang.Object
org.kuali.rice.krad.datadictionary.validation.ValidationPattern
org.kuali.rice.krad.datadictionary.validation.CharacterLevelValidationPattern
All Implemented Interfaces:
Serializable

@Deprecated public abstract class CharacterLevelValidationPattern extends ValidationPattern
Deprecated.
Abstraction of the regular expressions used to validate attribute values.
See Also:
  • Field Details

    • regexPattern

      protected Pattern regexPattern
      Deprecated.
    • maxLength

      protected int maxLength
      Deprecated.
    • exactLength

      protected int exactLength
      Deprecated.
  • Constructor Details

    • CharacterLevelValidationPattern

      public CharacterLevelValidationPattern()
      Deprecated.
  • Method Details

    • setMaxLength

      public void setMaxLength(int maxLength)
      Deprecated.
      Sets maxLength parameter for the associated regex.
      Parameters:
      maxLength -
    • getMaxLength

      public int getMaxLength()
      Deprecated.
      Returns:
      current maxLength, or -1 if none has been set
    • setExactLength

      public void setExactLength(int exactLength)
      Deprecated.
      Sets exactLength parameter for the associated regex.
      Parameters:
      exactLength -
    • getExactLength

      public int getExactLength()
      Deprecated.
      Returns:
      current exactLength, or -1 if none has been set
    • getRegexPattern

      public final Pattern getRegexPattern()
      Deprecated.
      Specified by:
      getRegexPattern in class ValidationPattern
      Returns:
      regular expression Pattern generated using the individual ValidationPattern subclass
    • buildExportMap

      public final ExportMap buildExportMap(String exportKey)
      Deprecated.
      Description copied from class: ValidationPattern
      Builds an export map describing the subclass instance.
      Specified by:
      buildExportMap in class ValidationPattern
      Parameters:
      exportKey -
      Returns:
      export map
      See Also:
    • extendExportMap

      public abstract void extendExportMap(ExportMap exportMap)
      Deprecated.
      Extends the given (parent class) exportMap as needed to represent subclass instances
      Parameters:
      exportMap -
    • getValidationErrorMessageParameters

      public String[] getValidationErrorMessageParameters(String attributeLabel)
      Deprecated.
      Overrides:
      getValidationErrorMessageParameters in class ValidationPattern
    • getValidationErrorMessageKey

      public String getValidationErrorMessageKey()
      Deprecated.
      Specified by:
      getValidationErrorMessageKey in class ValidationPattern
    • getValidationErrorMessageKeyOptions

      protected String getValidationErrorMessageKeyOptions()
      Deprecated.