EntityT
- Type of the entity which references the value.ItemT
- Type of the item type the collection holds.public static class FilterableCollection.Expression<EntityT,ItemT> extends Object implements FilterableCollection<EntityT,ItemT>
FilterableCollection.Expression<EntityT,ItemT>
NULL
Constructor and Description |
---|
Expression(FilterExpression delegate,
Class<EntityT> entityType,
Class<ItemT> itemType) |
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.
|
Class<ItemT> |
getItemType()
Get the item type the collection holds.
|
List<Expressions.Operand> |
getOperands() |
String |
getOperator() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
all, any, concat, concat, contains, contains, endsWith, endsWith, hasSubSequence, hasSubSequence, hasSubset, hasSubset, indexOf, indexOf, length, startsWith, startsWith, substring, substring
@Nonnull public FilterExpression getDelegate()
@Nonnull public Class<EntityT> getEntityType()
EntityReference
getEntityType
in interface EntityReference<EntityT>
@Nonnull public Class<ItemT> getItemType()
FilterableCollection
getItemType
in interface FilterableCollection<EntityT,ItemT>
public String getOperator()
public List<Expressions.Operand> getOperands()
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.