Package io.micronaut.data.model.query
Class QueryModel.PropertyComparisonCriterion
java.lang.Object
io.micronaut.data.model.query.QueryModel.PropertyNameCriterion
io.micronaut.data.model.query.QueryModel.PropertyComparisonCriterion
- All Implemented Interfaces:
QueryModel.Criterion
- Direct Known Subclasses:
QueryModel.EqualsProperty
,QueryModel.GreaterThanEqualsProperty
,QueryModel.GreaterThanProperty
,QueryModel.LessThanEqualsProperty
,QueryModel.LessThanProperty
,QueryModel.NotEqualsProperty
- Enclosing interface:
- QueryModel
A Criterion that compares to properties.
-
Field Summary
Fields inherited from class io.micronaut.data.model.query.QueryModel.PropertyNameCriterion
name
-
Constructor Summary
ModifierConstructorDescriptionprotected
PropertyComparisonCriterion
(String property, String otherProperty) Default constructor. -
Method Summary
Methods inherited from class io.micronaut.data.model.query.QueryModel.PropertyNameCriterion
getProperty
-
Constructor Details
-
PropertyComparisonCriterion
Default constructor.- Parameters:
property
- The property nameotherProperty
- The other property name
-
-
Method Details
-
getOtherProperty
- Returns:
- The other property
-