EntityT
- Type of the entity which references the value.PrimitiveT
- Type of the value the filterable field holds.public interface FilterableValue<EntityT,PrimitiveT> extends EntityReference<EntityT>
Modifier and Type | Method and Description |
---|---|
default FilterableBoolean<EntityT> |
equalTo(FilterableValue<?,?> operand)
Filter by expression "eq".
|
default FilterableBoolean<EntityT> |
equalTo(PrimitiveT operand)
Filter by expression "eq".
|
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.
|
default FilterableBoolean<EntityT> |
greaterThan(FilterableValue<?,?> operand)
Filter by expression "gt".
|
default FilterableBoolean<EntityT> |
greaterThan(PrimitiveT operand)
Filter by expression "gt".
|
default FilterableBoolean<EntityT> |
greaterThanEqual(FilterableValue<?,?> operand)
Filter by expression "ge".
|
default FilterableBoolean<EntityT> |
greaterThanEqual(PrimitiveT operand)
Filter by expression "ge".
|
default FilterableBoolean<EntityT> |
lessThan(FilterableValue<?,?> operand)
Filter by expression "lt".
|
default FilterableBoolean<EntityT> |
lessThan(PrimitiveT operand)
Filter by expression "lt".
|
default FilterableBoolean<EntityT> |
lessThanEqual(FilterableValue<?,?> operand)
Filter by expression "le".
|
default FilterableBoolean<EntityT> |
lessThanEqual(PrimitiveT operand)
Filter by expression "le".
|
default FilterableBoolean<EntityT> |
notEqualTo(FilterableValue<?,?> operand)
Filter by expression "ne".
|
default FilterableBoolean<EntityT> |
notEqualTo(PrimitiveT operand)
Filter by expression "ne".
|
getEntityType
@Nonnull default FilterableBoolean<EntityT> equalTo(@Nonnull FilterableValue<?,?> operand)
operand
- The generic operand to compare with.@Nonnull default FilterableBoolean<EntityT> equalTo(@Nonnull PrimitiveT operand)
operand
- The generic operand to compare with.IllegalArgumentException
- When there is no mapping found for the provided Java literal.@Nonnull default FilterableBoolean<EntityT> notEqualTo(@Nonnull FilterableValue<?,?> operand)
operand
- The generic operand to compare with.@Nonnull default FilterableBoolean<EntityT> notEqualTo(PrimitiveT operand)
operand
- The generic operand to compare with.IllegalArgumentException
- When there is no mapping found for the provided Java literal.@Nonnull default FilterableBoolean<EntityT> lessThan(@Nonnull FilterableValue<?,?> operand)
operand
- The generic operand to compare with.@Nonnull default FilterableBoolean<EntityT> lessThan(@Nonnull PrimitiveT operand)
operand
- The generic operand to compare with.IllegalArgumentException
- When there is no mapping found for the provided Java literal.@Nonnull default FilterableBoolean<EntityT> lessThanEqual(@Nonnull FilterableValue<?,?> operand)
operand
- The generic operand to compare with.@Nonnull default FilterableBoolean<EntityT> lessThanEqual(@Nonnull PrimitiveT operand)
operand
- The generic operand to compare with.IllegalArgumentException
- When there is no mapping found for the provided Java literal.@Nonnull default FilterableBoolean<EntityT> greaterThan(@Nonnull FilterableValue<?,?> operand)
operand
- The generic operand to compare with.@Nonnull default FilterableBoolean<EntityT> greaterThan(@Nonnull PrimitiveT operand)
operand
- The generic operand to compare with.IllegalArgumentException
- When there is no mapping found for the provided Java literal.@Nonnull default FilterableBoolean<EntityT> greaterThanEqual(@Nonnull FilterableValue<?,?> operand)
operand
- The generic operand to compare with.@Nonnull default FilterableBoolean<EntityT> greaterThanEqual(@Nonnull PrimitiveT operand)
operand
- The generic operand to compare with.IllegalArgumentException
- When there is no mapping found for the provided Java literal.@Nonnull default String getExpression()
Copyright © 2020 SAP SE. All rights reserved.