public class ModifyRequest extends AbstractRequest
Modifier and Type | Field and Description |
---|---|
private AttributeModification[] |
attrMods
Attribute modifications.
|
private String |
modifyDn
DN to modify.
|
Constructor and Description |
---|
ModifyRequest()
Default constructor.
|
ModifyRequest(String dn,
AttributeModification... mods)
Creates a new modify request.
|
Modifier and Type | Method and Description |
---|---|
AttributeModification[] |
getAttributeModifications()
Returns the attribute modifications.
|
String |
getDn()
Returns the DN to modify.
|
void |
setAttributeModifications(AttributeModification... mods)
Sets the attribute modifications.
|
void |
setDn(String dn)
Sets the DN to modify.
|
String |
toString() |
getControls, getIntermediateResponseHandlers, getReferralHandler, setControls, setIntermediateResponseHandlers, setReferralHandler
private String modifyDn
private AttributeModification[] attrMods
public ModifyRequest()
public ModifyRequest(String dn, AttributeModification... mods)
dn
- to modifymods
- attribute modificationspublic String getDn()
public void setDn(String dn)
dn
- to modifypublic AttributeModification[] getAttributeModifications()
public void setAttributeModifications(AttributeModification... mods)
mods
- attribute modificationsCopyright © 2003-2019 Virginia Tech. All Rights Reserved.