public class AddRequestImpl extends AbstractAbandonableRequest implements InternalAddRequest
RESP_TYPE, TYPE| Constructor and Description |
|---|
AddRequestImpl(int id)
Creates an AddRequest implementation to create a new entry.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj)
Checks to see if an object is equivalent to this AddRequest.
|
Entry |
getEntry()
Gets the entry to add.
|
DN |
getEntryDn()
Gets the distinguished name of the entry to add.
|
MessageTypeEnum |
getResponseType()
Gets the protocol response message type for this request which produces
at least one response.
|
InternalResultResponse |
getResultResponse()
The result containing response for this request.
|
int |
hashCode() |
void |
setEntry(Entry entry)
Sets the Entry to add.
|
void |
setEntryDn(DN dn)
Sets the distinguished name of the entry to add.
|
String |
toString() |
abandon, addAbandonListener, isAbandonedhasResponseadd, addAll, get, getControls, getMessageId, getType, hasControl, put, removeclone, finalize, getClass, notify, notifyAll, wait, wait, waithasResponseadd, addAll, get, getControls, getMessageId, getType, hasControl, put, removeabandon, addAbandonListener, isAbandonedpublic AddRequestImpl(int id)
id - the sequence identifier of the AddRequest message.public DN getEntryDn()
getEntryDn in interface InternalAddRequestpublic void setEntryDn(DN dn)
setEntryDn in interface InternalAddRequestentry - the Dn of the added entry.public Entry getEntry()
getEntry in interface InternalAddRequestpublic void setEntry(Entry entry)
setEntry in interface InternalAddRequestentry - the added Entrypublic MessageTypeEnum getResponseType()
getResponseType in interface SingleReplyRequestpublic InternalResultResponse getResultResponse()
getResultResponse in interface InternalResultResponseRequestpublic boolean equals(Object obj)
equals in class InternalAbstractMessageobj - the object to test for equality to thispublic int hashCode()
hashCode in class InternalAbstractRequestObject.hashCode()public String toString()
toString in class ObjectObject.toString()Copyright © 2003–2016 The Apache Software Foundation. All rights reserved.