directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r208915 - /directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/LdapMessage.java
Date Sun, 03 Jul 2005 12:33:52 GMT
Author: elecharny
Date: Sun Jul  3 05:33:51 2005
New Revision: 208915

URL: http://svn.apache.org/viewcvs?rev=208915&view=rev
Log:
Added an accessor for the AddRequest 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=208915&r1=208914&r2=208915&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 05:33:51 2005
@@ -174,6 +174,17 @@
     }
 
     /**
+     * Get a AddRequest ldapObject, assuming that the caller knows that
+     * it is the LdapMessage exact type.
+     *
+     * @return Returns the AddRequest ldapObject.
+     */
+    public AddRequest getAddRequest()
+    {
+        return (AddRequest)protocolOp;
+    }
+
+    /**
      * Set the ProtocolOP
      *
      * @param protocolOp The protocolOp to set.



Mime
View raw message