|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.directory.shared.ldap.message.internal.InternalAbstractMessage
org.apache.directory.shared.ldap.message.internal.InternalAbstractRequest
org.apache.directory.shared.ldap.message.AbstractAbandonableRequest
org.apache.directory.shared.ldap.message.AddRequestImpl
public class AddRequestImpl
Lockable add request implemenation.
Field Summary |
---|
Fields inherited from interface org.apache.directory.shared.ldap.message.internal.InternalAddRequest |
---|
RESP_TYPE, TYPE |
Constructor Summary | |
---|---|
AddRequestImpl(int id)
Creates an AddRequest implementation to create a new entry. |
Method Summary | |
---|---|
boolean |
equals(java.lang.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. |
java.lang.String |
toString()
|
Methods inherited from class org.apache.directory.shared.ldap.message.AbstractAbandonableRequest |
---|
abandon, addAbandonListener, isAbandoned |
Methods inherited from class org.apache.directory.shared.ldap.message.internal.InternalAbstractRequest |
---|
hasResponse |
Methods inherited from class org.apache.directory.shared.ldap.message.internal.InternalAbstractMessage |
---|
add, addAll, get, getControls, getMessageId, getType, hasControl, put, remove |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.apache.directory.shared.ldap.message.internal.InternalRequest |
---|
hasResponse |
Methods inherited from interface org.apache.directory.shared.ldap.message.internal.InternalMessage |
---|
add, addAll, get, getControls, getMessageId, getType, hasControl, put, remove |
Methods inherited from interface org.apache.directory.shared.ldap.message.internal.InternalAbandonableRequest |
---|
abandon, addAbandonListener, isAbandoned |
Constructor Detail |
---|
public AddRequestImpl(int id)
id
- the sequence identifier of the AddRequest message.Method Detail |
---|
public DN getEntryDn()
getEntryDn
in interface InternalAddRequest
public void setEntryDn(DN dn)
setEntryDn
in interface InternalAddRequest
entry
- the Dn of the added entry.public Entry getEntry()
getEntry
in interface InternalAddRequest
public void setEntry(Entry entry)
setEntry
in interface InternalAddRequest
entry
- the added Entrypublic MessageTypeEnum getResponseType()
getResponseType
in interface SingleReplyRequest
public InternalResultResponse getResultResponse()
getResultResponse
in interface InternalResultResponseRequest
public boolean equals(java.lang.Object obj)
equals
in class InternalAbstractMessage
obj
- the object to test for equality to this
public int hashCode()
hashCode
in class InternalAbstractRequest
Object.hashCode()
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |