directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r208950 - /directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/LdapMessage.java
Date Sun, 03 Jul 2005 17:13:29 GMT
Author: elecharny
Date: Sun Jul  3 10:13:28 2005
New Revision: 208950

URL: http://svn.apache.org/viewcvs?rev=208950&view=rev
Log:
Added an accessor for the CompareRequest pojo

Modified:
    directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/LdapMessage.java

Modified: directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/LdapMessage.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/LdapMessage.java?rev=208950&r1=208949&r2=208950&view=diff
==============================================================================
--- directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/LdapMessage.java
(original)
+++ directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/LdapMessage.java
Sun Jul  3 10:13:28 2005
@@ -188,11 +188,22 @@
      * Get a DelRequest ldapObject, assuming that the caller knows that
      * it is the LdapMessage exact type.
      *
-     * @return Returns the ModifyDNRequest ldapObject.
+     * @return Returns the DelRequest ldapObject.
      */
     public DelRequest getDelRequest()
     {
         return (DelRequest)protocolOp;
+    }
+
+    /**
+     * Get a CompareRequest ldapObject, assuming that the caller knows that
+     * it is the LdapMessage exact type.
+     *
+     * @return Returns the CompareRequest ldapObject.
+     */
+    public CompareRequest getCompareRequest()
+    {
+        return (CompareRequest)protocolOp;
     }
 
     /**



Mime
View raw message