Class FieldLevelValidationPattern

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

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

    • regexPattern

      protected Pattern regexPattern
      Deprecated.
  • Constructor Details

    • FieldLevelValidationPattern

      public FieldLevelValidationPattern()
      Deprecated.
  • Method Details

    • getRegexString

      protected String getRegexString()
      Deprecated.
      Uses the key returned by getConfigurationRegexKey to fetch the validationPattern's regex string from the ConfigurationService
      Specified by:
      getRegexString in class ValidationPattern
      Returns:
      String version of regular expression base, suitable for modification with length-specifiers and used internally by getRegexPattern
      See Also:
    • getPatternTypeName

      protected abstract String getPatternTypeName()
      Deprecated.
      Returns:
      the key used to retrieve the validationPattern's type name, which is used as the suffix of the regex property key, as the type entry in the exportMap, etc.
    • getRegexPattern

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

      public 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
    • getValidationErrorMessageKey

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