org.kuali.rice.kns.datadictionary.validation.charlevel
Class AlphaNumericValidationPattern
java.lang.Object
org.kuali.rice.krad.datadictionary.validation.ValidationPattern
org.kuali.rice.krad.datadictionary.validation.CharacterLevelValidationPattern
org.kuali.rice.kns.datadictionary.validation.charlevel.AlphaNumericValidationPattern
- All Implemented Interfaces:
- Serializable
public class AlphaNumericValidationPattern
- extends CharacterLevelValidationPattern
Pattern for matching alphanumeric characters
Also, allows conditionally whitespace, underscore, period, parens, dollar signs, and forward slash.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
allowWhitespace
protected boolean allowWhitespace
allowUnderscore
protected boolean allowUnderscore
allowPeriod
protected boolean allowPeriod
allowParenthesis
protected boolean allowParenthesis
allowDollar
protected boolean allowDollar
allowForwardSlash
protected boolean allowForwardSlash
lowerCase
protected boolean lowerCase
AlphaNumericValidationPattern
public AlphaNumericValidationPattern()
getAllowPeriod
public boolean getAllowPeriod()
- Returns:
- allowPeriod
setAllowPeriod
public void setAllowPeriod(boolean allowPeriod)
- Parameters:
allowPeriod
-
isAllowPeriod
public boolean isAllowPeriod()
- Returns:
- the allowPeriod
isAllowParenthesis
public boolean isAllowParenthesis()
- Returns:
- the allowParenthesis
setAllowParenthesis
public void setAllowParenthesis(boolean allowParenthesis)
- Parameters:
allowParenthesis
- the allowParenthesis to set
isAllowDollar
public boolean isAllowDollar()
- Returns:
- the allowDollar
setAllowDollar
public void setAllowDollar(boolean allowDollar)
- Parameters:
allowDollar
- the allowDollar to set
isAllowForwardSlash
public boolean isAllowForwardSlash()
- Returns:
- the allowforwardSlash
setAllowForwardSlash
public void setAllowForwardSlash(boolean allowForwardSlash)
- Parameters:
allowforwardSlash
- the allowforwardSlash to set
getAllowWhitespace
public boolean getAllowWhitespace()
- Returns:
- allowWhitespace
setAllowWhitespace
public void setAllowWhitespace(boolean allowWhitespace)
- Parameters:
allowWhitespace
-
getAllowUnderscore
public boolean getAllowUnderscore()
- Returns:
- allowUnderscore
setAllowUnderscore
public void setAllowUnderscore(boolean allowUnderscore)
- Parameters:
allowWhitespace
-
isLowerCase
public boolean isLowerCase()
- Returns:
- the lowerCase
setLowerCase
public void setLowerCase(boolean lowerCase)
- Parameters:
lowerCase
- the lowerCase to set
getRegexString
protected String getRegexString()
- 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()
extendExportMap
public void extendExportMap(ExportMap exportMap)
- Description copied from class:
CharacterLevelValidationPattern
- Extends the given (parent class) exportMap as needed to represent subclass instances
- Specified by:
extendExportMap
in class CharacterLevelValidationPattern
- See Also:
org.kuali.rice.krad.datadictionary.validation.CharacterLevelValidationPattern#extendExportMap(org.kuali.bo.datadictionary.exporter.ExportMap)
getValidationErrorMessageKeyOptions
protected String getValidationErrorMessageKeyOptions()
- Overrides:
getValidationErrorMessageKeyOptions
in class CharacterLevelValidationPattern
Copyright © 2005-2011 The Kuali Foundation. All Rights Reserved.