Class Restrictions
- java.lang.Object
-
- io.micronaut.data.processor.visitors.finders.Restrictions
-
@Internal public final class Restrictions extends java.lang.ObjectRestrictions.- Since:
- 3.2
- Author:
- Denis Stepanov
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRestrictions.After<T extends java.lang.Comparable<? super T>>Same asRestrictions.PropertyGreaterThan.static classRestrictions.Before<T extends java.lang.Comparable<? super T>>Same asRestrictions.PropertyLessThan.static classRestrictions.PropertyBetween<T extends java.lang.Comparable<? super T>>Between restriction.static classRestrictions.PropertyContainingContains with criterion.static classRestrictions.PropertyContainingIgnoreCaseContains with criterion.static classRestrictions.PropertyContainsContains with criterion.static classRestrictions.PropertyContainsIgnoreCaseContains with criterion IgnoreCase.static classRestrictions.PropertyEndingWithEnds with criterion.static classRestrictions.PropertyEndingWithIgnoreCaseEnds with criterion.static classRestrictions.PropertyEndsWithEnds with criterion.static classRestrictions.PropertyEndsWithIgnoreCaseEnds with criterion.static classRestrictions.PropertyEqual<T>Equal restriction.static classRestrictions.PropertyEquals<T>Equals restriction.static classRestrictions.PropertyGreaterThan<T extends java.lang.Comparable<? super T>>Greater than expression.static classRestrictions.PropertyGreaterThanEquals<T extends java.lang.Comparable<? super T>>Greater than equals.static classRestrictions.PropertyIds<T>Ids restriction.static classRestrictions.PropertyIlikeCase insensitive like.static classRestrictions.PropertyIn<T>In restriction.static classRestrictions.PropertyInList<T>InList restriction.static classRestrictions.PropertyInRange<T extends java.lang.Comparable<? super T>>InRange restriction.static classRestrictions.PropertyIsEmptyIsEmpty restriction.static classRestrictions.PropertyIsFalseIsFalse restriction.static classRestrictions.PropertyIsNotEmptyIsNotEmpty restriction.static classRestrictions.PropertyIsNotNull<T>IsNotNull restriction.static classRestrictions.PropertyIsNull<T>IsNull restriction.static classRestrictions.PropertyIsTrueIsTrue restriction.static classRestrictions.PropertyLessThan<T extends java.lang.Comparable<? super T>>Less than.static classRestrictions.PropertyLessThanEquals<T extends java.lang.Comparable<? super T>>Less than equals.static classRestrictions.PropertyLikeLike criterion.static classRestrictions.PropertyNotEqual<T>PropertyNotEqual restriction.static classRestrictions.PropertyNotEquals<T>PropertyNotEquals restriction.static classRestrictions.PropertyNotIn<T>NotIn restriction.static classRestrictions.PropertyNotInList<T>NotInList restriction.static classRestrictions.PropertyRegexRegex criterion.static interfaceRestrictions.PropertyRestriction<T>Property restriction.static classRestrictions.PropertyRlikeRegex like.static classRestrictions.PropertyStartingWithStarts with criterion.static classRestrictions.PropertyStartingWithIgnoreCaseStarts with criterion.static classRestrictions.PropertyStartsWithStarts with criterion.static classRestrictions.PropertyStartsWithIgnoreCaseStarts with criterion.static classRestrictions.PropertyStringEqualIgnoreCaseEqualIgnoreCase restriction.static classRestrictions.PropertyStringEqualsIgnoreCaseEqualsIgnoreCase restriction.static interfaceRestrictions.Restriction<T>Restriction.
-
Field Summary
Fields Modifier and Type Field Description static java.util.Map<java.lang.String,Restrictions.PropertyRestriction>PROPERTY_RESTRICTIONS_MAPstatic java.util.Map<java.lang.String,Restrictions.Restriction>RESTRICTIONS_MAP
-
Constructor Summary
Constructors Constructor Description Restrictions()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T> Restrictions.PropertyRestriction<T>findPropertyRestriction(java.lang.String name)static <T> Restrictions.Restriction<T>findRestriction(java.lang.String name)
-
-
-
Field Detail
-
PROPERTY_RESTRICTIONS_MAP
public static final java.util.Map<java.lang.String,Restrictions.PropertyRestriction> PROPERTY_RESTRICTIONS_MAP
-
RESTRICTIONS_MAP
public static final java.util.Map<java.lang.String,Restrictions.Restriction> RESTRICTIONS_MAP
-
-
Method Detail
-
findPropertyRestriction
@Nullable public static <T> Restrictions.PropertyRestriction<T> findPropertyRestriction(java.lang.String name)
-
findRestriction
@Nullable public static <T> Restrictions.Restriction<T> findRestriction(java.lang.String name)
-
-