Class ValueBoolean.Expression
java.lang.Object
com.sap.cloud.sdk.datamodel.odata.client.expression.ValueBoolean.Expression
- All Implemented Interfaces:
Expressions.Operand
,Expressions.OperandSingle
,FilterableBoolean
,FilterableComparisonAbsolute
,FilterExpression
,ValueBoolean
- Enclosing interface:
- ValueBoolean
public static class ValueBoolean.Expression
extends Object
implements FilterExpression, ValueBoolean
Implementation with literal number value.
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.sap.cloud.sdk.datamodel.odata.client.expression.ValueBoolean
ValueBoolean.Expression
-
Field Summary
Fields inherited from interface com.sap.cloud.sdk.datamodel.odata.client.expression.Expressions.Operand
NULL
Fields inherited from interface com.sap.cloud.sdk.datamodel.odata.client.expression.ValueBoolean
NULL
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetExpression
(ODataProtocol protocol) Create the String representation of the expression based on a givenODataProtocol
.getExpression
(ODataProtocol protocol, Map<String, Predicate<FieldReference>> prefixes) Create the String representation of the expression.List of the operands used for the OData filter expression.String representation of the OData filter expression operator.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.sap.cloud.sdk.datamodel.odata.client.expression.FilterableBoolean
and, and, not, or, or
Methods inherited from interface com.sap.cloud.sdk.datamodel.odata.client.expression.FilterableComparisonAbsolute
equalTo, equalTo, equalToNull, in, in, in, in, notEqualTo, notEqualTo, notEqualToNull
-
Constructor Details
-
Expression
-
-
Method Details
-
getOperator
Description copied from interface:FilterExpression
String representation of the OData filter expression operator.- Specified by:
getOperator
in interfaceFilterExpression
- Returns:
- The operator.
-
getOperands
Description copied from interface:FilterExpression
List of the operands used for the OData filter expression.- Specified by:
getOperands
in interfaceFilterExpression
- Returns:
- The operands.
-
getExpression
Description copied from interface:Expressions.Operand
Create the String representation of the expression based on a givenODataProtocol
.- Specified by:
getExpression
in interfaceExpressions.Operand
- Parameters:
protocol
- TheODataProtocol
that the expression should conform to.- Returns:
- The expression String.
-
getExpression
Description copied from interface:Expressions.Operand
Create the String representation of the expression.- Specified by:
getExpression
in interfaceExpressions.Operand
- Parameters:
protocol
- The OData protocol to derive serialization rules from.prefixes
- Additional field prefixes, e.g. when using lambda expressions.- Returns:
- The expression String.
-