All Superinterfaces:
Expressions.Operand, Expressions.OperandSingle, FilterableComparisonAbsolute

public interface ValueEnum extends Expressions.OperandSingle, FilterableComparisonAbsolute
OData filter expression operand of enumeration type
  • Field Details

    • NULL

      @Nonnull static final ValueEnum NULL
      Null value for enum operations.
  • Method Details

    • literal

      @Nonnull static ValueEnum literal(@Nonnull String v)
      Returns a ValueEnum from the given v.
      Parameters:
      v - The value to be transformed into a ValueEnum.
      Returns:
      A ValueEnum that contains the given v.
    • literal

      @Nonnull static ValueEnum literal(@Nonnull String enumType, @Nonnull String v)
      Returns a ValueEnum from the given enumType and v.
      Parameters:
      enumType - The enum type.
      v - The value to be transformed into a ValueEnum.
      Returns:
      A ValueEnum that contains the given v.