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 booleanequals(BigDecimal val, BigDecimal bound)protected BigDecimalgetBound(String bound)protected BigDecimalgetValue(Value value)protected booleanless(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:
getBoundin classNumericConstraint<BigDecimal>
-
getValue
protected BigDecimal getValue(Value value) throws RepositoryException
- Specified by:
getValuein classNumericConstraint<BigDecimal>- Throws:
RepositoryException
-
less
protected boolean less(BigDecimal val, BigDecimal bound)
- Specified by:
lessin classNumericConstraint<BigDecimal>
-
equals
protected boolean equals(BigDecimal val, BigDecimal bound)
- Overrides:
equalsin classNumericConstraint<BigDecimal>
-
-