EntityT
- Type of the entity which references the value.public static class FilterableNumericDecimal.Expression<EntityT> extends Object implements FilterableNumericDecimal<EntityT>, FilterExpression
FilterableNumericDecimal.Expression<EntityT>
NULL
Constructor and Description |
---|
Expression(FilterExpression delegate,
Class<EntityT> entityType) |
Modifier and Type | Method and Description |
---|---|
FilterExpression |
getDelegate() |
Class<EntityT> |
getEntityType()
Get the type of the entity which references the value.
|
String |
getExpression(ODataProtocol arg0)
Create the String representation of the expression based on a given
ODataProtocol . |
String |
getExpression(ODataProtocol arg0,
Map<String,Predicate<FieldReference>> arg1)
Create the String representation of the expression.
|
List<Expressions.Operand> |
getOperands()
List of the operands used for the OData filter expression.
|
String |
getOperator()
String representation of the OData filter expression operator.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
add, add, add, add, ceil, floor, modulo, modulo, modulo, modulo, multiply, multiply, multiply, multiply, negate, round, subtract, subtract, subtract, subtract
add, divide, divide, divide, modulo, multiply, subtract
equalTo, equalTo, greaterThan, greaterThan, greaterThanEqual, greaterThanEqual, lessThan, lessThan, lessThanEqual, lessThanEqual, notEqualTo, notEqualTo
public Expression(@Nonnull FilterExpression delegate, @Nonnull Class<EntityT> entityType)
@Nonnull public FilterExpression getDelegate()
@Nonnull public Class<EntityT> getEntityType()
EntityReference
getEntityType
in interface EntityReference<EntityT>
public String getOperator()
FilterExpression
getOperator
in interface FilterExpression
public List<Expressions.Operand> getOperands()
FilterExpression
getOperands
in interface FilterExpression
public String getExpression(ODataProtocol arg0)
Expressions.Operand
ODataProtocol
.getExpression
in interface Expressions.Operand
arg0
- The ODataProtocol
that the expression should conform to.public String getExpression(ODataProtocol arg0, Map<String,Predicate<FieldReference>> arg1)
Expressions.Operand
getExpression
in interface Expressions.Operand
arg0
- The OData protocol to derive serialization rules from.arg1
- Additional field prefixes, e.g. when using lambda expressions.Copyright © 2021 SAP SE. All rights reserved.