org.kuali.rice.krad.datadictionary.validation.constraint
Class ConfigurationBasedRegexPatternConstraint
java.lang.Object
org.kuali.rice.krad.datadictionary.validation.constraint.BaseConstraint
org.kuali.rice.krad.datadictionary.validation.constraint.ValidCharactersConstraint
org.kuali.rice.krad.datadictionary.validation.constraint.ValidDataPatternConstraint
org.kuali.rice.krad.datadictionary.validation.constraint.ConfigurationBasedRegexPatternConstraint
- All Implemented Interfaces:
- Serializable, Constraint
- Direct Known Subclasses:
- FloatingPointPatternConstraint
public class ConfigurationBasedRegexPatternConstraint
- extends ValidDataPatternConstraint
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
- See Also:
- Serialized Form
Method Summary |
String |
getLabelKey()
This overridden method ... |
String |
getPatternTypeKey()
the key used to identify the validation pattern |
protected String |
getRegexString()
This method implementation uses the key returned by #getPatternTypePropertyString() to fetch the
validationPattern's regex string from the ConfigurationService which should not include the start(^) and end($) symbols |
void |
setPatternTypeKey(String patternTypeKey)
the key used to identify the validation pattern |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
patternTypeKey
protected String patternTypeKey
- the key used to identify the validation pattern
ConfigurationBasedRegexPatternConstraint
public ConfigurationBasedRegexPatternConstraint()
getPatternTypeKey
public String getPatternTypeKey()
- the key used to identify the validation pattern
- Returns:
- the patternTypeKey
setPatternTypeKey
public void setPatternTypeKey(String patternTypeKey)
- the key used to identify the validation pattern
- Parameters:
patternTypeKey
- the patternTypeKey to set
getLabelKey
public String getLabelKey()
- This overridden method ...
- Overrides:
getLabelKey
in class BaseConstraint
- Returns:
- See Also:
BaseConstraint.getLabelKey()
getRegexString
protected String getRegexString()
- This method implementation uses the key returned by
#getPatternTypePropertyString()
to fetch the
validationPattern's regex string from the ConfigurationService which should not include the start(^) and end($) symbols
- Specified by:
getRegexString
in class ValidDataPatternConstraint
Copyright © 2005-2014 The Kuali Foundation. All Rights Reserved.