public class NotNullPredicate extends QueryParameterPredicate
A predicate whose right operand is always not null
.
Constructor and Description |
---|
NotNullPredicate(QueryParameter queryParameter)
Creates a new predicate instance.
|
Modifier and Type | Method and Description |
---|---|
NotNullPredicate |
deriveWithQueryParameter(QueryParameter queryParameter)
Derives a new predicate with the given query parameter from this predicate.
|
QueryParameter |
getQueryParameter()
Returns the query parameter (i.e. left operand) of this predicate.
|
String |
toString() |
and, apply, not, or
public NotNullPredicate(QueryParameter queryParameter)
Creates a new predicate instance.
queryParameter
- the left operand of this predicate.public QueryParameter getQueryParameter()
Returns the query parameter (i.e. left operand) of this predicate.
getQueryParameter
in class QueryParameterPredicate
public NotNullPredicate deriveWithQueryParameter(QueryParameter queryParameter)
Derives a new predicate with the given query parameter from this predicate.
deriveWithQueryParameter
in class QueryParameterPredicate
queryParameter
- the new query parameterCopyright © 2010 - 2019 edorasware ag. All Rights Reserved.