@Internal
public final class Restrictions
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
Restrictions.After<T extends java.lang.Comparable<? super T>>
Same as
Restrictions.PropertyGreaterThan . |
static class |
Restrictions.Before<T extends java.lang.Comparable<? super T>>
Same as
Restrictions.PropertyLessThan . |
static class |
Restrictions.PropertyBetween<T extends java.lang.Comparable<? super T>>
Between restriction.
|
static class |
Restrictions.PropertyContaining
Contains with criterion.
|
static class |
Restrictions.PropertyContains
Contains with criterion.
|
static class |
Restrictions.PropertyEndingWith
Ends with criterion.
|
static class |
Restrictions.PropertyEndsWith
Ends with criterion.
|
static class |
Restrictions.PropertyEqual<T>
Equal restriction.
|
static class |
Restrictions.PropertyEquals<T>
Equals restriction.
|
static class |
Restrictions.PropertyGreaterThan<T extends java.lang.Comparable<? super T>>
Greater than expression.
|
static class |
Restrictions.PropertyGreaterThanEquals<T extends java.lang.Comparable<? super T>>
Greater than equals.
|
static class |
Restrictions.PropertyIds<T>
Ids restriction.
|
static class |
Restrictions.PropertyIlike
Case insensitive like.
|
static class |
Restrictions.PropertyIn<T>
In restriction.
|
static class |
Restrictions.PropertyInList<T>
InList restriction.
|
static class |
Restrictions.PropertyInRange<T extends java.lang.Comparable<? super T>>
InRange restriction.
|
static class |
Restrictions.PropertyIsEmpty
IsEmpty restriction.
|
static class |
Restrictions.PropertyIsFalse
IsFalse restriction.
|
static class |
Restrictions.PropertyIsNotEmpty
IsNotEmpty restriction.
|
static class |
Restrictions.PropertyIsNotNull<T>
IsNotNull restriction.
|
static class |
Restrictions.PropertyIsNull<T>
IsNull restriction.
|
static class |
Restrictions.PropertyIsTrue
IsTrue restriction.
|
static class |
Restrictions.PropertyLessThan<T extends java.lang.Comparable<? super T>>
Less than.
|
static class |
Restrictions.PropertyLessThanEquals<T extends java.lang.Comparable<? super T>>
Less than equals.
|
static class |
Restrictions.PropertyLike
Like criterion.
|
static class |
Restrictions.PropertyNotEqual<T>
PropertyNotEqual restriction.
|
static class |
Restrictions.PropertyNotEquals<T>
PropertyNotEquals restriction.
|
static class |
Restrictions.PropertyNotIn<T>
NotIn restriction.
|
static class |
Restrictions.PropertyNotInList<T>
NotInList restriction.
|
static class |
Restrictions.PropertyRegex
Regex criterion.
|
static interface |
Restrictions.PropertyRestriction<T>
Property restriction.
|
static class |
Restrictions.PropertyRlike
Regex like.
|
static class |
Restrictions.PropertyStartingWith
Starts with criterion.
|
static class |
Restrictions.PropertyStartsWith
Starts with criterion.
|
static class |
Restrictions.PropertyStringEqualIgnoreCase
EqualIgnoreCase restriction.
|
static class |
Restrictions.PropertyStringEqualsIgnoreCase
EqualsIgnoreCase restriction.
|
static interface |
Restrictions.Restriction<T>
Restriction.
|
Modifier and Type | Field and Description |
---|---|
static java.util.Map<java.lang.String,Restrictions.PropertyRestriction> |
PROPERTY_RESTRICTIONS_MAP |
static java.util.Map<java.lang.String,Restrictions.Restriction> |
RESTRICTIONS_MAP |
Constructor and Description |
---|
Restrictions() |
Modifier and Type | Method and Description |
---|---|
static <T> Restrictions.PropertyRestriction<T> |
findPropertyRestriction(java.lang.String name) |
static <T> Restrictions.Restriction<T> |
findRestriction(java.lang.String name) |
public static final java.util.Map<java.lang.String,Restrictions.PropertyRestriction> PROPERTY_RESTRICTIONS_MAP
public static final java.util.Map<java.lang.String,Restrictions.Restriction> RESTRICTIONS_MAP
@Nullable public static <T> Restrictions.PropertyRestriction<T> findPropertyRestriction(java.lang.String name)
@Nullable public static <T> Restrictions.Restriction<T> findRestriction(java.lang.String name)