org.apache.directory.api.ldap.model.message
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
| Fields inherited from interface org.apache.directory.api.ldap.model.message.CompareResponse |
TYPE |
| 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 interface org.apache.directory.api.ldap.model.message.Message |
addAllControls, addControl, get, getControl, getControls, getMessageId, getType, hasControl, put, removeControl, setMessageId |
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
isTrue
public boolean isTrue()
-
- Specified by:
isTrue in interface CompareResponse
- Returns:
- True if the compared response is a success
toString
public String toString()
- Get a String representation of an CompareResponse
- Overrides:
toString in class AbstractResultResponse
- Returns:
- An CompareResponse String
Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.