Package netscape.ldap.client.opers
Class JDAPCompareRequest
- java.lang.Object
-
- netscape.ldap.client.opers.JDAPBaseDNRequest
-
- netscape.ldap.client.opers.JDAPCompareRequest
-
- All Implemented Interfaces:
JDAPProtocolOp
public class JDAPCompareRequest extends JDAPBaseDNRequest implements JDAPProtocolOp
This class implements the compare request. This object is sent to the ldap server.CompareRequest ::= [APPLICATION 14] SEQUENCE { entry LDAPDN, ava AttributeValueAssertion }- Version:
- 1.0
-
-
Field Summary
Fields Modifier and Type Field Description protected JDAPAVAm_avaprotected java.lang.Stringm_dnInternal variables-
Fields inherited from interface netscape.ldap.client.opers.JDAPProtocolOp
ABANDON_REQUEST, ADD_REQUEST, ADD_RESPONSE, BIND_REQUEST, BIND_RESPONSE, COMPARE_REQUEST, COMPARE_RESPONSE, DEL_REQUEST, DEL_RESPONSE, EXTENDED_REQUEST, EXTENDED_RESPONSE, MODIFY_RDN_REQUEST, MODIFY_RDN_RESPONSE, MODIFY_REQUEST, MODIFY_RESPONSE, SEARCH_REQUEST, SEARCH_RESPONSE, SEARCH_RESULT, SEARCH_RESULT_REFERENCE, UNBIND_REQUEST
-
-
Constructor Summary
Constructors Constructor Description JDAPCompareRequest(java.lang.String dn, JDAPAVA ava)Constructs the compare request.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetBaseDN()Gets the base dn.BERElementgetBERElement()Retrieves the ber representation of the request.intgetType()Retrieves the protocol operation type.voidsetBaseDN(java.lang.String basedn)Sets the base dn.java.lang.StringtoString()Retrieves the string representation of the request.
-
-
-
Field Detail
-
m_dn
protected java.lang.String m_dn
Internal variables
-
m_ava
protected JDAPAVA m_ava
-
-
Constructor Detail
-
JDAPCompareRequest
public JDAPCompareRequest(java.lang.String dn, JDAPAVA ava)Constructs the compare request.- Parameters:
dn- distinguished name of the entry to be comparedava- attribut value assertion
-
-
Method Detail
-
getType
public int getType()
Retrieves the protocol operation type.- Specified by:
getTypein interfaceJDAPProtocolOp- Returns:
- operation type
-
setBaseDN
public void setBaseDN(java.lang.String basedn)
Sets the base dn.- Specified by:
setBaseDNin classJDAPBaseDNRequest- Parameters:
basedn- base dn
-
getBaseDN
public java.lang.String getBaseDN()
Gets the base dn.- Specified by:
getBaseDNin classJDAPBaseDNRequest- Returns:
- base dn
-
getBERElement
public BERElement getBERElement()
Retrieves the ber representation of the request.- Specified by:
getBERElementin interfaceJDAPProtocolOp- Returns:
- ber request
-
toString
public java.lang.String toString()
Retrieves the string representation of the request.- Specified by:
toStringin interfaceJDAPProtocolOp- Overrides:
toStringin classjava.lang.Object- Returns:
- string representation
-
-