public class NullPredicate extends QueryParameterPredicate
A predicate whose right operand always equals null
.
Constructor and Description |
---|
NullPredicate(QueryParameter queryParameter)
Creates a new predicate instance.
|
Modifier and Type | Method and Description |
---|---|
NullPredicate |
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 NullPredicate(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 NullPredicate 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 - 2018 edorasware ag. All Rights Reserved.