org.kuali.rice.krad.datadictionary.validation.constraint
Class FixedPointPatternConstraint
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.FixedPointPatternConstraint
- All Implemented Interfaces:
- Serializable, Constraint
public class FixedPointPatternConstraint
- extends ValidDataPatternConstraint
TODO delyea don't forget to fill this in.
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
- See Also:
- Serialized Form
Methods inherited from class org.kuali.rice.krad.datadictionary.validation.constraint.BaseConstraint |
getApplyClientSide, getConstraintStateOverrides, getMessageComponentCode, getMessageKey, getMessageNamespaceCode, getStates, getValidationMessageParamsArray, setApplyClientSide, setConstraintStateOverrides, setMessageComponentCode, setMessageKey, setMessageNamespaceCode, setStates, setValidationMessageParams |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
allowNegative
protected boolean allowNegative
precision
protected int precision
scale
protected int scale
FixedPointPatternConstraint
public FixedPointPatternConstraint()
getRegexString
protected String getRegexString()
- Overriding retrieval of
- Specified by:
getRegexString
in class ValidDataPatternConstraint
- See Also:
ValidCharactersPatternConstraint.getRegexString()
isAllowNegative
public boolean isAllowNegative()
- Returns:
- the allowNegative
setAllowNegative
public void setAllowNegative(boolean allowNegative)
- Parameters:
allowNegative
- the allowNegative to set
getPrecision
public int getPrecision()
- Returns:
- the precision
setPrecision
public void setPrecision(int precision)
- Parameters:
precision
- the precision to set
getScale
public int getScale()
- Returns:
- the scale
setScale
public void setScale(int scale)
- Parameters:
scale
- the scale to set
getValidationMessageParams
public List<String> getValidationMessageParams()
- This overridden method ...
- Overrides:
getValidationMessageParams
in class BaseConstraint
- Returns:
- the validationMessageParams
- See Also:
BaseConstraint.getValidationMessageParams()
completeValidation
public void completeValidation(ValidationTrace tracer)
- Validates different requirements of component compiling a series of reports detailing information on errors
found in the component. Used by the RiceDictionaryValidator.
- Overrides:
completeValidation
in class ValidCharactersConstraint
- Parameters:
tracer
- Record of component's location
Copyright © 2005-2013 The Kuali Foundation. All Rights Reserved.