public static final Criterion not(Criterion criterion){
  final List<Criterion> criteria=new ArrayList<Criterion>();
  criteria.add(criterion);
  return new ConjunctionCriterion(Conjunction.NOR,criteria);
}

public static final Criterion not ( Criterion criterion ) { final List < Criterion > criteria = new ArrayList < Criterion > ( ) ; criteria . add ( criterion ) ; return new ConjunctionCriterion ( Conjunction . NOR , criteria ) ; }
creates a filter inverting the given criteria .
