public class FloatingPointPatternConstraint extends ConfigurationBasedRegexPatternConstraint
Modifier and Type | Field and Description |
---|---|
protected boolean |
allowNegative |
patternTypeKey
value
applyClientSide, labelKey
Constructor and Description |
---|
FloatingPointPatternConstraint() |
Modifier and Type | Method and Description |
---|---|
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 |
List<String> |
getValidationMessageParams()
This overridden method ...
|
boolean |
isAllowNegative() |
void |
setAllowNegative(boolean allowNegative) |
getLabelKey, getPatternTypeKey, setPatternTypeKey
getValue, setValue
getApplyClientSide, getValidationMessageParamsArray, setApplyClientSide, setLabelKey, setValidationMessageParams
protected boolean allowNegative
public FloatingPointPatternConstraint()
protected String getRegexString()
ConfigurationBasedRegexPatternConstraint
#getPatternTypePropertyString()
to fetch the
validationPattern's regex string from the ConfigurationService which should not include the start(^) and end($) symbolsgetRegexString
in class ConfigurationBasedRegexPatternConstraint
ValidCharactersPatternConstraint.getRegexString()
public boolean isAllowNegative()
public void setAllowNegative(boolean allowNegative)
allowNegative
- the allowNegative to setpublic List<String> getValidationMessageParams()
getValidationMessageParams
in class BaseConstraint
BaseConstraint.getValidationMessageParams()
Copyright © 2005-2015 The Kuali Foundation. All Rights Reserved.