public abstract class Restrictions extends Object
Constructor and Description |
---|
Restrictions() |
public static NullRestriction isNull(String attribute)
public static NotNullRestriction isNotNull(String attribute)
public static EqRestriction id(Integer id)
public static EqRestriction eq(String attribute, Object comparator)
public static Restriction ne(String attribute, Object comparator)
public static GtRestriction gt(String attribute, Object comparator)
public static GeRestriction ge(String attribute, Object comparator)
public static LtRestriction lt(String attribute, Object comparator)
public static LeRestriction le(String attribute, Object comparator)
public static LikeRestriction like(String attribute, Object comparator)
public static IlikeRestriction ilike(String attribute, Object comparator)
public static IplikeRestriction iplike(String attribute, Object comparator)
public static InRestriction in(String attribute, Collection<?> collection)
public static BetweenRestriction between(String attribute, Object begin, Object end)
public static NotRestriction not(Restriction restriction)
public static AllRestriction and(Restriction... restrictions)
public static AnyRestriction or(Restriction... restrictions)
public static AllRestriction all(Restriction... restrictions)
public static AllRestriction all(Collection<Restriction> restrictions)
public static AnyRestriction any(Restriction... restrictions)
public static AnyRestriction any(Collection<Restriction> restrictions)
public static AttributeRestriction sql(String sql)
Copyright © 2016. All rights reserved.