|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.modeshape.graph.query.model.Between
org.modeshape.jcr.query.qom.JcrBetween
public class JcrBetween
Implementation of the 'between' constraint for the Graph API and that is an extension to JCR Query Object Model.
Constructor Summary | |
---|---|
JcrBetween(JcrDynamicOperand operand,
JcrStaticOperand lowerBound,
JcrStaticOperand upperBound,
boolean includeLowerBound,
boolean includeUpperBound)
Create a constraint that the values of the supplied dynamic operand are between the lower and upper bounds, specifying whether the boundary values are to be included in the range. |
Method Summary | |
---|---|
StaticOperand |
getLowerBound()
Get the lower bound operand. |
DynamicOperand |
getOperand()
Get the dynamic operand specification. |
StaticOperand |
getUpperBound()
Get the upper bound operand. |
JcrStaticOperand |
lowerBound()
Get the lower bound operand. |
JcrDynamicOperand |
operand()
Get the dynamic operand specification. |
JcrStaticOperand |
upperBound()
Get the upper bound operand. |
Methods inherited from class org.modeshape.graph.query.model.Between |
---|
accept, equals, hashCode, isLowerBoundIncluded, isUpperBoundIncluded, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.modeshape.graph.query.model.Visitable |
---|
accept |
Methods inherited from interface org.modeshape.jcr.api.query.qom.Between |
---|
isLowerBoundIncluded, isUpperBoundIncluded |
Constructor Detail |
---|
public JcrBetween(JcrDynamicOperand operand, JcrStaticOperand lowerBound, JcrStaticOperand upperBound, boolean includeLowerBound, boolean includeUpperBound)
operand
- the dynamic operand describing the values that are to be constrainedlowerBound
- the lower bound of the rangeupperBound
- the upper bound of the rangeincludeLowerBound
- true if the lower boundary value is not be includedincludeUpperBound
- true if the upper boundary value is not be included
IllegalArgumentException
- if any of the arguments are nullMethod Detail |
---|
public JcrDynamicOperand operand()
operand
in class Between
Between.operand()
public JcrStaticOperand lowerBound()
lowerBound
in class Between
Between.lowerBound()
public JcrStaticOperand upperBound()
upperBound
in class Between
Between.upperBound()
public StaticOperand getLowerBound()
getLowerBound
in interface Between
Between.getLowerBound()
public StaticOperand getUpperBound()
getUpperBound
in interface Between
Between.getUpperBound()
public DynamicOperand getOperand()
getOperand
in interface Between
Between.getOperand()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |