public class ModifyRequestImpl extends AbstractAbandonableRequest implements InternalModifyRequest
RESP_TYPE, TYPE| Constructor and Description |
|---|
ModifyRequestImpl(int id)
Creates a Lockable ModifyRequest implementing object used to modify the
attributes of an entry.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addModification(Modification mod)
Adds a Modification to the set of modifications composing this modify
request.
|
boolean |
equals(Object obj)
Checks to see if ModifyRequest stub equals another by factoring in checks
for the name and modification items of the request.
|
Collection<Modification> |
getModificationItems()
Gets an immutable Collection of modification items representing the
atomic changes to perform on the candidate entry to modify.
|
DN |
getName()
Gets the distinguished name of the entry to be modified by this request.
|
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.
|
void |
removeModification(Modification mod)
Removes a Modification to the set of modifications composing this
modify request.
|
void |
setName(DN name)
Sets the distinguished name of the entry to be modified by this request.
|
String |
toString()
Get a String representation of a ModifyRequest
|
abandon, addAbandonListener, isAbandonedhashCode, hasResponseadd, 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 ModifyRequestImpl(int id)
id - the sequential message identifierpublic Collection<Modification> getModificationItems()
getModificationItems in interface InternalModifyRequestpublic DN getName()
getName in interface InternalModifyRequestpublic void setName(DN name)
setName in interface InternalModifyRequestname - the DN of the modified entry.public void addModification(Modification mod)
addModification in interface InternalModifyRequestmod - a Modification to addpublic void removeModification(Modification mod)
removeModification in interface InternalModifyRequestmod - a Modification to remove.public MessageTypeEnum getResponseType()
getResponseType in interface SingleReplyRequestpublic InternalResultResponse getResultResponse()
getResultResponse in interface InternalResultResponseRequestpublic boolean equals(Object obj)
equals in class InternalAbstractMessageobj - the object to compare this ModifyRequest toCopyright © 2003–2016 The Apache Software Foundation. All rights reserved.