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