@ThreadSafety(level=COMPLETELY_THREADSAFE) public enum ExpectedValueType extends java.lang.Enum<ExpectedValueType>
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.
Enum Constant and Description |
---|
BOOLEAN
Indicates that the target field may have a value of
true or
false . |
EMPTY_ARRAY
Indicates that the target field may have a value that is an array
containing zero elements.
|
NON_EMPTY_ARRAY
Indicates that the target field may have a value that is an array
containing at least one element.
|
NULL
Indicates that the target field may have a value of
null . |
NUMBER
Indicates that the target field may have a value that is a number.
|
OBJECT
Indicates that the target field may have a value that is a JSON object.
|
STRING
Indicates that the target field may have a value that is a string.
|
Modifier and Type | Method and Description |
---|---|
static ExpectedValueType |
forName(java.lang.String name)
Retrieves the expected value type with the specified name.
|
java.lang.String |
toString()
Retrieves a string representation of this expected value type.
|
static ExpectedValueType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ExpectedValueType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExpectedValueType BOOLEAN
true
or
false
.public static final ExpectedValueType EMPTY_ARRAY
public static final ExpectedValueType NON_EMPTY_ARRAY
public static final ExpectedValueType NULL
null
.
null
.public static final ExpectedValueType NUMBER
public static final ExpectedValueType OBJECT
public static final ExpectedValueType STRING
public static ExpectedValueType[] values()
for (ExpectedValueType c : ExpectedValueType.values()) System.out.println(c);
public static ExpectedValueType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null@Nullable public static ExpectedValueType forName(@NotNull java.lang.String name)
name
- The name of the expected value type to retrieve.null
if there is no type with the given name.@NotNull public java.lang.String toString()
toString
in class java.lang.Enum<ExpectedValueType>