directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r224568 - /directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/UnBindRequest.java
Date Sat, 23 Jul 2005 22:50:04 GMT
Author: elecharny
Date: Sat Jul 23 15:50:01 2005
New Revision: 224568

URL: http://svn.apache.org/viewcvs?rev=224568&view=rev
Log:
- fixed javadoc
- added a toString method

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

Modified: directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/UnBindRequest.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/UnBindRequest.java?rev=224568&r1=224567&r2=224568&view=diff
==============================================================================
--- directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/UnBindRequest.java
(original)
+++ directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/UnBindRequest.java
Sat Jul 23 15:50:01 2005
@@ -19,9 +19,8 @@
 import org.apache.asn1.Asn1Object;
 
 /**
- * A UnBindRequest ldapObject. It's a sub-class of Asn1Object, and it implements
- * the ldapObject class to be seen as a member of the LdapMessage
- * CHOICE. 
+ * A UnBindRequest ldapObject. Its syntax is :
+ * 	UnbindRequest ::= [APPLICATION 2] NULL
  * 
  * This ldapObject is empty.
  * 
@@ -42,4 +41,19 @@
     }
 
     //~ Methods ------------------------------------------------------------------------------------
+    /**
+     * Get a String representation of a UnBindRequest
+     *
+     * @return A UnBindRequest String 
+     */
+    public String toString()
+    {
+
+        StringBuffer sb = new StringBuffer();
+
+        sb.append( "    UnBind Request\n" );
+        sb.append( super.toString() );
+
+        return sb.toString();
+    }
 }



Mime
View raw message