public class FixedPointPatternConstraint extends ValidDataPatternConstraint
Modifier and Type | Field and Description |
---|---|
protected boolean |
allowNegative |
protected int |
precision |
protected int |
scale |
value
applyClientSide, labelKey
Constructor and Description |
---|
FixedPointPatternConstraint() |
Modifier and Type | Method and Description |
---|---|
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) |
getValue, setValue
getApplyClientSide, getLabelKey, getValidationMessageParamsArray, setApplyClientSide, setLabelKey, setValidationMessageParams
protected boolean allowNegative
protected int precision
protected int scale
public FixedPointPatternConstraint()
protected String getRegexString()
getRegexString
in class ValidDataPatternConstraint
ValidCharactersPatternConstraint.getRegexString()
public boolean isAllowNegative()
public void setAllowNegative(boolean allowNegative)
allowNegative
- the allowNegative to setpublic int getPrecision()
public void setPrecision(int precision)
precision
- the precision to setpublic int getScale()
public void setScale(int scale)
scale
- the scale to setpublic List<String> getValidationMessageParams()
getValidationMessageParams
in class BaseConstraint
BaseConstraint.getValidationMessageParams()
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.