@Beta public interface FieldReference extends Expressions.OperandSingle
Modifier and Type | Method and Description |
---|---|
default String |
getExpression(ODataProtocol protocol,
Map<String,Predicate<FieldReference>> prefixes)
Create the String representation of the expression.
|
String |
getFieldName()
javadoc
|
static FieldUntyped |
of(String fieldName)
Static factory method to easily instantiate a generic field reference.
|
getExpression
@Nonnull static FieldUntyped of(@Nonnull String fieldName)
fieldName
- The field name.@Nonnull String getFieldName()
@Nonnull default String getExpression(@Nonnull ODataProtocol protocol, @Nonnull Map<String,Predicate<FieldReference>> prefixes)
Expressions.Operand
getExpression
in interface Expressions.Operand
protocol
- The OData protocol to derive serialization rules from.prefixes
- Additional field prefixes, e.g. when using lambda expressions.Copyright © 2021 SAP SE. All rights reserved.