public class ModifyDnRequest extends AbstractRequest
| Constructor and Description |
|---|
ModifyDnRequest()
Default constructor.
|
ModifyDnRequest(String oldDn,
String newDn)
Creates a new modify dn request.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
getDeleteOldRDn()
Returns whether to delete the old RDN attribute.
|
String |
getDn()
Returns the DN to modify.
|
String |
getNewDn()
Returns the new DN.
|
void |
setDeleteOldRDn(boolean b)
Sets whether to delete the old RDN attribute.
|
void |
setDn(String dn)
Sets the DN to modify.
|
void |
setNewDn(String dn)
Sets the new DN.
|
String |
toString() |
getControls, getIntermediateResponseHandlers, getReferralHandler, setControls, setIntermediateResponseHandlers, setReferralHandlerpublic String getDn()
public void setDn(String dn)
dn - to modifypublic String getNewDn()
public void setNewDn(String dn)
dn - to rename topublic boolean getDeleteOldRDn()
public void setDeleteOldRDn(boolean b)
b - whether to delete the old RDN attributeCopyright © 2023. All rights reserved.