com.unboundid.directory.sdk.common.operation
Interface CompareRequest

All Superinterfaces:
Request
All Known Subinterfaces:
UpdatableCompareRequest

@NotExtensible
@ThreadSafety(level=INTERFACE_NOT_THREADSAFE)
public interface CompareRequest
extends Request

This interface defines a set of methods which may be used to interact with a compare request.


Method Summary
 com.unboundid.util.ByteString getAssertionValue()
          Retrieves the assertion value to compare against the values of the target attribute.
 java.lang.String getAttributeType()
          Retrieves the name or OID of the attribute to compare.
 java.lang.String getDN()
          Retrieves the DN of the entry to compare.
 com.unboundid.ldap.sdk.ReadOnlyCompareRequest toLDAPSDKRequest()
          Retrieves an LDAP SDK representation of this compare request.
 
Methods inherited from interface com.unboundid.directory.sdk.common.operation.Request
getOperationType, getRequestControls
 

Method Detail

getDN

java.lang.String getDN()
Retrieves the DN of the entry to compare.

Returns:
The DN of the entry to compare.

getAttributeType

java.lang.String getAttributeType()
Retrieves the name or OID of the attribute to compare.

Returns:
The name or OID of the attribute to compare.

getAssertionValue

com.unboundid.util.ByteString getAssertionValue()
Retrieves the assertion value to compare against the values of the target attribute.

Returns:
The assertion value to compare against the values of the target attribute.

toLDAPSDKRequest

com.unboundid.ldap.sdk.ReadOnlyCompareRequest toLDAPSDKRequest()
Retrieves an LDAP SDK representation of this compare request.

Returns:
An LDAP SDK representation of this compare request.