java.lang.Object
java.lang.Enum<EdmTypeKind>
org.apache.olingo.commons.api.edm.constants.EdmTypeKind
All Implemented Interfaces:
Serializable, Comparable<EdmTypeKind>, java.lang.constant.Constable

public enum EdmTypeKind extends Enum<EdmTypeKind>
EdmTypeKind specifies the type of an EDM element.
  • Enum Constant Details

    • PRIMITIVE

      public static final EdmTypeKind PRIMITIVE
      Primitive type
    • ENUM

      public static final EdmTypeKind ENUM
      Enum type
    • DEFINITION

      public static final EdmTypeKind DEFINITION
      Type definition
    • COMPLEX

      public static final EdmTypeKind COMPLEX
      Complex type
    • ENTITY

      public static final EdmTypeKind ENTITY
      Entity type
    • ACTION

      public static final EdmTypeKind ACTION
      Action type
    • FUNCTION

      public static final EdmTypeKind FUNCTION
      Function type
  • Method Details

    • values

      public static EdmTypeKind[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static EdmTypeKind valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null