db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From arm...@apache.org
Subject svn commit: r524872 - /db/ojb/branches/OJB_1_0_RELEASE/src/java/org/apache/ojb/broker/metadata/FieldHelper.java
Date Mon, 02 Apr 2007 18:18:33 GMT
Author: arminw
Date: Mon Apr  2 11:18:32 2007
New Revision: 524872

URL: http://svn.apache.org/viewvc?view=rev&rev=524872
Log:
add toString

Modified:
    db/ojb/branches/OJB_1_0_RELEASE/src/java/org/apache/ojb/broker/metadata/FieldHelper.java

Modified: db/ojb/branches/OJB_1_0_RELEASE/src/java/org/apache/ojb/broker/metadata/FieldHelper.java
URL: http://svn.apache.org/viewvc/db/ojb/branches/OJB_1_0_RELEASE/src/java/org/apache/ojb/broker/metadata/FieldHelper.java?view=diff&rev=524872&r1=524871&r2=524872
==============================================================================
--- db/ojb/branches/OJB_1_0_RELEASE/src/java/org/apache/ojb/broker/metadata/FieldHelper.java
(original)
+++ db/ojb/branches/OJB_1_0_RELEASE/src/java/org/apache/ojb/broker/metadata/FieldHelper.java
Mon Apr  2 11:18:32 2007
@@ -20,7 +20,6 @@
 /**
  * HelperClass for Fields, used for orderBy, groupBy
  *
- * @author  <a href="mailto:jbraeuchi@hotmail.com">Jakob Braeuchi</a>
  * @version $Id$
  */
 public class FieldHelper implements Serializable
@@ -33,6 +32,11 @@
     {
         name = fieldName;
         isAscending = orderAscending;
+    }
+
+    public String toString()
+    {
+        return super.toString() + "(name=" + name + ", isAscending=" + isAscending +")";
     }
 }
 



---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org


Mime
View raw message