Class ConstraintBigDecimal

  • All Implemented Interfaces:
    Constraint<String,​BigDecimal>

    public final class ConstraintBigDecimal
    extends Object
    implements Constraint<String,​BigDecimal>
    Manage BigDecimal's constraints. The configuration is like the configuration of Database's decimal (DECIMAL(M,D)). Where M is the maximum of digits (the precision) and D is the number of digits to the right of the decimal point (the scale). The maximum number of digits to the left of the decimal point is check too and must be less than M-D.
    Author:
    mlaroche