public abstract class ComparisonPredicate<Q> extends AbstractPredicate<Q>
EQUALS
or LESS
.Modifier and Type | Class and Description |
---|---|
static class |
ComparisonPredicate.Type |
Modifier and Type | Field and Description |
---|---|
protected String |
propertyName |
protected ComparisonPredicate.Type |
type |
protected Object |
value |
Constructor and Description |
---|
ComparisonPredicate(String propertyName,
ComparisonPredicate.Type type,
Object value) |
Modifier and Type | Method and Description |
---|---|
protected abstract Q |
getEqualsQuery() |
protected abstract Q |
getGreaterOrEqualsQuery() |
protected abstract Q |
getLessOrEqualsQuery() |
Q |
getQuery()
Returns the query represented by this predicate.
|
protected abstract Q |
getStrictlyGreaterQuery() |
protected abstract Q |
getStrictlyLessQuery() |
String |
toString() |
as, getType
protected final String propertyName
protected final ComparisonPredicate.Type type
protected final Object value
public ComparisonPredicate(String propertyName, ComparisonPredicate.Type type, Object value)
public Q getQuery()
Predicate
protected abstract Q getStrictlyLessQuery()
protected abstract Q getLessOrEqualsQuery()
protected abstract Q getEqualsQuery()
protected abstract Q getGreaterOrEqualsQuery()
protected abstract Q getStrictlyGreaterQuery()
Copyright © 2013. All rights reserved.