Class CompareResponseImpl
java.lang.Object
org.apache.directory.api.ldap.model.message.AbstractMessage
org.apache.directory.api.ldap.model.message.AbstractResponse
org.apache.directory.api.ldap.model.message.AbstractResultResponse
org.apache.directory.api.ldap.model.message.CompareResponseImpl
- All Implemented Interfaces:
CompareResponse, Message, Response, ResultResponse
- Direct Known Subclasses:
CompareNoDResponse
CompareResponse implementation.
- Author:
- Apache Directory Project
-
Field Summary
Fields inherited from class AbstractResultResponse
ldapResultFields inherited from class AbstractMessage
controls -
Constructor Summary
ConstructorsConstructorDescriptionCreates a CompareResponse as a reply to an CompareRequest.CompareResponseImpl(int id) Creates a CompareResponse as a reply to an CompareRequest. -
Method Summary
Methods inherited from class AbstractResultResponse
equals, getLdapResult, hashCodeMethods inherited from class AbstractMessage
addAllControls, addControl, get, getControl, getControls, getMessageId, getType, hasControl, put, removeControl, setMessageId, toStringMethods inherited from interface Message
addAllControls, addControl, get, getControl, getControls, getMessageId, getType, hasControl, put, removeControl, setMessageIdMethods inherited from interface ResultResponse
getLdapResult
-
Constructor Details
-
CompareResponseImpl
public CompareResponseImpl()Creates a CompareResponse as a reply to an CompareRequest. -
CompareResponseImpl
public CompareResponseImpl(int id) Creates a CompareResponse as a reply to an CompareRequest.- Parameters:
id- the session unique message id
-
-
Method Details
-
isTrue
public boolean isTrue()- Specified by:
isTruein interfaceCompareResponse- Returns:
trueif the compare response is TRUE,falseotherwise
-
toString
Get a String representation of an CompareResponse- Overrides:
toStringin classAbstractResultResponse- Returns:
- An CompareResponse String
-