public class AlphaNumericPatternConstraint extends AllowCharacterConstraint
| Modifier and Type | Field and Description | 
|---|---|
protected boolean | 
lowerCase  | 
protected boolean | 
upperCase  | 
allowAll, allowAmpersand, allowApostrophe, allowAsterisk, allowAtSign, allowBackslash, allowBrackets, allowColon, allowComma, allowCurlyBraces, allowDash, allowDollar, allowDoubleQuote, allowEquals, allowExclaimation, allowForwardSlash, allowGreaterThan, allowLessThan, allowParenthesis, allowPercent, allowPeriod, allowPlus, allowPound, allowQuestionMark, allowSemiColon, allowUnderscore, allowWhitespace, omitNewlinevalueapplyClientSide, constraintStateOverrides, messageComponentCode, messageKey, messageNamespaceCode, states, validationMessageParamscomponentCode, namespaceCode| Constructor and Description | 
|---|
AlphaNumericPatternConstraint()  | 
| Modifier and Type | Method and Description | 
|---|---|
String | 
getMessageKey()
A label key is auto generated for this bean if none is set. 
 | 
protected String | 
getRegexString()
This method returns a string representing a regex with characters to match, this string
 should not include the start(^) and end($) symbols or any length related symbols (*, {0,},
 etc) 
 | 
boolean | 
isLowerCase()  | 
boolean | 
isUpperCase()  | 
void | 
setLowerCase(boolean lowerCase)
Only allow lowerCase characters. 
 | 
void | 
setUpperCase(boolean upperCase)
Only allow upperCase characters. 
 | 
getAllowedCharacterRegex, getValidationMessageParams, isAllowAll, isAllowAmpersand, isAllowApostrophe, isAllowAsterisk, isAllowAtSign, isAllowBackslash, isAllowBrackets, isAllowColon, isAllowComma, isAllowCurlyBraces, isAllowDash, isAllowDollar, isAllowDoubleQuote, isAllowEquals, isAllowExclaimation, isAllowForwardSlash, isAllowGreaterThan, isAllowLessThan, isAllowParenthesis, isAllowPercent, isAllowPeriod, isAllowPlus, isAllowPound, isAllowQuestionMark, isAllowSemiColon, isAllowUnderscore, isAllowWhitespace, isOmitNewline, setAllowAll, setAllowAmpersand, setAllowApostrophe, setAllowAsterisk, setAllowAtSign, setAllowBackslash, setAllowBrackets, setAllowColon, setAllowComma, setAllowCurlyBraces, setAllowDash, setAllowDollar, setAllowDoubleQuote, setAllowEquals, setAllowExclaimation, setAllowForwardSlash, setAllowGreaterThan, setAllowLessThan, setAllowParenthesis, setAllowPercent, setAllowPeriod, setAllowPlus, setAllowPound, setAllowQuestionMark, setAllowSemiColon, setAllowUnderscore, setAllowWhitespace, setOmitNewlinegetValue, setValuecompleteValidationgetApplyClientSide, getConstraintStateOverrides, getMessageComponentCode, getMessageNamespaceCode, getStates, getValidationMessageParamsArray, setApplyClientSide, setConstraintStateOverrides, setMessageComponentCode, setMessageKey, setMessageNamespaceCode, setStates, setValidationMessageParamsclone, dataDictionaryPostProcessing, getComponentCode, getNamespaceCode, setComponentCode, setNamespaceCodepublic AlphaNumericPatternConstraint()
public String getMessageKey()
getMessageKey in class BaseConstraintBaseConstraint.getMessageKey()protected String getRegexString()
ValidCharactersPatternConstraintgetRegexString in class ValidCharactersPatternConstraintValidCharactersPatternConstraint.getRegexString()public boolean isLowerCase()
public void setLowerCase(boolean lowerCase)
lowerCase - the lowerCase to setpublic boolean isUpperCase()
public void setUpperCase(boolean upperCase)
upperCase - the lowerCase to setCopyright © 2005–2014 The Kuali Foundation. All rights reserved.