org.modeshape.jcr.query.qom
Class JcrSetCriteria
java.lang.Object
org.modeshape.graph.query.model.SetCriteria
org.modeshape.jcr.query.qom.JcrSetCriteria
- All Implemented Interfaces:
- Serializable, Constraint, LanguageObject, Visitable, SetCriteria, JcrConstraint
public class JcrSetCriteria
- extends SetCriteria
- implements JcrConstraint, SetCriteria
Implementation of the same node 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 |
JcrSetCriteria
public JcrSetCriteria(JcrDynamicOperand left,
Collection<? extends JcrStaticOperand> setOperands)
- Parameters:
left
- setOperands
-
JcrSetCriteria
public JcrSetCriteria(JcrDynamicOperand left,
JcrStaticOperand... setOperands)
- Parameters:
left
- setOperands
-
getOperand
public DynamicOperand getOperand()
- Get the dynamic operand specification for the left-hand side of the set criteria.
- Specified by:
getOperand
in interface SetCriteria
- Returns:
- the dynamic operand; never null
- See Also:
SetCriteria.getOperand()
getValues
public Collection<? extends StaticOperand> getValues()
- Get the static operands for this set criteria.
- Specified by:
getValues
in interface SetCriteria
- Returns:
- the static operand; never null and never empty
- See Also:
SetCriteria.getValues()
Copyright © 2008-2010 JBoss, a division of Red Hat. All Rights Reserved.