directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r1063212 - /directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/
Date Tue, 25 Jan 2011 10:34:38 GMT
Author: elecharny
Date: Tue Jan 25 10:34:38 2011
New Revision: 1063212

URL: http://svn.apache.org/viewvc?rev=1063212&view=rev
Log:
Added missing Javadoc

Modified:
    directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/AddRequestDecorator.java
    directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/AddResponseDecorator.java
    directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/BindRequestDecorator.java
    directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/BindResponseDecorator.java
    directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/CompareRequestDecorator.java
    directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/CompareResponseDecorator.java
    directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/DeleteResponseDecorator.java
    directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/ExtendedRequestDecorator.java
    directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/ExtendedResponseDecorator.java
    directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/IntermediateResponseDecorator.java
    directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/LdapResultDecorator.java
    directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/MessageDecorator.java
    directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/ModifyDnRequestDecorator.java
    directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/ModifyDnResponseDecorator.java
    directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/ModifyRequestDecorator.java
    directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/ModifyResponseDecorator.java
    directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/SearchRequestDecorator.java
    directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/SearchResultDoneDecorator.java
    directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/SearchResultEntryDecorator.java
    directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/SearchResultReferenceDecorator.java

Modified: directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/AddRequestDecorator.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/AddRequestDecorator.java?rev=1063212&r1=1063211&r2=1063212&view=diff
==============================================================================
--- directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/AddRequestDecorator.java
(original)
+++ directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/AddRequestDecorator.java
Tue Jan 25 10:34:38 2011
@@ -21,19 +21,17 @@ package org.apache.directory.shared.ldap
 
 
 import java.util.List;
+
 import org.apache.directory.shared.ldap.model.message.AddRequest;
 
 
 /**
- * Doc me!
+ * A decorator for the AddRequest message
  *
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
  */
 public class AddRequestDecorator extends MessageDecorator
 {
-    // ~ Instance fields
-    // ----------------------------------------------------------------------------
-
     /** The add request length */
     private int addRequestLength;
 
@@ -58,6 +56,9 @@ public class AddRequestDecorator extends
     }
 
 
+    /**
+     * @return The decorated AddRequest
+     */
     public AddRequest getAddRequest()
     {
         return ( AddRequest ) getMessage();

Modified: directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/AddResponseDecorator.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/AddResponseDecorator.java?rev=1063212&r1=1063211&r2=1063212&view=diff
==============================================================================
--- directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/AddResponseDecorator.java
(original)
+++ directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/AddResponseDecorator.java
Tue Jan 25 10:34:38 2011
@@ -24,7 +24,7 @@ import org.apache.directory.shared.ldap.
 
 
 /**
- * Doc me!
+ * A decorator for the AddResponse message
  *
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
  */
@@ -45,6 +45,9 @@ public class AddResponseDecorator extend
     }
 
 
+    /**
+     * @return The decorated AddResponse
+     */
     public AddResponse getAddResponse()
     {
         return ( AddResponse ) getMessage();

Modified: directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/BindRequestDecorator.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/BindRequestDecorator.java?rev=1063212&r1=1063211&r2=1063212&view=diff
==============================================================================
--- directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/BindRequestDecorator.java
(original)
+++ directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/BindRequestDecorator.java
Tue Jan 25 10:34:38 2011
@@ -24,13 +24,12 @@ import org.apache.directory.shared.ldap.
 
 
 /**
- * Doc me!
+ * A decorator for the BindRequest message
  *
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
  */
 public class BindRequestDecorator extends MessageDecorator
 {
-
     /** The bind request length */
     private int bindRequestLength;
 
@@ -52,6 +51,9 @@ public class BindRequestDecorator extend
     }
 
 
+    /**
+     * @return The decorated BindRequest
+     */
     public BindRequest getBindRequest()
     {
         return ( BindRequest ) getMessage();

Modified: directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/BindResponseDecorator.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/BindResponseDecorator.java?rev=1063212&r1=1063211&r2=1063212&view=diff
==============================================================================
--- directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/BindResponseDecorator.java
(original)
+++ directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/BindResponseDecorator.java
Tue Jan 25 10:34:38 2011
@@ -24,7 +24,7 @@ import org.apache.directory.shared.ldap.
 
 
 /**
- * Doc me!
+ * A decorator for the BindResponse message
  *
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
  */
@@ -45,6 +45,9 @@ public class BindResponseDecorator exten
     }
 
 
+    /**
+     * @return The decorated BindResponse
+     */
     public BindResponse getBindResponse()
     {
         return ( BindResponse ) getMessage();

Modified: directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/CompareRequestDecorator.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/CompareRequestDecorator.java?rev=1063212&r1=1063211&r2=1063212&view=diff
==============================================================================
--- directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/CompareRequestDecorator.java
(original)
+++ directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/CompareRequestDecorator.java
Tue Jan 25 10:34:38 2011
@@ -24,7 +24,7 @@ import org.apache.directory.shared.ldap.
 
 
 /**
- * Doc me!
+ * A decorator for the CompareRequest message
  *
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
  */
@@ -54,6 +54,9 @@ public class CompareRequestDecorator ext
     }
 
 
+    /**
+     * @return The decorated CompareRequest
+     */
     public CompareRequest getCompareRequest()
     {
         return ( CompareRequest ) getMessage();

Modified: directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/CompareResponseDecorator.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/CompareResponseDecorator.java?rev=1063212&r1=1063211&r2=1063212&view=diff
==============================================================================
--- directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/CompareResponseDecorator.java
(original)
+++ directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/CompareResponseDecorator.java
Tue Jan 25 10:34:38 2011
@@ -24,7 +24,7 @@ import org.apache.directory.shared.ldap.
 
 
 /**
- * Doc me!
+ * A decorator for the CompareResponse message
  *
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
  */
@@ -45,6 +45,9 @@ public class CompareResponseDecorator ex
     }
 
 
+    /**
+     * @return The decorated CompareResponse
+     */
     public CompareResponse getCompareResponse()
     {
         return ( CompareResponse ) getMessage();

Modified: directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/DeleteResponseDecorator.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/DeleteResponseDecorator.java?rev=1063212&r1=1063211&r2=1063212&view=diff
==============================================================================
--- directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/DeleteResponseDecorator.java
(original)
+++ directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/DeleteResponseDecorator.java
Tue Jan 25 10:34:38 2011
@@ -24,7 +24,7 @@ import org.apache.directory.shared.ldap.
 
 
 /**
- * Doc me!
+ * A decorator for the DeleteRequest message
  *
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
  */
@@ -45,6 +45,9 @@ public class DeleteResponseDecorator ext
     }
 
 
+    /**
+     * @return The decorated DeleteResponse
+     */
     public DeleteResponse getDeleteResponse()
     {
         return ( DeleteResponse ) getMessage();

Modified: directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/ExtendedRequestDecorator.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/ExtendedRequestDecorator.java?rev=1063212&r1=1063211&r2=1063212&view=diff
==============================================================================
--- directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/ExtendedRequestDecorator.java
(original)
+++ directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/ExtendedRequestDecorator.java
Tue Jan 25 10:34:38 2011
@@ -24,13 +24,12 @@ import org.apache.directory.shared.ldap.
 
 
 /**
- * Doc me!
+ * A decorator for the ExtendedRequest message
  *
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
  */
 public class ExtendedRequestDecorator extends MessageDecorator
 {
-
     /** The extended request length */
     private int extendedRequestLength;
 
@@ -49,6 +48,9 @@ public class ExtendedRequestDecorator ex
     }
 
 
+    /**
+     * @return The decorated ExtendedRequest
+     */
     public ExtendedRequest getExtendedRequest()
     {
         return ( ExtendedRequest ) getMessage();

Modified: directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/ExtendedResponseDecorator.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/ExtendedResponseDecorator.java?rev=1063212&r1=1063211&r2=1063212&view=diff
==============================================================================
--- directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/ExtendedResponseDecorator.java
(original)
+++ directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/ExtendedResponseDecorator.java
Tue Jan 25 10:34:38 2011
@@ -24,13 +24,12 @@ import org.apache.directory.shared.ldap.
 
 
 /**
- * Doc me!
+ * A decorator for the ExtendedResponse message
  *
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
  */
 public class ExtendedResponseDecorator extends MessageDecorator
 {
-
     /** The response name as a byte[] */
     private byte[] responseNameBytes;
 
@@ -49,6 +48,9 @@ public class ExtendedResponseDecorator e
     }
 
 
+    /**
+     * @return The decorated ExtendedResponse
+     */
     public ExtendedResponse getExtendedResponse()
     {
         return ( ExtendedResponse ) getMessage();

Modified: directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/IntermediateResponseDecorator.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/IntermediateResponseDecorator.java?rev=1063212&r1=1063211&r2=1063212&view=diff
==============================================================================
--- directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/IntermediateResponseDecorator.java
(original)
+++ directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/IntermediateResponseDecorator.java
Tue Jan 25 10:34:38 2011
@@ -24,13 +24,12 @@ import org.apache.directory.shared.ldap.
 
 
 /**
- * Doc me!
+ * A decorator for the IntermediateResponse message
  *
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
  */
 public class IntermediateResponseDecorator extends MessageDecorator
 {
-
     /** The response name as a byte[] */
     private byte[] responseNameBytes;
 
@@ -49,6 +48,9 @@ public class IntermediateResponseDecorat
     }
 
 
+    /**
+     * @return The decorated IntermediateResponse
+     */
     public IntermediateResponse getIntermediateResponse()
     {
         return ( IntermediateResponse ) getMessage();

Modified: directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/LdapResultDecorator.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/LdapResultDecorator.java?rev=1063212&r1=1063211&r2=1063212&view=diff
==============================================================================
--- directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/LdapResultDecorator.java
(original)
+++ directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/LdapResultDecorator.java
Tue Jan 25 10:34:38 2011
@@ -24,7 +24,7 @@ import org.apache.directory.shared.ldap.
 
 
 /**
- * Doc me!
+ * A decorator for the LdapResultResponse message
  *
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
  */
@@ -51,6 +51,9 @@ public class LdapResultDecorator
     }
 
 
+    /**
+     * @return The decorated LdapResult
+     */
     public LdapResult getLdapResult()
     {
         return decoratedLdapResult;

Modified: directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/MessageDecorator.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/MessageDecorator.java?rev=1063212&r1=1063211&r2=1063212&view=diff
==============================================================================
--- directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/MessageDecorator.java
(original)
+++ directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/MessageDecorator.java
Tue Jan 25 10:34:38 2011
@@ -21,20 +21,35 @@ package org.apache.directory.shared.ldap
 
 
 import org.apache.directory.shared.asn1.EncoderException;
-import org.apache.directory.shared.ldap.model.message.*;
+import org.apache.directory.shared.ldap.model.message.AddRequest;
+import org.apache.directory.shared.ldap.model.message.AddResponse;
+import org.apache.directory.shared.ldap.model.message.BindRequest;
+import org.apache.directory.shared.ldap.model.message.BindResponse;
+import org.apache.directory.shared.ldap.model.message.CompareRequest;
+import org.apache.directory.shared.ldap.model.message.CompareResponse;
+import org.apache.directory.shared.ldap.model.message.DeleteResponse;
+import org.apache.directory.shared.ldap.model.message.ExtendedRequest;
+import org.apache.directory.shared.ldap.model.message.ExtendedResponse;
+import org.apache.directory.shared.ldap.model.message.IntermediateResponse;
+import org.apache.directory.shared.ldap.model.message.Message;
+import org.apache.directory.shared.ldap.model.message.ModifyDnRequest;
+import org.apache.directory.shared.ldap.model.message.ModifyDnResponse;
+import org.apache.directory.shared.ldap.model.message.ModifyRequest;
+import org.apache.directory.shared.ldap.model.message.ModifyResponse;
+import org.apache.directory.shared.ldap.model.message.SearchRequest;
+import org.apache.directory.shared.ldap.model.message.SearchResultDone;
+import org.apache.directory.shared.ldap.model.message.SearchResultEntry;
+import org.apache.directory.shared.ldap.model.message.SearchResultReference;
 
 
 /**
- * Doc me man!
+ * A decorator for the generic LDAP Message
  *
  * @TODO make this class abstract, after finishing switch and all types and make default
blow an EncoderException
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
  */
 public class MessageDecorator
 {
-    // ~ Instance fields
-    // ----------------------------------------------------------------------------
-
     /** The decorated Control */
     private final Message decoratedMessage;
 
@@ -106,30 +121,45 @@ public class MessageDecorator
     }
 
 
+    /**
+     * @return The decorated LDAP Message
+     */
     public Message getMessage()
     {
         return decoratedMessage;
     }
 
 
+    /**
+     * @param controlsLength the encoded controls length
+     */
     public void setControlsLength( int controlsLength )
     {
         this.controlsLength = controlsLength;
     }
 
 
+    /**
+     * @return the encoded controls length
+     */
     public int getControlsLength()
     {
         return controlsLength;
     }
 
 
+    /**
+     * @param messageLength The encoded message length
+     */
     public void setMessageLength( int messageLength )
     {
         this.messageLength = messageLength;
     }
 
 
+    /**
+     * @return The encoded message length
+     */
     public int getMessageLength()
     {
         return messageLength;

Modified: directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/ModifyDnRequestDecorator.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/ModifyDnRequestDecorator.java?rev=1063212&r1=1063211&r2=1063212&view=diff
==============================================================================
--- directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/ModifyDnRequestDecorator.java
(original)
+++ directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/ModifyDnRequestDecorator.java
Tue Jan 25 10:34:38 2011
@@ -24,13 +24,12 @@ import org.apache.directory.shared.ldap.
 
 
 /**
- * Doc me!
+ * A decorator for the ModifyDnRequest message
  *
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
  */
 public class ModifyDnRequestDecorator extends MessageDecorator
 {
-
     /** The modify Dn request length */
     private int modifyDnRequestLength;
 
@@ -46,6 +45,9 @@ public class ModifyDnRequestDecorator ex
     }
 
 
+    /**
+     * @return The decorated ModifyDnRequest
+     */
     public ModifyDnRequest getModifyDnRequest()
     {
         return ( ModifyDnRequest ) getMessage();

Modified: directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/ModifyDnResponseDecorator.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/ModifyDnResponseDecorator.java?rev=1063212&r1=1063211&r2=1063212&view=diff
==============================================================================
--- directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/ModifyDnResponseDecorator.java
(original)
+++ directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/ModifyDnResponseDecorator.java
Tue Jan 25 10:34:38 2011
@@ -24,7 +24,7 @@ import org.apache.directory.shared.ldap.
 
 
 /**
- * Doc me!
+ * A decorator for the ModifyDnResponse message
  *
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
  */
@@ -45,6 +45,9 @@ public class ModifyDnResponseDecorator e
     }
 
 
+    /**
+     * @return The decorated ModifyDnResponse
+     */
     public ModifyDnResponse getModifyDnResponse()
     {
         return ( ModifyDnResponse ) getMessage();

Modified: directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/ModifyRequestDecorator.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/ModifyRequestDecorator.java?rev=1063212&r1=1063211&r2=1063212&view=diff
==============================================================================
--- directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/ModifyRequestDecorator.java
(original)
+++ directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/ModifyRequestDecorator.java
Tue Jan 25 10:34:38 2011
@@ -20,20 +20,19 @@
 package org.apache.directory.shared.ldap.codec.decorators;
 
 
-import org.apache.directory.shared.ldap.model.message.ModifyRequest;
-
 import java.util.LinkedList;
 import java.util.List;
 
+import org.apache.directory.shared.ldap.model.message.ModifyRequest;
+
 
 /**
- * Doc me!
+ * A decorator for the ModifyRequest message
  *
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
  */
 public class ModifyRequestDecorator extends MessageDecorator
 {
-
     /** The modify request length */
     private int modifyRequestLength;
 
@@ -61,6 +60,9 @@ public class ModifyRequestDecorator exte
     }
 
 
+    /**
+     * @return The decorated ModifyRequest
+     */
     public ModifyRequest getModifyRequest()
     {
         return ( ModifyRequest ) getMessage();

Modified: directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/ModifyResponseDecorator.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/ModifyResponseDecorator.java?rev=1063212&r1=1063211&r2=1063212&view=diff
==============================================================================
--- directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/ModifyResponseDecorator.java
(original)
+++ directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/ModifyResponseDecorator.java
Tue Jan 25 10:34:38 2011
@@ -24,7 +24,7 @@ import org.apache.directory.shared.ldap.
 
 
 /**
- * Doc me!
+ * A decorator for the ModifyResponse message
  *
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
  */
@@ -45,6 +45,9 @@ public class ModifyResponseDecorator ext
     }
 
 
+    /**
+     * @return The decorated ModifyResponse
+     */
     public ModifyResponse getModifyResponse()
     {
         return ( ModifyResponse ) getMessage();

Modified: directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/SearchRequestDecorator.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/SearchRequestDecorator.java?rev=1063212&r1=1063211&r2=1063212&view=diff
==============================================================================
--- directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/SearchRequestDecorator.java
(original)
+++ directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/SearchRequestDecorator.java
Tue Jan 25 10:34:38 2011
@@ -26,7 +26,7 @@ import org.apache.directory.shared.ldap.
 
 
 /**
- * Doc me!
+ * A decorator for the SearchRequest message
  *
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
  */
@@ -50,6 +50,9 @@ public class SearchRequestDecorator exte
     }
 
 
+    /**
+     * @return The decorated SearchRequest
+     */
     public SearchRequest getSearchRequest()
     {
         return ( SearchRequest ) getMessage();

Modified: directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/SearchResultDoneDecorator.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/SearchResultDoneDecorator.java?rev=1063212&r1=1063211&r2=1063212&view=diff
==============================================================================
--- directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/SearchResultDoneDecorator.java
(original)
+++ directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/SearchResultDoneDecorator.java
Tue Jan 25 10:34:38 2011
@@ -24,7 +24,7 @@ import org.apache.directory.shared.ldap.
 
 
 /**
- * Doc me!
+ * A decorator for the SearchResultDone message
  *
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
  */
@@ -34,7 +34,6 @@ public class SearchResultDoneDecorator e
     private int searchResultDoneLength;
 
 
-
     /**
      * Makes a SearchResultDone encodable.
      *
@@ -46,6 +45,9 @@ public class SearchResultDoneDecorator e
     }
 
 
+    /**
+     * @return The decorated SearchResultDone
+     */
     public SearchResultDone getSearchResultDone()
     {
         return ( SearchResultDone ) getMessage();

Modified: directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/SearchResultEntryDecorator.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/SearchResultEntryDecorator.java?rev=1063212&r1=1063211&r2=1063212&view=diff
==============================================================================
--- directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/SearchResultEntryDecorator.java
(original)
+++ directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/SearchResultEntryDecorator.java
Tue Jan 25 10:34:38 2011
@@ -20,19 +20,18 @@
 package org.apache.directory.shared.ldap.codec.decorators;
 
 
-import org.apache.directory.shared.ldap.model.message.SearchResultEntry;
-
 import java.util.List;
 
+import org.apache.directory.shared.ldap.model.message.SearchResultEntry;
+
 
 /**
- * Doc me!
+ * A decorator for the SearchResultEntry message
  *
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
  */
 public class SearchResultEntryDecorator extends MessageDecorator
 {
-
     /** A temporary storage for the byte[] representing the objectName */
     private byte[] objectNameBytes;
 
@@ -60,6 +59,9 @@ public class SearchResultEntryDecorator 
     }
 
 
+    /**
+     * @return The decorated SearchResultEntry
+     */
     public SearchResultEntry getSearchResultEntry()
     {
         return ( SearchResultEntry ) getMessage();

Modified: directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/SearchResultReferenceDecorator.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/SearchResultReferenceDecorator.java?rev=1063212&r1=1063211&r2=1063212&view=diff
==============================================================================
--- directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/SearchResultReferenceDecorator.java
(original)
+++ directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/codec/decorators/SearchResultReferenceDecorator.java
Tue Jan 25 10:34:38 2011
@@ -24,7 +24,7 @@ import org.apache.directory.shared.ldap.
 
 
 /**
- * Doc me!
+ * A decorator for the SearchResultReference message
  *
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
  */
@@ -48,6 +48,9 @@ public class SearchResultReferenceDecora
     }
 
 
+    /**
+     * @return The decorated SearchResultReference
+     */
     public SearchResultReference getSearchResultReference()
     {
         return ( SearchResultReference ) getMessage();



Mime
View raw message