net.sf.jpacriteria.restriction
Class Restrictions

java.lang.Object
  extended by net.sf.jpacriteria.restriction.SimpleRestrictions
      extended by net.sf.jpacriteria.restriction.SubCriteriaRestrictions
          extended by net.sf.jpacriteria.restriction.ReferenceRestrictions
              extended by net.sf.jpacriteria.restriction.Restrictions

public class Restrictions
extends ReferenceRestrictions

Version:
$Id: Restrictions.java,v 1.12 2007/04/11 14:51:40 maxim_butov Exp $
Author:
Maxim Butov

Constructor Summary
Restrictions()
           
 
Method Summary
static Restriction and(Restriction restriction, Restriction... restrictions)
           
static Restriction falseRestriction(java.lang.String name)
           
static Restriction not(Restriction r)
           
static Restriction or(Restriction restriction, Restriction... restrictions)
           
static Restriction restrict(java.lang.String name, Operator operator, Parameter value)
           
static Restriction trueRestriction(java.lang.String name)
           
 
Methods inherited from class net.sf.jpacriteria.restriction.ReferenceRestrictions
eq, eq, ge, ge, gt, gt, in, le, le, lt, lt, neq, neq
 
Methods inherited from class net.sf.jpacriteria.restriction.SubCriteriaRestrictions
eq, ge, gt, in, le, lt, neq
 
Methods inherited from class net.sf.jpacriteria.restriction.SimpleRestrictions
eq, eq, ge, gt, ilike, in, in, isNotNull, isNull, le, like, lt, neq
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Restrictions

public Restrictions()
Method Detail

restrict

public static Restriction restrict(java.lang.String name,
                                   Operator operator,
                                   Parameter value)

and

public static Restriction and(Restriction restriction,
                              Restriction... restrictions)

or

public static Restriction or(Restriction restriction,
                             Restriction... restrictions)

not

public static Restriction not(Restriction r)

falseRestriction

public static Restriction falseRestriction(java.lang.String name)

trueRestriction

public static Restriction trueRestriction(java.lang.String name)


Copyright © 2007. All Rights Reserved.