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/10 00:55:33 UTC

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

Author: elecharny
Date: Thu Jun  9 15:55:32 2005
New Revision: 189849

URL: http://svn.apache.org/viewcvs?rev=189849&view=rev
Log:
Added a method to add attributes to the attributes list of a searchRequest

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

Modified: directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/SearchRequest.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/SearchRequest.java?rev=189849&r1=189848&r2=189849&view=diff
==============================================================================
--- directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/SearchRequest.java (original)
+++ directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/SearchRequest.java Thu Jun  9 15:55:32 2005
@@ -77,7 +77,7 @@
     //~ Methods ------------------------------------------------------------------------------------
 
     /**
-     * DOCUMENT ME!
+     * Get the list of attributes
      *
      * @return Returns the attributes.
      */
@@ -86,6 +86,15 @@
         return attributes;
     }
 
+    /**
+     * Add an attribute to the attributes list.
+     * 
+     * @param attribute The attribute to add to the list
+     */
+    public void addAttribute (MutableString attribute) {
+        attributes.add(attribute);
+    }
+    
     /**
      * DOCUMENT ME!
      *