Skip to content

Package: Expression

Expression

Coverage

1: package cz.cvut.kbss.jopa.model.query.criteria;
2:
3: import java.util.Collection;
4:
5: public interface Expression<X> extends Selection<X>{
6:
7: /**
8: * Create a predicate to test whether the expression is a member of the collection.
9: * @param values collection of values to be tested against
10: * @return predicate testing for membership
11: */
12: Predicate in(Collection<?> values);
13:
14: /**
15: * Create a predicate to test whether the expression is a member of the argument list.
16: * @param values expressions to be tested against
17: * @return predicate testing for membership
18: */
19: Predicate in(Expression<?>... values);
20:
21: /**
22: * Create a predicate to test whether the expression is a member of the argument list.
23: * @param values values to be tested against
24: * @return predicate testing for membership
25: */
26: Predicate in(Object... values);
27: }