Class DecimalConstraint
- java.lang.Object
-
- org.apache.jackrabbit.oak.plugins.nodetype.constraint.NumericConstraint<BigDecimal>
-
- org.apache.jackrabbit.oak.plugins.nodetype.constraint.DecimalConstraint
-
public class DecimalConstraint extends NumericConstraint<BigDecimal>
-
-
Constructor Summary
Constructors Constructor Description DecimalConstraint(String definition)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
equals(BigDecimal val, BigDecimal bound)
protected BigDecimal
getBound(String bound)
protected BigDecimal
getValue(Value value)
protected boolean
less(BigDecimal val, BigDecimal bound)
-
Methods inherited from class org.apache.jackrabbit.oak.plugins.nodetype.constraint.NumericConstraint
greater, greaterOrEqual, lessOrEqual, test, toString
-
-
-
-
Constructor Detail
-
DecimalConstraint
public DecimalConstraint(String definition)
-
-
Method Detail
-
getBound
protected BigDecimal getBound(String bound)
- Specified by:
getBound
in classNumericConstraint<BigDecimal>
-
getValue
protected BigDecimal getValue(Value value) throws RepositoryException
- Specified by:
getValue
in classNumericConstraint<BigDecimal>
- Throws:
RepositoryException
-
less
protected boolean less(BigDecimal val, BigDecimal bound)
- Specified by:
less
in classNumericConstraint<BigDecimal>
-
equals
protected boolean equals(BigDecimal val, BigDecimal bound)
- Overrides:
equals
in classNumericConstraint<BigDecimal>
-
-