org.kuali.rice.krad.datadictionary.validation.constraint
Class AlphaPatternConstraint

java.lang.Object
  extended by org.kuali.rice.krad.datadictionary.validation.constraint.BaseConstraint
      extended by org.kuali.rice.krad.datadictionary.validation.constraint.ValidCharactersConstraint
          extended by org.kuali.rice.krad.datadictionary.validation.constraint.ValidCharactersPatternConstraint
              extended by org.kuali.rice.krad.datadictionary.validation.constraint.AllowCharacterConstraint
                  extended by org.kuali.rice.krad.datadictionary.validation.constraint.AlphaPatternConstraint
All Implemented Interfaces:
Serializable, Constraint

public class AlphaPatternConstraint
extends AllowCharacterConstraint

Pattern for matching alpha characters

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

Field Summary
protected  boolean lowerCase
           
 
Fields inherited from class org.kuali.rice.krad.datadictionary.validation.constraint.AllowCharacterConstraint
allowAll, allowApostrophe, allowAsterisk, allowAtSign, allowColon, allowComma, allowDash, allowDollar, allowDoubleQuote, allowEquals, allowExclaimation, allowForwardSlash, allowParenthesis, allowPercent, allowPeriod, allowPlus, allowPound, allowQuestionMark, allowSemiColon, allowUnderscore, allowWhitespace
 
Fields inherited from class org.kuali.rice.krad.datadictionary.validation.constraint.ValidCharactersConstraint
value
 
Fields inherited from class org.kuali.rice.krad.datadictionary.validation.constraint.BaseConstraint
applyClientSide, labelKey
 
Constructor Summary
AlphaPatternConstraint()
           
 
Method Summary
 String getLabelKey()
          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()
           
 void setLowerCase(boolean lowerCase)
           
 
Methods inherited from class org.kuali.rice.krad.datadictionary.validation.constraint.AllowCharacterConstraint
getAllowedCharacterRegex, getValidationMessageParams, isAllowAll, isAllowApostrophe, isAllowAsterisk, isAllowAtSign, isAllowColon, isAllowComma, isAllowDash, isAllowDollar, isAllowDoubleQuote, isAllowEquals, isAllowExclaimation, isAllowForwardSlash, isAllowParenthesis, isAllowPercent, isAllowPeriod, isAllowPlus, isAllowPound, isAllowQuestionMark, isAllowSemiColon, isAllowUnderscore, isAllowWhitespace, setAllowAll, setAllowApostrophe, setAllowAsterisk, setAllowAtSign, setAllowColon, setAllowComma, setAllowDash, setAllowDollar, setAllowDoubleQuote, setAllowEquals, setAllowExclaimation, setAllowForwardSlash, setAllowParenthesis, setAllowPercent, setAllowPeriod, setAllowPlus, setAllowPound, setAllowQuestionMark, setAllowSemiColon, setAllowUnderscore, setAllowWhitespace
 
Methods inherited from class org.kuali.rice.krad.datadictionary.validation.constraint.ValidCharactersPatternConstraint
getValue, setValue
 
Methods inherited from class org.kuali.rice.krad.datadictionary.validation.constraint.BaseConstraint
getApplyClientSide, setApplyClientSide, setLabelKey, setValidationMessageParams
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

lowerCase

protected boolean lowerCase
Constructor Detail

AlphaPatternConstraint

public AlphaPatternConstraint()
Method Detail

getRegexString

protected String getRegexString()
Description copied from class: ValidCharactersPatternConstraint
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)

Specified by:
getRegexString in class ValidCharactersPatternConstraint
Returns:
See Also:
ValidationPattern.getRegexString()

getLabelKey

public String getLabelKey()
A label key is auto generated for this bean if none is set. This generated message can be overridden through setLabelKey, but the generated message should cover most cases.

Overrides:
getLabelKey in class BaseConstraint
Returns:
See Also:
BaseConstraint.getLabelKey()

isLowerCase

public boolean isLowerCase()
Returns:
the lowerCase

setLowerCase

public void setLowerCase(boolean lowerCase)
Parameters:
lowerCase - the lowerCase to set


Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.