org.modeshape.jcr.query.qom
Class JcrSetCriteria

java.lang.Object
  extended by org.modeshape.graph.query.model.SetCriteria
      extended by 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

Constructor Summary
JcrSetCriteria(JcrDynamicOperand left, Collection<? extends JcrStaticOperand> setOperands)
           
JcrSetCriteria(JcrDynamicOperand left, JcrStaticOperand... setOperands)
           
 
Method Summary
 DynamicOperand getOperand()
          Get the dynamic operand specification for the left-hand side of the set criteria.
 Collection<? extends StaticOperand> getValues()
          Get the static operands for this set criteria.
 
Methods inherited from class org.modeshape.graph.query.model.SetCriteria
accept, equals, hashCode, leftOperand, rightOperands, 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
 

Constructor Detail

JcrSetCriteria

public JcrSetCriteria(JcrDynamicOperand left,
                      Collection<? extends JcrStaticOperand> setOperands)
Parameters:
left -
setOperands -

JcrSetCriteria

public JcrSetCriteria(JcrDynamicOperand left,
                      JcrStaticOperand... setOperands)
Parameters:
left -
setOperands -
Method Detail

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.