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
public class CompareResponseImpl extends AbstractResultResponse implements CompareResponse
CompareResponse implementation.- Author:
- Apache Directory Project
-
-
Field Summary
Fields Modifier and Type Field Description (package private) static longserialVersionUID-
Fields inherited from class org.apache.directory.api.ldap.model.message.AbstractResultResponse
ldapResult
-
Fields inherited from class org.apache.directory.api.ldap.model.message.AbstractMessage
controls
-
-
Constructor Summary
Constructors Constructor Description CompareResponseImpl()Creates a CompareResponse as a reply to an CompareRequest.CompareResponseImpl(int id)Creates a CompareResponse as a reply to an CompareRequest.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisTrue()StringtoString()Get a String representation of an CompareResponse-
Methods inherited from class org.apache.directory.api.ldap.model.message.AbstractResultResponse
equals, getLdapResult, hashCode
-
Methods inherited from class org.apache.directory.api.ldap.model.message.AbstractMessage
addAllControls, addControl, get, getControl, getControls, getMessageId, getType, hasControl, put, removeControl, setMessageId, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.directory.api.ldap.model.message.Message
addAllControls, addControl, get, getControl, getControls, getMessageId, getType, hasControl, put, removeControl, setMessageId
-
Methods inherited from interface org.apache.directory.api.ldap.model.message.ResultResponse
getLdapResult
-
-
-
-
Field Detail
-
serialVersionUID
static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Method Detail
-
isTrue
public boolean isTrue()
- Specified by:
isTruein interfaceCompareResponse- Returns:
- true if the compare response is TRUE, false otherwise
-
toString
public String toString()
Get a String representation of an CompareResponse- Overrides:
toStringin classAbstractResultResponse- Returns:
- An CompareResponse String
-
-