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
Method Summary |
String |
getLabelKey()
This overridden method ... |
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 |
boolean |
isAllowNegative()
|
void |
setAllowNegative(boolean allowNegative)
|
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()
getLabelKey
public String getLabelKey()
- Description copied from class:
ValidDataPatternConstraint
- This overridden method ...
- Overrides:
getLabelKey
in class ValidDataPatternConstraint
- Returns:
- See Also:
ValidDataPatternConstraint.getLabelKey()
isAllowNegative
public boolean isAllowNegative()
- Returns:
- the allowNegative
setAllowNegative
public void setAllowNegative(boolean allowNegative)
- Parameters:
allowNegative
- the allowNegative to set
Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.