Class FilterableCollection.Expression<EntityT,ItemT>
java.lang.Object
com.sap.cloud.sdk.datamodel.odatav4.expression.FilterableCollection.Expression<EntityT,ItemT>
- Type Parameters:
EntityT- Type of the entity which references the value.ItemT- Type of the item type the collection holds.
- All Implemented Interfaces:
Expressions.Operand,Expressions.OperandMultiple,EntityReference<EntityT>,FilterableCollection<EntityT,ItemT>
- Enclosing interface:
- FilterableCollection<EntityT,
ItemT>
public static class FilterableCollection.Expression<EntityT,ItemT>
extends Object
implements FilterableCollection<EntityT,ItemT>
Wrapper expression class, which delegates to another operation.
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.sap.cloud.sdk.datamodel.odatav4.expression.FilterableCollection
FilterableCollection.Expression<EntityT,ItemT> -
Field Summary
Fields inherited from interface com.sap.cloud.sdk.datamodel.odata.client.expression.Expressions.Operand
NULL -
Constructor Summary
ConstructorsConstructorDescriptionExpression(FilterExpression delegate, Class<EntityT> entityType, Class<ItemT> itemType) -
Method Summary
Modifier and TypeMethodDescriptionGet the type of the entity which references the value.getExpression(ODataProtocol protocol) Create the String representation of the expression based on a givenODataProtocol.getExpression(ODataProtocol arg0, Map<String, Predicate<FieldReference>> arg1) Create the String representation of the expression.Get the item type the collection holds.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.sap.cloud.sdk.datamodel.odatav4.expression.FilterableCollection
all, any, concat, concat, contains, contains, endsWith, endsWith, hasSubSequence, hasSubSequence, hasSubset, hasSubset, indexOf, indexOf, length, startsWith, startsWith, substring, substring
-
Constructor Details
-
Expression
public Expression(@Nonnull FilterExpression delegate, @Nonnull Class<EntityT> entityType, @Nonnull Class<ItemT> itemType)
-
-
Method Details
-
getDelegate
-
getEntityType
Description copied from interface:EntityReferenceGet the type of the entity which references the value.- Specified by:
getEntityTypein interfaceEntityReference<EntityT>- Returns:
- The entity type,
-
getItemType
Description copied from interface:FilterableCollectionGet the item type the collection holds.- Specified by:
getItemTypein interfaceFilterableCollection<EntityT,ItemT> - Returns:
- The item type.
-
getOperator
-
getOperands
-
getExpression
Description copied from interface:Expressions.OperandCreate the String representation of the expression based on a givenODataProtocol.- Specified by:
getExpressionin interfaceExpressions.Operand- Parameters:
protocol- TheODataProtocolthat the expression should conform to.- Returns:
- The expression String.
-
getExpression
Description copied from interface:Expressions.OperandCreate the String representation of the expression.- Specified by:
getExpressionin interfaceExpressions.Operand- Parameters:
arg0- The OData protocol to derive serialization rules from.arg1- Additional field prefixes, e.g. when using lambda expressions.- Returns:
- The expression String.
-