org.kuali.rice.krad.datadictionary.validation.constraint
Class FloatingPointPatternConstraint
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
org.kuali.rice.krad.datadictionary.validation.constraint.FloatingPointPatternConstraint
- All Implemented Interfaces:
- Serializable, Constraint
public class FloatingPointPatternConstraint
- extends ConfigurationBasedRegexPatternConstraint
Validation pattern for matching floating point numbers, optionally matching negative numbers
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
allowNegative
protected boolean allowNegative
FloatingPointPatternConstraint
public FloatingPointPatternConstraint()
getRegexString
protected String getRegexString()
- Description copied from class:
ConfigurationBasedRegexPatternConstraint
- 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
- Overrides:
getRegexString
in class ConfigurationBasedRegexPatternConstraint
- See Also:
ValidCharactersPatternConstraint.getRegexString()
isAllowNegative
public boolean isAllowNegative()
- Returns:
- the allowNegative
setAllowNegative
public void setAllowNegative(boolean allowNegative)
- Parameters:
allowNegative
- the allowNegative to set
getValidationMessageParams
public List<String> getValidationMessageParams()
- This overridden method ...
- Overrides:
getValidationMessageParams
in class BaseConstraint
- Returns:
- the validationMessageParams
- See Also:
BaseConstraint.getValidationMessageParams()
Copyright © 2005-2014 The Kuali Foundation. All Rights Reserved.