org.apache.olingo.server.api.uri.queryoption.expression

## Interface Enumeration

- All Superinterfaces:
    Expression, VisitableExpression

      public interface Enumeration
      extends Expression

  Represents a enumeration expression node in the expression tree
  A enumeration expression node is inserted in the expression tree for any valid enumeration. E.g. for $filter=style has Sales.Pattern'Yellow'

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `EdmEnumType` | `getType()`
    `List<String>` | `getValues()`

    - ### Methods inherited from interface org.apache.olingo.server.api.uri.queryoption.expression.VisitableExpression

      `accept`

- - ### Method Detail

    - #### getValues

          List<String> getValues()

      Returns:
        A list of enumeration values

    - #### getType

          EdmEnumType getType()

      Returns:
        The enumeration type used before the enumeration values

Copyright © 2013–2022 The Apache Software Foundation. All rights reserved.