|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.krad.datadictionary.validation.ValidationPattern org.kuali.rice.krad.datadictionary.validation.FieldLevelValidationPattern org.kuali.rice.kns.datadictionary.validation.fieldlevel.FixedPointValidationPattern
FixedPointPatternConstraint
.
@Deprecated public class FixedPointValidationPattern
Validation pattern for matching fixed point numbers, optionally matching negative numbers
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.kuali.rice.krad.datadictionary.validation.ValidationPattern |
---|
ValidationPattern.ValidationPatternException |
Field Summary | |
---|---|
protected boolean |
allowNegative
Deprecated. |
static String |
PATTERN_TYPE_PRECISION
Deprecated. |
static String |
PATTERN_TYPE_SCALE
Deprecated. |
protected int |
precision
Deprecated. |
protected int |
scale
Deprecated. |
Fields inherited from class org.kuali.rice.krad.datadictionary.validation.FieldLevelValidationPattern |
---|
regexPattern |
Constructor Summary | |
---|---|
FixedPointValidationPattern()
Deprecated. |
Method Summary | |
---|---|
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. |
Methods inherited from class org.kuali.rice.krad.datadictionary.validation.FieldLevelValidationPattern |
---|
getRegexPattern |
Methods inherited from class org.kuali.rice.krad.datadictionary.validation.ValidationPattern |
---|
matches |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String PATTERN_TYPE_PRECISION
public static final String PATTERN_TYPE_SCALE
protected boolean allowNegative
protected int precision
protected int scale
Constructor Detail |
---|
public FixedPointValidationPattern()
Method Detail |
---|
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |