Interface FilterableBoolean<EntityT>
- Type Parameters:
EntityT- Type of the entity which references the value.
- All Superinterfaces:
EntityReference<EntityT>,Expressions.Operand,FilterableValue<EntityT,Boolean>
- All Known Implementing Classes:
FilterableBoolean.Expression,SimpleProperty.Boolean
Fluent helper class to provide filter functions to OData expressions referenced by Boolean.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classWrapper expression class, which delegates to another operation. -
Field Summary
Fields inherited from interface com.sap.cloud.sdk.datamodel.odata.client.expression.Expressions.Operand
NULL -
Method Summary
Modifier and TypeMethodDescriptiondefault FilterableBoolean<EntityT>and(FilterableBoolean<EntityT> operand) Combine current filter expression with another expression in conjunction.default FilterableBoolean<EntityT>Combine the filter expression with a boolean value in conjunction.static <EntityT> FilterableBoolean<EntityT>fromCustomFilter(ValueBoolean delegateExpression, Class<EntityT> entityType) Creates a new Expression from a custom filter expression.default FilterableBoolean<EntityT>not()Negate the filter expression.default FilterableBoolean<EntityT>or(FilterableBoolean<EntityT> operand) Combine the filter expression with another expression in disjunction.default FilterableBoolean<EntityT>Combine the filter expression with a boolean value in disjunction.Methods inherited from interface com.sap.cloud.sdk.datamodel.odatav4.expression.EntityReference
getEntityTypeMethods inherited from interface com.sap.cloud.sdk.datamodel.odata.client.expression.Expressions.Operand
getExpression, getExpressionMethods inherited from interface com.sap.cloud.sdk.datamodel.odatav4.expression.FilterableValue
equalTo, equalTo, equalToNull, greaterThan, greaterThan, greaterThanEqual, greaterThanEqual, in, in, lessThan, lessThan, lessThanEqual, lessThanEqual, notEqualTo, notEqualTo, notEqualToNull
-
Method Details
-
fromCustomFilter
@Nonnull static <EntityT> FilterableBoolean<EntityT> fromCustomFilter(@Nonnull ValueBoolean delegateExpression, @Nonnull Class<EntityT> entityType) Creates a new Expression from a custom filter expression. Allows for untyped expressions to be supplied to the VDM.- Type Parameters:
EntityT- Type of the entity which references the value.- Parameters:
delegateExpression- The expression to which the Expression delegates.entityType- The expected entity type.- Returns:
- A new Expression.
- Since:
- 4.8.0
-
and
Combine current filter expression with another expression in conjunction.- Parameters:
operand- The other expression.- Returns:
- This FluentHelper reference.
-
and
Combine the filter expression with a boolean value in conjunction.- Parameters:
operand- A boolean value.- Returns:
- This FluentHelper reference.
-
or
Combine the filter expression with another expression in disjunction.- Parameters:
operand- The other expression.- Returns:
- This FluentHelper reference.
-
or
Combine the filter expression with a boolean value in disjunction.- Parameters:
operand- The other expression.- Returns:
- This FluentHelper reference.
-
not
Negate the filter expression.- Returns:
- This FluentHelper reference.
-