public class BooleanOperandImpl<T,U> extends BasicOperandImpl<T,U> implements BooleanOperand<T>
Default implementation of the BooleanOperand
interface.
BasicOperandImpl.InnerSelectReferenceValue
Constructor and Description |
---|
BooleanOperandImpl(QueryParameter queryParameter,
ConstructionInterceptor<T,U> constructionInterceptor)
Creates a new operand instance.
|
Modifier and Type | Method and Description |
---|---|
Predicate |
isFalse()
Builds a predicate representing a
queryParameter == false comparison. |
Predicate |
isTrue()
Builds a predicate for a
queryParameter == true comparison. |
eq, eq, eq, exists, getQueryParameter, in, in, in, in, in, in, in, isNotNull, isNull, notEq, notIn, notIn, notIn, notIn, notIn, orderAsc, orderDesc
public BooleanOperandImpl(QueryParameter queryParameter, ConstructionInterceptor<T,U> constructionInterceptor)
Creates a new operand instance.
queryParameter
- the query parameterconstructionInterceptor
- the interceptor to be invoked upon construction of predicatespublic Predicate isTrue()
BooleanOperand
Builds a predicate for a queryParameter == true
comparison.
isTrue
in interface BooleanOperand<T>
public Predicate isFalse()
BooleanOperand
Builds a predicate representing a queryParameter == false
comparison.
isFalse
in interface BooleanOperand<T>
Copyright © 2010 - 2019 edorasware ag. All Rights Reserved.