EntityT
- Type of the entity which references the value.public interface FilterableBoolean<EntityT> extends FilterableValue<EntityT,Boolean>
Modifier and Type | Interface and Description |
---|---|
static class |
FilterableBoolean.Expression<EntityT>
Wrapper expression class, which delegates to another operation.
|
Modifier and Type | Method and Description |
---|---|
default FilterableBoolean<EntityT> |
and(Boolean operand)
Combine the filter expression with another expression in conjunction
|
default FilterableBoolean<EntityT> |
and(FilterableBoolean<EntityT> operand)
Combine current filter expression with another expression in conjunction.
|
default String |
getExpression()
Create the String representation of the expression.
|
String |
getExpression(Map<String,Predicate<Expressions.FieldReference>> prefixes)
Create the String representation of the expression.
|
static com.sap.cloud.sdk.datamodel.odatav4.expression.Expressions.ValueBoolean |
literal(Boolean v)
Get the literal of this expression.
|
default FilterableBoolean<EntityT> |
not()
Negate the current filter expression.
|
default FilterableBoolean<EntityT> |
or(Boolean operand)
Combine the filter expression with another expression in disjunction
|
default FilterableBoolean<EntityT> |
or(FilterableBoolean<EntityT> operand)
Combine the filter expression with another expression in disjunction
|
equalTo, equalTo, greaterThan, greaterThan, greaterThanEqual, greaterThanEqual, lessThan, lessThan, lessThanEqual, lessThanEqual, notEqualTo, notEqualTo
getEntityType
@Nonnull default FilterableBoolean<EntityT> and(@Nonnull FilterableBoolean<EntityT> operand)
operand
- The other expression.@Nonnull default FilterableBoolean<EntityT> and(@Nonnull Boolean operand)
operand
- A boolean value.@Nonnull default FilterableBoolean<EntityT> or(@Nonnull FilterableBoolean<EntityT> operand)
operand
- The other expression.@Nonnull default FilterableBoolean<EntityT> or(@Nonnull Boolean operand)
operand
- A boolean value.@Nonnull default FilterableBoolean<EntityT> not()
@Nonnull static com.sap.cloud.sdk.datamodel.odatav4.expression.Expressions.ValueBoolean literal(@Nonnull Boolean v)
v
- boolean.@Nonnull default String getExpression()
Copyright © 2020 SAP SE. All rights reserved.