Interface FilterableEnum<EntityT,EnumT extends VdmEnum>

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

public interface FilterableEnum<EntityT,EnumT extends VdmEnum> extends Expressions.Operand, EntityReference<EntityT>
Fluent helper class to provide filter functions to OData expressions referenced by Enum.
  • Method Details

    • getEnumType

      @Nonnull String getEnumType()
      OData Enum type identifier.
      Returns:
      The enum type identifier.
    • equalTo

      @Nonnull default FilterableBoolean<EntityT> equalTo(@Nonnull FilterableEnum<?,EnumT> operand)
      Filter by expression "eq".
      Parameters:
      operand - The generic operand to compare with.
      Returns:
      The FluentHelper filter.
    • equalTo

      @Nonnull default FilterableBoolean<EntityT> equalTo(@Nullable EnumT operand)
      Filter by expression "eq".
      Parameters:
      operand - The generic operand to compare with.
      Returns:
      The FluentHelper filter.
    • notEqualTo

      @Nonnull default FilterableBoolean<EntityT> notEqualTo(@Nonnull FilterableEnum<?,EnumT> operand)
      Filter by expression "ne".
      Parameters:
      operand - The generic operand to compare with.
      Returns:
      The FluentHelper filter.
    • notEqualTo

      @Nonnull default FilterableBoolean<EntityT> notEqualTo(@Nullable EnumT operand)
      Filter by expression "ne".
      Parameters:
      operand - The generic operand to compare with.
      Returns:
      The FluentHelper filter.
    • equalToNull

      @Nonnull default FilterableBoolean<EntityT> equalToNull()
      Filter by expression "eq null".
      Returns:
      The FluentHelper filter.
    • notEqualToNull

      @Nonnull default FilterableBoolean<EntityT> notEqualToNull()
      Filter by expression "ne null".
      Returns:
      The FluentHelper filter.
    • in

      @Nonnull default FilterableBoolean<EntityT> in(@Nonnull FilterableCollection<?,EnumT> operand)
      Filter by expression "in".
      Parameters:
      operand - The generic operands to compare with.
      Returns:
      The FluentHelper filter.