Enum ExpectedValueType

java.lang.Object
java.lang.Enum<ExpectedValueType>
com.unboundid.ldap.sdk.unboundidds.jsonfilter.ExpectedValueType
All Implemented Interfaces:
Serializable, Comparable<ExpectedValueType>, java.lang.constant.Constable

An enum that defines the possible values that may be used for the expectedType element of a ContainsFieldJSONObjectFilter.
NOTE: This class, and other classes within the com.unboundid.ldap.sdk.unboundidds package structure, are only supported for use against Ping Identity, UnboundID, and Nokia/Alcatel-Lucent 8661 server products. These classes provide support for proprietary functionality or for external specifications that are not considered stable or mature enough to be guaranteed to work in an interoperable way with other types of LDAP servers.
  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    Enum.EnumDesc<E extends Enum<E>>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    Indicates that the target field may have a value of true or false.
    Indicates that the target field may have a value that is an array containing zero elements.
    Indicates that the target field may have a value that is an array containing at least one element.
    Indicates that the target field may have a value of null.
    Indicates that the target field may have a value that is a number.
    Indicates that the target field may have a value that is a JSON object.
    Indicates that the target field may have a value that is a string.
  • Method Summary

    Modifier and Type
    Method
    Description
    Retrieves the expected value type with the specified name.
    Retrieves a string representation of this expected value type.
    Returns the enum constant of this type with the specified name.
    Returns an array containing the constants of this enum type, in the order they are declared.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • BOOLEAN

      public static final ExpectedValueType BOOLEAN
      Indicates that the target field may have a value of true or false.
    • EMPTY_ARRAY

      public static final ExpectedValueType EMPTY_ARRAY
      Indicates that the target field may have a value that is an array containing zero elements.
    • NON_EMPTY_ARRAY

      public static final ExpectedValueType NON_EMPTY_ARRAY
      Indicates that the target field may have a value that is an array containing at least one element. No restriction will be placed on the type of elements that may be held in the array.
    • NULL

      public static final ExpectedValueType NULL
      Indicates that the target field may have a value of null. null.
    • NUMBER

      public static final ExpectedValueType NUMBER
      Indicates that the target field may have a value that is a number.
    • OBJECT

      public static final ExpectedValueType OBJECT
      Indicates that the target field may have a value that is a JSON object.
    • STRING

      public static final ExpectedValueType STRING
      Indicates that the target field may have a value that is a string.
  • Method Details

    • values

      public static ExpectedValueType[] 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 ExpectedValueType 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
    • forName

      Retrieves the expected value type with the specified name.
      Parameters:
      name - The name of the expected value type to retrieve.
      Returns:
      The expected value type with the specified name, ro null if there is no type with the given name.
    • toString

      Retrieves a string representation of this expected value type.
      Overrides:
      toString in class Enum<ExpectedValueType>
      Returns:
      A string representation of this expected value type.