Enum Class EdmTermTypeKind

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

public enum EdmTermTypeKind extends Enum<EdmTermTypeKind>
  • Enum Constant Details

  • Method Details

    • values

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

      public static EdmTermTypeKind valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • getByName

      public static EdmTermTypeKind getByName(String name)
      Get a type kind by name.
      Parameters:
      name - The name.
      Returns:
      The type kind or null if it does not exist.
    • getFullQualifiedName

      public FullQualifiedName getFullQualifiedName()
      Returns the FullQualifiedName for this type kind.
      Returns:
      FullQualifiedName
    • valueOfFQN

      public static EdmTermTypeKind valueOfFQN(FullQualifiedName fqn)
      Gets the EdmPrimitiveTypeKind from a full-qualified type name.
      Parameters:
      fqn - full-qualified type name
      Returns:
      EdmTermTypeKind object
    • valueOfFQN

      public static EdmTermTypeKind valueOfFQN(String fqn)
      Gets the EdmTermTypeKind from a full type expression (like Edm.Int32).
      Parameters:
      fqn - String containing a full-qualified type name
      Returns:
      EdmTermTypeKind object