Enum ContextURL.Suffix

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

public static enum ContextURL.Suffix extends Enum<ContextURL.Suffix>
Suffix of the OData Context URL
  • Enum Constant Details

    • ENTITY

      public static final ContextURL.Suffix ENTITY
      Suffix for Entities
    • REFERENCE

      public static final ContextURL.Suffix REFERENCE
      Suffix for References
    • DELTA

      public static final ContextURL.Suffix DELTA
      Suffix for deltas (changes)
    • DELTA_DELETED_ENTITY

      public static final ContextURL.Suffix DELTA_DELETED_ENTITY
      Suffix for deleted entities in deltas
  • Method Details

    • values

      public static ContextURL.Suffix[] 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 ContextURL.Suffix 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
    • getRepresentation

      public String getRepresentation()
      Returns OData representation of the suffix
      Returns:
      Representation of the suffix