EntityT
- Type of the entity which references the value.EnumT
- Type of the Enum value.public interface FilterableEnum<EntityT,EnumT extends VdmEnum> extends EntityReference<EntityT>
Modifier and Type | Method and Description |
---|---|
default FilterableBoolean<EntityT> |
equalTo(EnumT operand)
Filter by expression "eq".
|
default FilterableBoolean<EntityT> |
equalTo(FilterableEnum<?,EnumT> operand)
Filter by expression "eq".
|
String |
getEnumType()
OData Enum type identifier.
|
default String |
getExpression()
Create the String representation of the expression.
|
String |
getExpression(Map<String,Predicate<Expressions.FieldReference>> prefixes)
Create the String representation of the expression.
|
static com.sap.cloud.sdk.datamodel.odatav4.expression.Expressions.ValueEnum |
literal(String v) |
static com.sap.cloud.sdk.datamodel.odatav4.expression.Expressions.ValueEnum |
literal(String enumType,
String v) |
default FilterableBoolean<EntityT> |
notEqualTo(EnumT operand)
Filter by expression "ne".
|
default FilterableBoolean<EntityT> |
notEqualTo(FilterableEnum<?,EnumT> operand)
Filter by expression "ne".
|
getEntityType
@Nonnull String getEnumType()
@Nonnull default FilterableBoolean<EntityT> equalTo(@Nonnull FilterableEnum<?,EnumT> operand)
operand
- The generic operand to compare with.@Nonnull default FilterableBoolean<EntityT> equalTo(@Nonnull EnumT operand)
operand
- The generic operand to compare with.@Nonnull default FilterableBoolean<EntityT> notEqualTo(@Nonnull FilterableEnum<?,EnumT> operand)
operand
- The generic operand to compare with.@Nonnull default FilterableBoolean<EntityT> notEqualTo(EnumT operand)
operand
- The generic operand to compare with.@Nonnull static com.sap.cloud.sdk.datamodel.odatav4.expression.Expressions.ValueEnum literal(@Nonnull String v)
@Nonnull static com.sap.cloud.sdk.datamodel.odatav4.expression.Expressions.ValueEnum literal(@Nonnull String enumType, @Nonnull String v)
@Nonnull default String getExpression()
Copyright © 2020 SAP SE. All rights reserved.