db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From arm...@apache.org
Subject svn commit: r524873 - /db/ojb/trunk/src/java/org/apache/ojb/broker/metadata/FieldHelper.java
Date Mon, 02 Apr 2007 18:18:48 GMT
Author: arminw
Date: Mon Apr  2 11:18:47 2007
New Revision: 524873

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

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

Modified: db/ojb/trunk/src/java/org/apache/ojb/broker/metadata/FieldHelper.java
URL: http://svn.apache.org/viewvc/db/ojb/trunk/src/java/org/apache/ojb/broker/metadata/FieldHelper.java?view=diff&rev=524873&r1=524872&r2=524873
==============================================================================
--- db/ojb/trunk/src/java/org/apache/ojb/broker/metadata/FieldHelper.java (original)
+++ db/ojb/trunk/src/java/org/apache/ojb/broker/metadata/FieldHelper.java Mon Apr  2 11:18:47
2007
@@ -1,8 +1,6 @@
 package org.apache.ojb.broker.metadata;
 
-import java.io.Serializable;
-
-/* Copyright 2002-2004 The Apache Software Foundation
+/* Copyright 2002-2005 The Apache Software Foundation
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -17,10 +15,11 @@
  * limitations under the License.
  */
 
+import java.io.Serializable;
+
 /**
  * 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