@Deprecated public class FixedPointValidationPattern extends FieldLevelValidationPattern
ValidationPattern.ValidationPatternException| Modifier and Type | Field and Description |
|---|---|
protected boolean |
allowNegative
Deprecated.
|
static String |
PATTERN_TYPE_PRECISION
Deprecated.
|
static String |
PATTERN_TYPE_SCALE
Deprecated.
|
protected int |
precision
Deprecated.
|
protected int |
scale
Deprecated.
|
regexPattern| Constructor and Description |
|---|
FixedPointValidationPattern()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
ExportMap |
buildExportMap(String exportKey)
Deprecated.
Builds an export map describing the subclass instance.
|
void |
completeValidation()
Deprecated.
This method throws an exception if it is not configured properly
|
boolean |
getAllowNegative()
Deprecated.
|
protected String |
getPatternTypeName()
Deprecated.
|
int |
getPrecision()
Deprecated.
|
protected String |
getRegexString()
Deprecated.
Adds special handling to account for optional allowNegative and dynamic precision, scale
|
int |
getScale()
Deprecated.
|
String |
getValidationErrorMessageKey()
Deprecated.
This overridden method ...
|
String[] |
getValidationErrorMessageParameters(String attributeLabel)
Deprecated.
This overridden method ...
|
void |
setAllowNegative(boolean allowNegative)
Deprecated.
|
void |
setPrecision(int precision)
Deprecated.
|
void |
setScale(int scale)
Deprecated.
|
getRegexPatternmatchespublic static final String PATTERN_TYPE_PRECISION
public static final String PATTERN_TYPE_SCALE
protected boolean allowNegative
protected int precision
protected int scale
public FixedPointValidationPattern()
public int getPrecision()
public void setPrecision(int precision)
precision - The precision to set.public int getScale()
public void setScale(int scale)
scale - The scale to set.public boolean getAllowNegative()
public void setAllowNegative(boolean allowNegative)
allowNegative - protected String getRegexString()
getRegexString in class FieldLevelValidationPatternValidationPattern.getRegexString()protected String getPatternTypeName()
getPatternTypeName in class FieldLevelValidationPatternFieldLevelValidationPattern.getPatternTypeName()public ExportMap buildExportMap(String exportKey)
ValidationPatternbuildExportMap in class FieldLevelValidationPatternValidationPattern.buildExportMap(java.lang.String)public String getValidationErrorMessageKey()
FieldLevelValidationPatterngetValidationErrorMessageKey in class FieldLevelValidationPatternFieldLevelValidationPattern.getValidationErrorMessageKey()public String[] getValidationErrorMessageParameters(String attributeLabel)
getValidationErrorMessageParameters in class ValidationPatternValidationPattern.getValidationErrorMessageParameters(java.lang.String)public void completeValidation() throws ValidationPattern.ValidationPatternException
ValidationPatterncompleteValidation in class ValidationPatternValidationPattern.ValidationPatternExceptionCopyright © 2005–2016 The Kuali Foundation. All rights reserved.