public enum UniquenessValidationResult extends java.lang.Enum<UniquenessValidationResult>
UniquenessRequestControl
.
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 |
---|
VALIDATION_FAILED
Indicates that the server found at least one other entry in the server that
conflicted with the attempted write operation.
|
VALIDATION_NOT_ATTEMPTED
Indicates that the server did not attempt any uniqueness validation
processing at the associated point in operation processing.
|
VALIDATION_PASSED
Indicates that the server verified that the requested update did not
conflict with any existing entries at the time the validation processing
was performed.
|
Modifier and Type | Method and Description |
---|---|
static UniquenessValidationResult |
forName(java.lang.String name)
Retrieves the uniqueness validation result with the given name.
|
java.lang.String |
getName()
Retrieves the name for this uniqueness validation result.
|
java.lang.String |
toString()
Retrieves a string representation for this uniqueness validation result.
|
static UniquenessValidationResult |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static UniquenessValidationResult[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UniquenessValidationResult VALIDATION_PASSED
public static final UniquenessValidationResult VALIDATION_FAILED
public static final UniquenessValidationResult VALIDATION_NOT_ATTEMPTED
UniquenessRequestControl
indicated that no validation was required
at that point in the processing, because the uniqueness constraint did
not apply to the associated operation (for example, the control indicated
that uniqueness should be maintained for an attribute that was not included
in the update), or that the operation failed for some reason that was not
related to uniqueness processing.public static UniquenessValidationResult[] values()
for (UniquenessValidationResult c : UniquenessValidationResult.values()) System.out.println(c);
public static UniquenessValidationResult 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@NotNull public java.lang.String getName()
@Nullable public static UniquenessValidationResult forName(@NotNull java.lang.String name)
name
- The name for the uniqueness validation result to retrieve.
It must not be null
.null
if there is no result with the given name.@NotNull public java.lang.String toString()
toString
in class java.lang.Enum<UniquenessValidationResult>