Package io.micronaut.data.model.query
Class QueryModel.PropertyCriterion
java.lang.Object
io.micronaut.data.model.query.QueryModel.PropertyNameCriterion
io.micronaut.data.model.query.QueryModel.PropertyCriterion
- All Implemented Interfaces:
QueryModel.Criterion
- Direct Known Subclasses:
QueryModel.ArrayContains
,QueryModel.Between
,QueryModel.Contains
,QueryModel.EndsWith
,QueryModel.Equals
,QueryModel.GreaterThan
,QueryModel.GreaterThanEquals
,QueryModel.IdEquals
,QueryModel.In
,QueryModel.LessThan
,QueryModel.LessThanEquals
,QueryModel.Like
,QueryModel.NotEquals
,QueryModel.NotIn
,QueryModel.Regex
,QueryModel.SizeEquals
,QueryModel.SizeGreaterThan
,QueryModel.SizeGreaterThanEquals
,QueryModel.SizeLessThan
,QueryModel.SizeLessThanEquals
,QueryModel.SizeNotEquals
,QueryModel.StartsWith
,QueryModel.SubqueryCriterion
,QueryModel.VersionEquals
- Enclosing interface:
- QueryModel
Criterion that applies to a property and value.
-
Field Summary
Fields inherited from class io.micronaut.data.model.query.QueryModel.PropertyNameCriterion
name
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetValue()
ignoreCase
(boolean ignoreCase) Sets whether to ignore case.boolean
void
Sets the value.Methods inherited from class io.micronaut.data.model.query.QueryModel.PropertyNameCriterion
getProperty
-
Field Details
-
value
-
-
Constructor Details
-
PropertyCriterion
Default constructor.- Parameters:
name
- The property namevalue
- The criterion value
-
-
Method Details
-
getValue
- Returns:
- The value
-
setValue
Sets the value.- Parameters:
v
- The value to set
-
isIgnoreCase
public boolean isIgnoreCase()- Returns:
- Whether to ignore case,
-
ignoreCase
Sets whether to ignore case.- Parameters:
ignoreCase
- True if case should be ignored- Returns:
- This criterion
-