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
 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.
 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

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

ReadOnlyCompareRequest toLDAPSDKRequest()
Retrieves an LDAP SDK representation of this compare request.

Returns:
An LDAP SDK representation of this compare request.