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