Class FixedPointValidationPattern
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
- All Implemented Interfaces:
Serializable
@Deprecated
public class FixedPointValidationPattern
extends org.kuali.rice.krad.datadictionary.validation.FieldLevelValidationPattern
Deprecated.
Validation pattern for matching fixed point numbers, optionally matching negative numbers
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.kuali.rice.krad.datadictionary.validation.ValidationPattern
org.kuali.rice.krad.datadictionary.validation.ValidationPattern.ValidationPatternException -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanDeprecated.static final StringDeprecated.static final StringDeprecated.protected intDeprecated.protected intDeprecated.Fields inherited from class org.kuali.rice.krad.datadictionary.validation.FieldLevelValidationPattern
regexPattern -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.kuali.rice.krad.datadictionary.exporter.ExportMapbuildExportMap(String exportKey) Deprecated.voidDeprecated.booleanDeprecated.protected StringDeprecated.intDeprecated.protected StringDeprecated.Adds special handling to account for optional allowNegative and dynamic precision, scaleintgetScale()Deprecated.Deprecated.String[]getValidationErrorMessageParameters(String attributeLabel) Deprecated.voidsetAllowNegative(boolean allowNegative) Deprecated.voidsetPrecision(int precision) Deprecated.voidsetScale(int scale) Deprecated.Methods inherited from class org.kuali.rice.krad.datadictionary.validation.FieldLevelValidationPattern
getRegexPatternMethods inherited from class org.kuali.rice.krad.datadictionary.validation.ValidationPattern
matches
-
Field Details
-
PATTERN_TYPE_PRECISION
Deprecated.- See Also:
-
PATTERN_TYPE_SCALE
Deprecated.- See Also:
-
allowNegative
protected boolean allowNegativeDeprecated. -
precision
protected int precisionDeprecated. -
scale
protected int scaleDeprecated.
-
-
Constructor Details
-
FixedPointValidationPattern
public FixedPointValidationPattern()Deprecated.
-
-
Method Details
-
getPrecision
public int getPrecision()Deprecated.- Returns:
- Returns the precision.
-
setPrecision
public void setPrecision(int precision) Deprecated.- Parameters:
precision- The precision to set.
-
getScale
public int getScale()Deprecated.- Returns:
- Returns the scale.
-
setScale
public void setScale(int scale) Deprecated.- Parameters:
scale- The scale to set.
-
getAllowNegative
public boolean getAllowNegative()Deprecated.- Returns:
- allowNegative
-
setAllowNegative
public void setAllowNegative(boolean allowNegative) Deprecated.- Parameters:
allowNegative-
-
getRegexString
Deprecated.Adds special handling to account for optional allowNegative and dynamic precision, scale- Overrides:
getRegexStringin classorg.kuali.rice.krad.datadictionary.validation.FieldLevelValidationPattern- See Also:
-
getPatternTypeName
Deprecated.- Specified by:
getPatternTypeNamein classorg.kuali.rice.krad.datadictionary.validation.FieldLevelValidationPattern
-
buildExportMap
Deprecated.- Overrides:
buildExportMapin classorg.kuali.rice.krad.datadictionary.validation.FieldLevelValidationPattern
-
getValidationErrorMessageKey
Deprecated.- Overrides:
getValidationErrorMessageKeyin classorg.kuali.rice.krad.datadictionary.validation.FieldLevelValidationPattern
-
getValidationErrorMessageParameters
Deprecated.- Overrides:
getValidationErrorMessageParametersin classorg.kuali.rice.krad.datadictionary.validation.ValidationPattern
-
completeValidation
public void completeValidation() throws org.kuali.rice.krad.datadictionary.validation.ValidationPattern.ValidationPatternExceptionDeprecated.- Overrides:
completeValidationin classorg.kuali.rice.krad.datadictionary.validation.ValidationPattern- Throws:
org.kuali.rice.krad.datadictionary.validation.ValidationPattern.ValidationPatternException
-
FixedPointPatternConstraint.