org.apache.olingo.commons.api.edm

## Interface EdmEnumType

- All Superinterfaces:
    EdmNamed, EdmPrimitiveType, EdmType

      public interface EdmEnumType
      extends EdmPrimitiveType

  An EdmEnumType represents a set of related values.

- - ### Field Summary

    - ### Fields inherited from interface org.apache.olingo.commons.api.edm.EdmPrimitiveType

      `EDM_NAMESPACE`

  - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `EdmMember` | `getMember(String name)` Get member according to given name
    `List<String>` | `getMemberNames()`
    `EdmPrimitiveType` | `getUnderlyingType()`
    `boolean` | `isFlags()`

    - ### Methods inherited from interface org.apache.olingo.commons.api.edm.EdmPrimitiveType

      `fromUriLiteral, getDefaultType, isCompatible, toUriLiteral, validate, validateDecimals, valueOfString, valueToString`

    - ### Methods inherited from interface org.apache.olingo.commons.api.edm.EdmType

      `getFullQualifiedName, getKind, getNamespace`

    - ### Methods inherited from interface org.apache.olingo.commons.api.edm.EdmNamed

      `getName`

- - ### Method Detail

    - #### getMember

          EdmMember getMember(String name)

      Get member according to given name
      Parameters:
        `name` - name of member
      Returns:
        `EdmMember` for the given name

    - #### getMemberNames

          List<String> getMemberNames()

      Returns:
        member names as a list

    - #### getUnderlyingType

          EdmPrimitiveType getUnderlyingType()

      Returns:
        the `EdmPrimitiveType` this `EdmEnumType` is based upon

    - #### isFlags

          boolean isFlags()

      Returns:
        true if flags is set

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