Interface FilterableBoolean<EntityT>

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

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

    • fromCustomFilter

      @Beta @Nonnull static <EntityT> FilterableBoolean<EntityT> fromCustomFilter(@Nonnull ValueBoolean delegateExpression, @Nonnull Class<EntityT> entityType)
      Creates a new Expression from a custom filter expression. Allows for untyped expressions to be supplied to the VDM.
      Type Parameters:
      EntityT - Type of the entity which references the value.
      Parameters:
      delegateExpression - The expression to which the Expression delegates.
      entityType - The expected entity type.
      Returns:
      A new Expression.
      Since:
      4.8.0
    • and

      @Nonnull default FilterableBoolean<EntityT> and(@Nonnull FilterableBoolean<EntityT> operand)
      Combine current filter expression with another expression in conjunction.
      Parameters:
      operand - The other expression.
      Returns:
      This FluentHelper reference.
    • and

      @Nonnull default FilterableBoolean<EntityT> and(@Nonnull Boolean operand)
      Combine the filter expression with a boolean value in conjunction.
      Parameters:
      operand - A boolean value.
      Returns:
      This FluentHelper reference.
    • or

      @Nonnull default FilterableBoolean<EntityT> or(@Nonnull FilterableBoolean<EntityT> operand)
      Combine the filter expression with another expression in disjunction.
      Parameters:
      operand - The other expression.
      Returns:
      This FluentHelper reference.
    • or

      @Nonnull default FilterableBoolean<EntityT> or(@Nonnull Boolean operand)
      Combine the filter expression with a boolean value in disjunction.
      Parameters:
      operand - The other expression.
      Returns:
      This FluentHelper reference.
    • not

      @Nonnull default FilterableBoolean<EntityT> not()
      Negate the filter expression.
      Returns:
      This FluentHelper reference.