org.modeshape.jcr.query.qom
Class JcrAnd
java.lang.Object
org.modeshape.graph.query.model.And
org.modeshape.jcr.query.qom.JcrAnd
- All Implemented Interfaces:
- Serializable, And, Constraint, LanguageObject, Visitable, JcrConstraint
public class JcrAnd
- extends And
- implements And, JcrConstraint
Implementation of the 'and' constraint for the JCR Query Object Model and the Graph API.
- See Also:
- Serialized Form
Methods inherited from interface org.modeshape.graph.query.model.Visitable |
accept |
JcrAnd
public JcrAnd(JcrConstraint left,
JcrConstraint right)
- Parameters:
left
- right
-
left
public JcrConstraint left()
- Get the constraint that is on the left-hand-side of the AND operation.
- Overrides:
left
in class And
- Returns:
- the left-hand-side constraint
- See Also:
And.left()
right
public JcrConstraint right()
- Get the constraint that is on the right-hand-side of the AND operation.
- Overrides:
right
in class And
- Returns:
- the right-hand-side constraint
- See Also:
And.right()
getConstraint1
public JcrConstraint getConstraint1()
-
- Specified by:
getConstraint1
in interface And
- See Also:
And.getConstraint1()
getConstraint2
public JcrConstraint getConstraint2()
-
- Specified by:
getConstraint2
in interface And
- See Also:
And.getConstraint2()
Copyright © 2008-2011 JBoss, a division of Red Hat. All Rights Reserved.