org.seasar.doma.internal.apt
クラス DaoGenerator

java.lang.Object
  上位を拡張 org.seasar.doma.internal.apt.AbstractGenerator
      上位を拡張 org.seasar.doma.internal.apt.DaoGenerator
すべての実装されたインタフェース:
Closeable, Generator

public class DaoGenerator
extends AbstractGenerator

作成者:
taedium

入れ子のクラスの概要
protected  class DaoGenerator.AddCallableSqlParameterGenerator
           
protected  class DaoGenerator.MethodBodyGenerator
           
 
フィールドの概要
protected  DaoMeta daoMeta
           
protected  String entitySuffix
           
 
クラス org.seasar.doma.internal.apt.AbstractGenerator から継承されたフィールド
env, formatter, INDENT_SPACE, indentBuffer, packageName, qualifiedName, simpleName, typeElement
 
コンストラクタの概要
DaoGenerator(ProcessingEnvironment env, TypeElement daoElement, DaoMeta daoMeta)
           
 
メソッドの概要
 void generate()
           
protected  void printClass()
           
protected  void printConstructors()
           
protected  void printFields()
           
protected  void printMethod(DaoGenerator.MethodBodyGenerator generator, QueryMeta m)
           
protected  void printMethods()
           
protected  void printPackage()
           
 
クラス org.seasar.doma.internal.apt.AbstractGenerator から継承されたメソッド
close, formatStringArray, indent, iprint, print, printGenerated, throwExceptionIfNecessary, unindent
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

daoMeta

protected final DaoMeta daoMeta

entitySuffix

protected final String entitySuffix
コンストラクタの詳細

DaoGenerator

public DaoGenerator(ProcessingEnvironment env,
                    TypeElement daoElement,
                    DaoMeta daoMeta)
             throws IOException
例外:
IOException
メソッドの詳細

generate

public void generate()

printPackage

protected void printPackage()

printClass

protected void printClass()

printFields

protected void printFields()

printConstructors

protected void printConstructors()

printMethods

protected void printMethods()

printMethod

protected void printMethod(DaoGenerator.MethodBodyGenerator generator,
                           QueryMeta m)


Copyright © 2009 The Seasar Foundation. All Rights Reserved.