org.modeshape.jcr.api.query.qom
Interface SetCriteria

All Superinterfaces:
Constraint
All Known Implementing Classes:
JcrSetCriteria

public interface SetCriteria
extends Constraint

A constraint that evaluates to true when the value defined by the dynamic operand evaluates to be within the set of values specified by the collection of values.


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.
 

Method Detail

getOperand

DynamicOperand getOperand()
Get the dynamic operand specification for the left-hand side of the set criteria.

Returns:
the dynamic operand; never null

getValues

Collection<? extends StaticOperand> getValues()
Get the static operands for this set criteria.

Returns:
the static operand; never null and never empty


Copyright © 2008-2010 JBoss, a division of Red Hat. All Rights Reserved.