public class ConfigurationBasedRegexPatternConstraint extends ValidDataPatternConstraint
Modifier and Type | Field and Description |
---|---|
protected String |
patternTypeKey
the key used to identify the validation pattern
|
value
applyClientSide, 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, setValue
getApplyClientSide, getValidationMessageParams, getValidationMessageParamsArray, setApplyClientSide, setLabelKey, setValidationMessageParams
protected String patternTypeKey
public ConfigurationBasedRegexPatternConstraint()
public String getPatternTypeKey()
public void setPatternTypeKey(String patternTypeKey)
patternTypeKey
- the patternTypeKey to setpublic String getLabelKey()
getLabelKey
in class BaseConstraint
BaseConstraint.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 ValidDataPatternConstraint
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.