Enum PropertyType

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

public enum PropertyType extends Enum<PropertyType>
Enumeration for all OData property types.
  • Enum Constant Details

    • PRIMITIVE

      public static final PropertyType PRIMITIVE
      Primitive (including geospatial).
    • ENUM

      public static final PropertyType ENUM
      Enum.
    • COLLECTION

      public static final PropertyType COLLECTION
      Collection.
    • COMPLEX

      public static final PropertyType COMPLEX
      Complex.
    • EMPTY

      public static final PropertyType EMPTY
      Empty type (possibly, no type information could be retrieved).
  • Method Details

    • values

      public static PropertyType[] 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 PropertyType 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