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