public class FloatingPointPatternConstraint extends ConfigurationBasedRegexPatternConstraint
Modifier and Type | Field and Description |
---|---|
protected boolean |
allowNegative |
patternTypeKey
value
applyClientSide, constraintStateOverrides, messageComponentCode, messageKey, messageNamespaceCode, states, validationMessageParams
componentCode, namespaceCode
Constructor and Description |
---|
FloatingPointPatternConstraint() |
Modifier and Type | Method and Description |
---|---|
protected String |
getRegexString()
Uses the key returned by
ConfigurationBasedRegexPatternConstraint.getPatternTypeKey() to fetch the
validationPattern's regex string from the ConfigurationService which should not include
the start(^) and end($) symbols |
List<String> |
getValidationMessageParams()
Parameters to be used in the string retrieved by this constraint's messageKey, ordered by number of
the param
|
boolean |
isAllowNegative() |
void |
setAllowNegative(boolean allowNegative) |
getMessageKey, getPatternTypeKey, setPatternTypeKey
getValue, setValue
completeValidation
getApplyClientSide, getConstraintStateOverrides, getMessageComponentCode, getMessageNamespaceCode, getStates, getValidationMessageParamsArray, setApplyClientSide, setConstraintStateOverrides, setMessageComponentCode, setMessageKey, setMessageNamespaceCode, setStates, setValidationMessageParams
clone, copy, dataDictionaryPostProcessing, getComponentCode, getNamespaceCode, setComponentCode, setNamespaceCode
protected boolean allowNegative
public FloatingPointPatternConstraint()
protected String getRegexString()
ConfigurationBasedRegexPatternConstraint
ConfigurationBasedRegexPatternConstraint.getPatternTypeKey()
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()
BaseConstraint
getValidationMessageParams
in class BaseConstraint
BaseConstraint.getValidationMessageParams()
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.