org.modeshape.jcr.query.qom
Class JcrOr
java.lang.Object
org.modeshape.graph.query.model.Or
org.modeshape.jcr.query.qom.JcrOr
- All Implemented Interfaces:
- Serializable, Or, Constraint, LanguageObject, Visitable, JcrConstraint
public class JcrOr
- extends Or
- implements Or, JcrConstraint
Implementation of the 'or' 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 |
JcrOr
public JcrOr(JcrConstraint left,
JcrConstraint right)
- Parameters:
left
- right
-
left
public JcrConstraint left()
- Get the left-hand constraint.
- Overrides:
left
in class Or
- Returns:
- the left-hand constraint; never null
- See Also:
And.left()
right
public JcrConstraint right()
- Get the right-hand constraint.
- Overrides:
right
in class Or
- Returns:
- the right-hand constraint; never null
- See Also:
And.right()
getConstraint1
public JcrConstraint getConstraint1()
-
- Specified by:
getConstraint1
in interface Or
- See Also:
And.getConstraint1()
getConstraint2
public JcrConstraint getConstraint2()
-
- Specified by:
getConstraint2
in interface Or
- See Also:
And.getConstraint2()
Copyright © 2008-2010 JBoss, a division of Red Hat. All Rights Reserved.