You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by el...@apache.org on 2005/06/26 17:21:46 UTC

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

Author: elecharny
Date: Sun Jun 26 08:21:44 2005
New Revision: 201865

URL: http://svn.apache.org/viewcvs?rev=201865&view=rev
Log:
Added a methof that return a ModifyRequest object from a ldapObject

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=201865&r1=201864&r2=201865&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 Jun 26 08:21:44 2005
@@ -152,6 +152,17 @@
     }
 
     /**
+     * Get a ModifyRequest ldapObject, assuming that the caller knows that
+     * it is the LdapMessage exact type.
+     *
+     * @return Returns the ModifyRequest ldapObject.
+     */
+    public ModifyRequest getModifyRequest()
+    {
+        return (ModifyRequest)protocolOp;
+    }
+
+    /**
      * Set the ProtocolOP
      *
      * @param protocolOp The protocolOp to set.