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

All Superinterfaces:
GenericResult, Result
All Known Subinterfaces:
UpdatableCompareResult

@NotExtensible
@ThreadSafety(level=INTERFACE_NOT_THREADSAFE)
public interface CompareResult
extends GenericResult

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


Method Summary
 Entry getEntry()
          Retrieves the entry against which the compare operation was processed, if available.
 com.unboundid.ldap.sdk.CompareResult toLDAPSDKResult()
          Retrieves an LDAP SDK representation of this compare result.
 
Methods inherited from interface com.unboundid.directory.sdk.common.operation.GenericResult
getAdditionalLogMessage, getDiagnosticMessage, getMatchedDN, getReferralURLs, getResultCode
 
Methods inherited from interface com.unboundid.directory.sdk.common.operation.Result
getOperationType, getResultControls
 

Method Detail

getEntry

Entry getEntry()
Retrieves the entry against which the compare operation was processed, if available.

Returns:
The entry against which the compare operation was processed, or null if the entry is not available.

toLDAPSDKResult

com.unboundid.ldap.sdk.CompareResult toLDAPSDKResult()
Retrieves an LDAP SDK representation of this compare result.

Specified by:
toLDAPSDKResult in interface GenericResult
Returns:
An LDAP SDK representation of this compare result.