@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.
|
getRegexPattern
matches
public 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 FieldLevelValidationPattern
ValidationPattern.getRegexString()
protected String getPatternTypeName()
getPatternTypeName
in class FieldLevelValidationPattern
FieldLevelValidationPattern.getPatternTypeName()
public ExportMap buildExportMap(String exportKey)
ValidationPattern
buildExportMap
in class FieldLevelValidationPattern
ValidationPattern.buildExportMap(java.lang.String)
public String getValidationErrorMessageKey()
FieldLevelValidationPattern
getValidationErrorMessageKey
in class FieldLevelValidationPattern
FieldLevelValidationPattern.getValidationErrorMessageKey()
public String[] getValidationErrorMessageParameters(String attributeLabel)
getValidationErrorMessageParameters
in class ValidationPattern
ValidationPattern.getValidationErrorMessageParameters(java.lang.String)
public void completeValidation() throws ValidationPattern.ValidationPatternException
ValidationPattern
completeValidation
in class ValidationPattern
ValidationPattern.ValidationPatternException
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.