Package netscape.ldap.client.opers
Class JDAPCompareRequest
java.lang.Object
netscape.ldap.client.opers.JDAPBaseDNRequest
netscape.ldap.client.opers.JDAPCompareRequest
- All Implemented Interfaces:
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
FieldsFields 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 -
Method Summary
-
Field Details
-
m_dn
Internal variables -
m_ava
-
-
Constructor Details
-
JDAPCompareRequest
Constructs the compare request.- Parameters:
dn
- distinguished name of the entry to be comparedava
- attribut value assertion
-
-
Method Details
-
getType
public int getType()Retrieves the protocol operation type.- Specified by:
getType
in interfaceJDAPProtocolOp
- Returns:
- operation type
-
setBaseDN
Sets the base dn.- Specified by:
setBaseDN
in classJDAPBaseDNRequest
- Parameters:
basedn
- base dn
-
getBaseDN
Gets the base dn.- Specified by:
getBaseDN
in classJDAPBaseDNRequest
- Returns:
- base dn
-
getBERElement
Retrieves the ber representation of the request.- Specified by:
getBERElement
in interfaceJDAPProtocolOp
- Returns:
- ber request
-
toString
Retrieves the string representation of the request.- Specified by:
toString
in interfaceJDAPProtocolOp
- Overrides:
toString
in classObject
- Returns:
- string representation
-