public class CompareRequest extends AbstractRequest
Modifier and Type | Field and Description |
---|---|
private LdapAttribute |
attribute
Attribute to compare.
|
private String |
compareDn
DN to compare.
|
Constructor and Description |
---|
CompareRequest()
Default constructor.
|
CompareRequest(String dn,
LdapAttribute attr)
Creates a new compare request.
|
Modifier and Type | Method and Description |
---|---|
LdapAttribute |
getAttribute()
Returns the attribute containing the value to compare.
|
String |
getDn()
Returns the DN to compare.
|
void |
setAttribute(LdapAttribute attr)
Sets the attribute to compare.
|
void |
setDn(String dn)
Sets the DN to compare.
|
String |
toString() |
getControls, getIntermediateResponseHandlers, getReferralHandler, setControls, setIntermediateResponseHandlers, setReferralHandler
private String compareDn
private LdapAttribute attribute
public CompareRequest()
public CompareRequest(String dn, LdapAttribute attr)
dn
- containing the attribute to compareattr
- attribute to comparepublic String getDn()
public void setDn(String dn)
dn
- to comparepublic LdapAttribute getAttribute()
public void setAttribute(LdapAttribute attr)
attr
- attribute to compareCopyright © 2003-2019 Virginia Tech. All Rights Reserved.