org.kuali.rice.kns.datadictionary.validation.charlevel
Class RegexValidationPattern

java.lang.Object
  extended by org.kuali.rice.krad.datadictionary.validation.ValidationPattern
      extended by org.kuali.rice.krad.datadictionary.validation.CharacterLevelValidationPattern
          extended by org.kuali.rice.kns.datadictionary.validation.charlevel.RegexValidationPattern
All Implemented Interfaces:
Serializable

Deprecated. Use ConfigurationBasedRegexPatternConstraint.

@Deprecated
public class RegexValidationPattern
extends CharacterLevelValidationPattern

This is a description of what this class does - ctdang don't forget to fill this in.

Author:
Kuali Rice Team (rice.collab@kuali.org)
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.kuali.rice.krad.datadictionary.validation.ValidationPattern
ValidationPattern.ValidationPatternException
 
Field Summary
 
Fields inherited from class org.kuali.rice.krad.datadictionary.validation.CharacterLevelValidationPattern
exactLength, maxLength, regexPattern
 
Constructor Summary
RegexValidationPattern()
          Deprecated.  
 
Method Summary
 void completeValidation()
          Deprecated. This method throws an exception if it is not configured properly
 void extendExportMap(ExportMap exportMap)
          Deprecated. This exports a representation of this instance by an ExportMap.
 String getPattern()
          Deprecated.  
 String getPatternXml()
          Deprecated. This returns an instance of this class as string.
protected  String getRegexString()
          Deprecated. This returns the specified regular expression defined in the data dictionary entry for validating the value of an attribute.
 String getValidationErrorMessageKey()
          Deprecated. This overridden method ...
 void setPattern(String pattern)
          Deprecated.  
 void setValidationErrorMessageKey(String validationErrorMessageKey)
          Deprecated.  
 
Methods inherited from class org.kuali.rice.krad.datadictionary.validation.CharacterLevelValidationPattern
buildExportMap, getExactLength, getMaxLength, getRegexPattern, getValidationErrorMessageKeyOptions, getValidationErrorMessageParameters, setExactLength, setMaxLength
 
Methods inherited from class org.kuali.rice.krad.datadictionary.validation.ValidationPattern
matches
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RegexValidationPattern

public RegexValidationPattern()
Deprecated. 
Method Detail

extendExportMap

public void extendExportMap(ExportMap exportMap)
Deprecated. 
This exports a representation of this instance by an ExportMap.

Specified by:
extendExportMap in class CharacterLevelValidationPattern
See Also:
CharacterLevelValidationPattern.extendExportMap(org.kuali.rice.krad.datadictionary.exporter.ExportMap)

getPatternXml

public String getPatternXml()
Deprecated. 
This returns an instance of this class as string.

See Also:
org.kuali.rice.krad.datadictionary.validation.ValidationPattern#getPatternXml()

getRegexString

protected String getRegexString()
Deprecated. 
This returns the specified regular expression defined in the data dictionary entry for validating the value of an attribute.

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()

getPattern

public final String getPattern()
Deprecated. 
Returns:
the pattern

setPattern

public final void setPattern(String pattern)
Deprecated. 
Parameters:
pattern - the pattern to set

getValidationErrorMessageKey

public String getValidationErrorMessageKey()
Deprecated. 
Description copied from class: CharacterLevelValidationPattern
This overridden method ...

Overrides:
getValidationErrorMessageKey in class CharacterLevelValidationPattern
Returns:
the validationErrorMessageKey
See Also:
ValidationPattern.getValidationErrorMessageKey()

setValidationErrorMessageKey

public void setValidationErrorMessageKey(String validationErrorMessageKey)
Deprecated. 
Parameters:
validationErrorMessageKey - a message key from the application's message resource bundle signifying the error message to display if some validation does not match this pattern

completeValidation

public void completeValidation()
Deprecated. 
Description copied from class: ValidationPattern
This method throws an exception if it is not configured properly

Overrides:
completeValidation in class ValidationPattern
See Also:
ValidationPattern.completeValidation()


Copyright © 2005–2014 The Kuali Foundation. All rights reserved.