org.kuali.rice.krad.datadictionary.validation
Class FieldLevelValidationPattern

java.lang.Object
  extended by org.kuali.rice.krad.datadictionary.validation.ValidationPattern
      extended by org.kuali.rice.krad.datadictionary.validation.FieldLevelValidationPattern
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
DateValidationPattern, EmailAddressValidationPattern, FixedPointValidationPattern, FloatingPointValidationPattern, JavaClassValidationPattern, MonthValidationPattern, PhoneNumberValidationPattern, TimestampValidationPattern, YearValidationPattern, ZipcodeValidationPattern

Deprecated.

@Deprecated
public abstract class FieldLevelValidationPattern
extends ValidationPattern

Abstraction of the regular expressions used to validate attribute values.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.kuali.rice.krad.datadictionary.validation.ValidationPattern
ValidationPattern.ValidationPatternException
 
Field Summary
protected  Pattern regexPattern
          Deprecated.  
 
Constructor Summary
FieldLevelValidationPattern()
          Deprecated.  
 
Method Summary
 ExportMap buildExportMap(String exportKey)
          Deprecated.  
protected abstract  String getPatternTypeName()
          Deprecated.  
 Pattern getRegexPattern()
          Deprecated.  
protected  String getRegexString()
          Deprecated. Uses the key returned by getConfigurationRegexKey to fetch the validationPattern's regex string from the ConfigurationService
 String getValidationErrorMessageKey()
          Deprecated. This overridden method ...
 
Methods inherited from class org.kuali.rice.krad.datadictionary.validation.ValidationPattern
completeValidation, getValidationErrorMessageParameters, matches
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

regexPattern

protected Pattern regexPattern
Deprecated. 
Constructor Detail

FieldLevelValidationPattern

public FieldLevelValidationPattern()
Deprecated. 
Method Detail

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:
ValidationPattern.getRegexString()

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. 
Specified by:
buildExportMap in class ValidationPattern
Returns:
ExportMap describing the subclass instance
See Also:
ValidationPattern.buildExportMap(java.lang.String)

getValidationErrorMessageKey

public String getValidationErrorMessageKey()
Deprecated. 
This overridden method ...

Specified by:
getValidationErrorMessageKey in class ValidationPattern
See Also:
ValidationPattern.getValidationErrorMessageKey()


Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.