add toString()
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Thu, 12 Jun 2008 15:50:08 +0000 (17:50 +0200)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Thu, 12 Jun 2008 15:50:08 +0000 (17:50 +0200)
src/net/pterodactylus/jsite/core/Project.java

index d250af1..8bc45dd 100644 (file)
@@ -399,6 +399,14 @@ public class Project extends AbstractBean {
                fireIfPropertyChanged(PROPERTY_NODE, oldNode, node);
        }
 
+       /**
+        * @see java.lang.Object#toString()
+        */
+       @Override
+       public String toString() {
+               return getClass().getName() + "[id=" + id + ",name=" + name + ",description=" + description + ",publicKey=" + publicKey + ",privateKey=" + privateKey + ",basePath=" + basePath + ",defaultFile=" + defaultFile + ",node=" + node + "]";
+       }
+
        //
        // PRIVATE METHODS
        //