org.kuali.rice.krad.datadictionary.validation.constraint
Class FixedPointPatternConstraint

java.lang.Object
  extended by org.kuali.rice.krad.datadictionary.validation.constraint.BaseConstraint
      extended by org.kuali.rice.krad.datadictionary.validation.constraint.ValidCharactersConstraint
          extended by org.kuali.rice.krad.datadictionary.validation.constraint.ValidDataPatternConstraint
              extended by 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

Field Summary
protected  boolean allowNegative
           
protected  int precision
           
protected  int scale
           
 
Fields inherited from class org.kuali.rice.krad.datadictionary.validation.constraint.ValidCharactersConstraint
value
 
Fields inherited from class org.kuali.rice.krad.datadictionary.validation.constraint.BaseConstraint
applyClientSide, labelKey
 
Constructor Summary
FixedPointPatternConstraint()
           
 
Method Summary
 int getPrecision()
           
protected  String getRegexString()
          Overriding retrieval of
 int getScale()
           
 List<String> getValidationMessageParams()
          This overridden method ...
 boolean isAllowNegative()
           
 void setAllowNegative(boolean allowNegative)
           
 void setPrecision(int precision)
           
 void setScale(int scale)
           
 
Methods inherited from class org.kuali.rice.krad.datadictionary.validation.constraint.ValidDataPatternConstraint
getValue, setValue
 
Methods inherited from class org.kuali.rice.krad.datadictionary.validation.constraint.BaseConstraint
getApplyClientSide, getLabelKey, getValidationMessageParamsArray, setApplyClientSide, setLabelKey, setValidationMessageParams
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

allowNegative

protected boolean allowNegative

precision

protected int precision

scale

protected int scale
Constructor Detail

FixedPointPatternConstraint

public FixedPointPatternConstraint()
Method Detail

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()


Copyright © 2005-2013 The Kuali Foundation. All Rights Reserved.