Interface FilterableDuration<EntityT>

Type Parameters:
EntityT - Type of the entity which references the value.
All Superinterfaces:
EntityReference<EntityT>, Expressions.Operand, FilterableValue<EntityT,Duration>
All Known Implementing Classes:
FilterableDuration.Expression, SimpleProperty.Duration

public interface FilterableDuration<EntityT> extends FilterableValue<EntityT,Duration>
Fluent helper class to provide filter functions to OData expressions referenced by Duration.
  • Method Details

    • offsetSeconds

      @Nonnull default FilterableNumericInteger<EntityT> offsetSeconds()
      Filter by expression "offsetseconds".
      Returns:
      The FluentHelper filter.
    • add

      @Nonnull default FilterableDuration<EntityT> add(@Nonnull FilterableDuration<EntityT> operand)
      Filter by expression "add".
      Parameters:
      operand - The duration to add to the duration.
      Returns:
      The FluentHelper filter.
    • add

      @Nonnull default FilterableDuration<EntityT> add(@Nonnull Duration operand)
      Filter by expression "add".
      Parameters:
      operand - The duration to add to the duration.
      Returns:
      The FluentHelper filter.
    • subtract

      @Nonnull default FilterableDuration<EntityT> subtract(@Nonnull FilterableDuration<EntityT> operand)
      Filter by expression "sub".
      Parameters:
      operand - The duration to subtract from this duration.
      Returns:
      The FluentHelper filter.
    • subtract

      @Nonnull default FilterableDuration<EntityT> subtract(@Nonnull Duration operand)
      Filter by expression "sub".
      Parameters:
      operand - The duration to subtract from this duration.
      Returns:
      The FluentHelper filter.
    • multiply

      @Nonnull default FilterableDuration<EntityT> multiply(@Nonnull FilterableNumeric<EntityT> operand)
      Filter by expression "mul".
      Parameters:
      operand - The product to be used to multiply the duration.
      Returns:
      The FluentHelper filter.
    • multiply

      @Nonnull default FilterableDuration<EntityT> multiply(@Nonnull Number operand)
      Filter by expression "mul".
      Parameters:
      operand - The product to be used to multiply the duration.
      Returns:
      The FluentHelper filter.
    • divide

      @Nonnull default FilterableDuration<EntityT> divide(@Nonnull FilterableNumeric<EntityT> operand)
      Filter by expression "div".
      Parameters:
      operand - The quotient to be used to divide the duration.
      Returns:
      The FluentHelper filter.
    • divide

      @Nonnull default FilterableDuration<EntityT> divide(@Nonnull Number operand)
      Filter by expression "div".
      Parameters:
      operand - The quotient to be used to divide the duration.
      Returns:
      The FluentHelper filter.
    • negate

      @Nonnull default FilterableDuration<EntityT> negate()
      Filter by expression "-".
      Returns:
      The FluentHelper filter.