net.noco.dtogen.write
Class MethodWriter
java.lang.Object
net.noco.dtogen.write.MethodWriter
- public class MethodWriter
- extends java.lang.Object
This class is responsible with the generation of common methods of a DTO
(equals, hashCode, toString).
- Version:
- $Revision: 1.59 $
- Author:
- the_mindstorm(at)evolva(dot)ro
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MethodWriter
public MethodWriter()
writeEquals
public CodeJavaMethod[] writeEquals(com.thoughtworks.qdox.model.JavaClass clazz,
DTOClassSkel skel)
writeToString
public CodeJavaMethod writeToString(com.thoughtworks.qdox.model.JavaClass clazz,
DTOClassSkel skel)
equalsCode
public Code equalsCode(DTOClassSkel skel)
hashCodeCode
public Code hashCodeCode(DTOClassSkel skel)
toStringCode
public Code toStringCode(DTOClassSkel skel)
Copyright © 2004 Alexandru Popescu (a.k.a. the_mindstorm). All Rights Reserved.