comparison artifact-database/src/main/java/de/intevation/artifactdatabase/state/DefaultFacet.java @ 283:7c33cac15134

Added DefaultFacet.toString() method to help debugging. artifacts/trunk@2177 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Tue, 21 Jun 2011 15:18:38 +0000
parents 7fbe674d758a
children e5bc48dc3ec3
comparison
equal deleted inserted replaced
282:d15f09d5b89d 283:7c33cac15134
62 62
63 63
64 public Object getData(Artifact artifact, CallContext context) { 64 public Object getData(Artifact artifact, CallContext context) {
65 return null; 65 return null;
66 } 66 }
67
68 public String toString() {
69 return new StringBuilder("name = '")
70 .append(name).append("', index = ")
71 .append(index).append(", description = '")
72 .append(description).append("'")
73 .toString();
74 }
67 } 75 }
68 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf-8 : 76 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf-8 :

http://dive4elements.wald.intevation.org