Groovy annotations for ToString and EqualsAndHashCode

As I am a lazy programmer most of the time I dont implement toString and equals methods on my grails domain classes. I would like to say thanks to Groovy for helping me out and giving me a ready made recipe for this. Now I just need to annotate my class with ToString and EqualAndHashCode annotation it adds appropriate implementation of...

by Uday Pratap Singh
Tag: grails domain class template