Class BigDecimalValidationRules
java.lang.Object
com.skava.oms.validator.constraints.bigdecimal.BigDecimalValidationRules
The validation rules
specified what boundries will be validated through the validator - types
are:
minDecimalPlaces
min count of decimal places- Default: 1
maxDecimalPlaces
max count of decimal places- Default: 10
maxFractionalPlaces
max count of fractional places- Default: 5
minValue
max count of fractional places*- Default: -Double.MAX_VALUE
maxValue
max count of fractional places*- Default: Double.MAX_VALUE
- Author:
- Tobias Schneider - schneider@synyx.de
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlong
long
long
-
Constructor Details
-
BigDecimalValidationRules
public BigDecimalValidationRules()
-
-
Method Details
-
getMinDecimalPlaces
public long getMinDecimalPlaces() -
getMaxDecimalPlaces
public long getMaxDecimalPlaces() -
getMaxFractionalPlaces
public long getMaxFractionalPlaces() -
getMinValue
-
getMaxValue
-