public class RegexValidationPattern extends CharacterLevelValidationPattern
ValidationPattern.ValidationPatternExceptionexactLength, maxLength, regexPattern| Constructor and Description |
|---|
RegexValidationPattern() |
| Modifier and Type | Method and Description |
|---|---|
void |
completeValidation()
This method throws an exception if it is not configured properly
|
void |
extendExportMap(ExportMap exportMap)
This exports a representation of this instance by an ExportMap.
|
String |
getPattern() |
String |
getPatternXml()
This returns an instance of this class as string.
|
protected String |
getRegexString()
This returns the specified regular expression defined in the data dictionary
entry for validating the value of an attribute.
|
String |
getValidationErrorMessageKey()
This overridden method ...
|
void |
setPattern(String pattern) |
void |
setValidationErrorMessageKey(String validationErrorMessageKey) |
buildExportMap, getExactLength, getMaxLength, getRegexPattern, getValidationErrorMessageKeyOptions, getValidationErrorMessageParameters, setExactLength, setMaxLengthmatchespublic RegexValidationPattern()
public void extendExportMap(ExportMap exportMap)
public String getPatternXml()
org.kuali.rice.krad.datadictionary.validation.ValidationPattern#getPatternXml()protected String getRegexString()
getRegexString in class ValidationPatternValidationPattern.getRegexString()public final String getPattern()
public final void setPattern(String pattern)
pattern - the pattern to setpublic String getValidationErrorMessageKey()
CharacterLevelValidationPatterngetValidationErrorMessageKey in class CharacterLevelValidationPatternValidationPattern.getValidationErrorMessageKey()public void setValidationErrorMessageKey(String validationErrorMessageKey)
validationErrorMessageKey - a message key from the application's message resource bundle signifying the error message
to display if some validation does not match this patternpublic void completeValidation()
ValidationPatterncompleteValidation in class ValidationPatternValidationPattern.completeValidation()Copyright © 2005–2016 The Kuali Foundation. All rights reserved.