changeset 3653:20d249e1589f

Added FastAnnotation.Annotation.toString() flys-backend/trunk@5182 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Thu, 09 Aug 2012 11:17:44 +0000
parents 22d608ef25dc
children 59ca5dab2782
files flys-backend/ChangeLog flys-backend/src/main/java/de/intevation/flys/model/FastAnnotations.java
diffstat 2 files changed, 13 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/flys-backend/ChangeLog	Fri Jul 27 06:34:22 2012 +0000
+++ b/flys-backend/ChangeLog	Thu Aug 09 11:17:44 2012 +0000
@@ -1,3 +1,8 @@
+2012-08-09	Sascha L. Teichmann	<sascha.teichmann@intevation.de>
+
+	* src/main/java/de/intevation/flys/model/FastAnnotations.java:
+	  Added toString() to Annotation.
+
 2012-07-27  Ingo Weinzierl <ingo@intevation.de>
 
 	Tagged module as '2.8.1'.
--- a/flys-backend/src/main/java/de/intevation/flys/model/FastAnnotations.java	Fri Jul 27 06:34:22 2012 +0000
+++ b/flys-backend/src/main/java/de/intevation/flys/model/FastAnnotations.java	Thu Aug 09 11:17:44 2012 +0000
@@ -134,6 +134,14 @@
         public double getBottom() {
             return bottom;
         }
+
+        @Override
+        public String toString() {
+            return "[a=" + a + ";b=" + b +
+                ";pos=" + position + ";attr=" + attribute +
+                ";name=" + name + ";top=" + top +
+                ";bot=" + bottom + "]";
+        }
     } // class Annotation
 
     public interface Filter {

http://dive4elements.wald.intevation.org