org.qi4j.api.specification
Class Specifications

java.lang.Object
  extended by org.qi4j.api.specification.Specifications

public class Specifications
extends Object

Common generic specification expressions


Constructor Summary
Specifications()
           
 
Method Summary
static
<T> Specification<T>
and(Specification<T>... specifications)
           
static
<T> Specification<T>
in(T... allowed)
           
static
<T> Specification<T>
not(Specification<T> specification)
           
static
<T> Specification<T>
or(Specification<T>... specifications)
           
static
<T> Specification<T>
TRUE()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Specifications

public Specifications()
Method Detail

TRUE

public static <T> Specification<T> TRUE()

not

public static <T> Specification<T> not(Specification<T> specification)

and

public static <T> Specification<T> and(Specification<T>... specifications)

or

public static <T> Specification<T> or(Specification<T>... specifications)

in

public static <T> Specification<T> in(T... allowed)