directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r189849 - /directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/SearchRequest.java
Date Thu, 09 Jun 2005 22:55:33 GMT
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!
      *



Mime
View raw message