public class ModifyDnRequest extends AbstractRequest
Modifier and Type | Field and Description |
---|---|
private boolean |
deleteOldRDn
Whether to delete the old RDN attribute.
|
private String |
newModifyDn
New DN.
|
private String |
oldModifyDn
DN to modify.
|
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, setReferralHandler
private String oldModifyDn
private String newModifyDn
private boolean deleteOldRDn
public 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 © 2003-2019 Virginia Tech. All Rights Reserved.