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 LonggetBound(String bound)protected LonggetValue(Value value)protected booleanless(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:
getBoundin classNumericConstraint<Long>
-
getValue
protected Long getValue(Value value) throws RepositoryException
- Specified by:
getValuein classNumericConstraint<Long>- Throws:
RepositoryException
-
less
protected boolean less(Long val, Long bound)
- Specified by:
lessin classNumericConstraint<Long>
-
-