Enum UniquenessValidationResult
java.lang.Object
java.lang.Enum<UniquenessValidationResult>
com.unboundid.ldap.sdk.unboundidds.controls.UniquenessValidationResult
- All Implemented Interfaces:
Serializable,Comparable<UniquenessValidationResult>,java.lang.constant.Constable
This enum defines a set of values that provide information about the result
of validation processing that the server performed in response to a
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.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionIndicates that the server found at least one other entry in the server that conflicted with the attempted write operation.Indicates that the server did not attempt any uniqueness validation processing at the associated point in operation processing.Indicates that the server verified that the requested update did not conflict with any existing entries at the time the validation processing was performed. -
Method Summary
Modifier and TypeMethodDescriptionstatic UniquenessValidationResultRetrieves the uniqueness validation result with the given name.getName()Retrieves the name for this uniqueness validation result.toString()Retrieves a string representation for this uniqueness validation result.static UniquenessValidationResultReturns 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.
-
Enum Constant Details
-
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. -
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. Potential reasons that no validation may have been attempted include that theUniquenessRequestControlindicated 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.
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
getName
Retrieves the name for this uniqueness validation result.- Returns:
- The name for this uniqueness validation result.
-
forName
Retrieves the uniqueness validation result with the given name.- Parameters:
name- The name for the uniqueness validation result to retrieve. It must not benull.- Returns:
- The uniqueness validation result with the given name, or
nullif there is no result with the given name.
-
toString
Retrieves a string representation for this uniqueness validation result.- Overrides:
toStringin classEnum<UniquenessValidationResult>- Returns:
- A string representation for this uniqueness validation result.
-