org.kuali.rice.kns.datadictionary.validation.charlevel
Class RegexValidationPattern
java.lang.Object
org.kuali.rice.krad.datadictionary.validation.ValidationPattern
org.kuali.rice.krad.datadictionary.validation.CharacterLevelValidationPattern
org.kuali.rice.kns.datadictionary.validation.charlevel.RegexValidationPattern
- All Implemented Interfaces:
- Serializable
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RegexValidationPattern
public RegexValidationPattern()
extendExportMap
public void extendExportMap(ExportMap exportMap)
- 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()
- This returns an instance of this class as string.
- See Also:
org.kuali.rice.krad.datadictionary.validation.ValidationPattern#getPatternXml()
getRegexString
protected String getRegexString()
- 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()
- Returns:
- the pattern
setPattern
public final void setPattern(String pattern)
- Parameters:
pattern
- the pattern to set
getValidationErrorMessageKey
public String getValidationErrorMessageKey()
- 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)
- 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()
- 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-2012 The Kuali Foundation. All Rights Reserved.