EntityT
- Type of the entity which references the value.public static class FilterableString.Expression<EntityT> extends Object implements FilterableString<EntityT>, FilterExpression
FilterableString.Expression<EntityT>
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
concat, concat, contains, contains, endsWith, endsWith, indexOf, indexOf, length, matches, matches, startsWith, startsWith, substring, substring, toLower, toUpper, trim
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 © 2020 SAP SE. All rights reserved.