public class AddRequest extends AbstractRequest
Modifier and Type | Field and Description |
---|---|
private Collection<LdapAttribute> |
attributes
Attributes to add to the newly created entry.
|
private String |
createDn
DN to create.
|
Constructor and Description |
---|
AddRequest()
Default constructor.
|
AddRequest(String dn,
Collection<LdapAttribute> attrs)
Creates a new add request.
|
Modifier and Type | Method and Description |
---|---|
String |
getDn()
Returns the DN to create.
|
Collection<LdapAttribute> |
getLdapAttributes()
Returns the attributes to add.
|
void |
setDn(String dn)
Sets the DN to create.
|
void |
setLdapAttributes(Collection<LdapAttribute> attrs)
Sets the attributes to add.
|
String |
toString() |
getControls, getIntermediateResponseHandlers, getReferralHandler, setControls, setIntermediateResponseHandlers, setReferralHandler
private String createDn
private Collection<LdapAttribute> attributes
public AddRequest()
public AddRequest(String dn, Collection<LdapAttribute> attrs)
dn
- to createattrs
- attributes to addpublic String getDn()
public void setDn(String dn)
dn
- to createpublic Collection<LdapAttribute> getLdapAttributes()
public void setLdapAttributes(Collection<LdapAttribute> attrs)
attrs
- to addCopyright © 2003-2019 Virginia Tech. All Rights Reserved.