EntityT
- Type of the entity which references the value.public interface FilterableDuration<EntityT> extends FilterableValue<EntityT,Duration>
Modifier and Type | Interface and Description |
---|---|
static class |
FilterableDuration.Expression<EntityT>
Wrapper expression class, which delegates to another operation.
|
Modifier and Type | Method and Description |
---|---|
default FilterableDuration<EntityT> |
add(Duration operand)
Filter by expression "add".
|
default FilterableDuration<EntityT> |
add(FilterableDuration<EntityT> operand)
Filter by expression "add".
|
default FilterableDuration<EntityT> |
divide(FilterableNumeric<EntityT> operand)
Filter by expression "div".
|
default FilterableDuration<EntityT> |
divide(Number operand)
Filter by expression "div".
|
default FilterableDuration<EntityT> |
multiply(FilterableNumeric<EntityT> operand)
Filter by expression "mul".
|
default FilterableDuration<EntityT> |
multiply(Number operand)
Filter by expression "mul".
|
default FilterableDuration<EntityT> |
negate()
Filter by expression "-".
|
default FilterableNumericInteger<EntityT> |
offsetSeconds()
Filter by expression "offsetseconds".
|
default FilterableDuration<EntityT> |
subtract(Duration operand)
Filter by expression "sub".
|
default FilterableDuration<EntityT> |
subtract(FilterableDuration<EntityT> operand)
Filter by expression "sub".
|
equalTo, equalTo, greaterThan, greaterThan, greaterThanEqual, greaterThanEqual, lessThan, lessThan, lessThanEqual, lessThanEqual, notEqualTo, notEqualTo
getExpression, getExpression
getEntityType
@Nonnull default FilterableNumericInteger<EntityT> offsetSeconds()
@Nonnull default FilterableDuration<EntityT> add(@Nonnull FilterableDuration<EntityT> operand)
operand
- The duration to add to the duration.@Nonnull default FilterableDuration<EntityT> add(@Nonnull Duration operand)
operand
- The duration to add to the duration.@Nonnull default FilterableDuration<EntityT> subtract(@Nonnull FilterableDuration<EntityT> operand)
operand
- The duration to subtract from this duration.@Nonnull default FilterableDuration<EntityT> subtract(@Nonnull Duration operand)
operand
- The duration to subtract from this duration.@Nonnull default FilterableDuration<EntityT> multiply(@Nonnull FilterableNumeric<EntityT> operand)
operand
- The product to be used to multiply the duration.@Nonnull default FilterableDuration<EntityT> multiply(@Nonnull Number operand)
operand
- The product to be used to multiply the duration.@Nonnull default FilterableDuration<EntityT> divide(@Nonnull FilterableNumeric<EntityT> operand)
operand
- The quotient to be used to divide the duration.@Nonnull default FilterableDuration<EntityT> divide(@Nonnull Number operand)
operand
- The quotient to be used to divide the duration.@Nonnull default FilterableDuration<EntityT> negate()
Copyright © 2020 SAP SE. All rights reserved.