net.noco.dtogen.write
Class BeanPropertyWriter

java.lang.Object
  extended bynet.noco.dtogen.write.BeanPropertyWriter

public class BeanPropertyWriter
extends java.lang.Object

This utility class is responsible with the generation of a bean property.

Version:
$Revision: 1.27 $
Author:
the_mindstorm(at)evolva(dot)ro

Constructor Summary
BeanPropertyWriter()
           
 
Method Summary
 CodeJavaMethod writeBeanAccessor(com.thoughtworks.qdox.model.JavaClass clazz, BeanPropertySkel bp, com.thoughtworks.qdox.model.Type returnType)
           
 WritableJavaField writeBeanField(com.thoughtworks.qdox.model.JavaClass clazz, BeanPropertySkel bp, com.thoughtworks.qdox.model.Type fieldType)
           
 CodeJavaMethod writeBeanMutator(com.thoughtworks.qdox.model.JavaClass clazz, BeanPropertySkel bp, com.thoughtworks.qdox.model.Type paramType)
           
 com.thoughtworks.qdox.model.JavaClass writeBeanProperty(com.thoughtworks.qdox.model.JavaClass clazz, BeanPropertySkel bp)
          adds to the current JavaClass the necessary fields, methods for a Bean Property.
 CodeJavaMethod writeCollectionAddMutator(com.thoughtworks.qdox.model.JavaClass clazz, BeanPropertySkel bp)
           
 CodeJavaMethod writeCollectionRemoveMutator(com.thoughtworks.qdox.model.JavaClass clazz, BeanPropertySkel bp)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BeanPropertyWriter

public BeanPropertyWriter()
Method Detail

writeBeanProperty

public com.thoughtworks.qdox.model.JavaClass writeBeanProperty(com.thoughtworks.qdox.model.JavaClass clazz,
                                                               BeanPropertySkel bp)
adds to the current JavaClass the necessary fields, methods for a Bean Property.


writeCollectionAddMutator

public CodeJavaMethod writeCollectionAddMutator(com.thoughtworks.qdox.model.JavaClass clazz,
                                                BeanPropertySkel bp)

writeCollectionRemoveMutator

public CodeJavaMethod writeCollectionRemoveMutator(com.thoughtworks.qdox.model.JavaClass clazz,
                                                   BeanPropertySkel bp)

writeBeanField

public WritableJavaField writeBeanField(com.thoughtworks.qdox.model.JavaClass clazz,
                                        BeanPropertySkel bp,
                                        com.thoughtworks.qdox.model.Type fieldType)

writeBeanAccessor

public CodeJavaMethod writeBeanAccessor(com.thoughtworks.qdox.model.JavaClass clazz,
                                        BeanPropertySkel bp,
                                        com.thoughtworks.qdox.model.Type returnType)

writeBeanMutator

public CodeJavaMethod writeBeanMutator(com.thoughtworks.qdox.model.JavaClass clazz,
                                       BeanPropertySkel bp,
                                       com.thoughtworks.qdox.model.Type paramType)


Copyright © 2004 Alexandru Popescu (a.k.a. the_mindstorm). All Rights Reserved.