public class ConfigurationBasedRegexPatternConstraint extends ValidDataPatternConstraint
| Modifier and Type | Field and Description |
|---|---|
protected String |
patternTypeKey
the key used to identify the validation pattern
|
valueapplyClientSide, labelKey| Constructor and Description |
|---|
ConfigurationBasedRegexPatternConstraint() |
| Modifier and Type | Method and Description |
|---|---|
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
|
getValue, setValuegetApplyClientSide, getValidationMessageParams, getValidationMessageParamsArray, setApplyClientSide, setLabelKey, setValidationMessageParamsprotected String patternTypeKey
public ConfigurationBasedRegexPatternConstraint()
public String getPatternTypeKey()
public void setPatternTypeKey(String patternTypeKey)
patternTypeKey - the patternTypeKey to setpublic String getLabelKey()
getLabelKey in class BaseConstraintBaseConstraint.getLabelKey()protected String getRegexString()
#getPatternTypePropertyString() to fetch the
validationPattern's regex string from the ConfigurationService which should not include the start(^) and end($) symbolsgetRegexString in class ValidDataPatternConstraintCopyright © 2005–2016 The Kuali Foundation. All rights reserved.