org.seasar.doma.jdbc.id
クラス IdGenerationConfig

java.lang.Object
  上位を拡張 org.seasar.doma.jdbc.id.IdGenerationConfig

public class IdGenerationConfig
extends Object

識別子の生成に関する設定です。

作成者:
taedium

フィールドの概要
protected  Config config
          JDBCの設定
protected  Entity<?> entity
          識別子が属するエンティティ
protected  String idColumnName
          識別子にマッピングされたカラムの名前
protected  String qualifiedTableName
          識別子が属するエンティティに対応するテーブルの完全修飾名
 
コンストラクタの概要
IdGenerationConfig(Config config, Entity<?> entity, String qualifiedTableName, String idColumnName)
          インスタンスを構築します。
 
メソッドの概要
 DataSource getDataSource()
           
 String getDataSourceName()
           
 Dialect getDialect()
           
 Entity<?> getEntity()
           
 int getFetchSize()
           
 String getIdColumnName()
           
 JdbcLogger getJdbcLogger()
           
 int getMaxRows()
           
 String getQualifiedTableName()
           
 int getQueryTimeout()
           
 RequiresNewController getRequiresNewController()
           
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

config

protected final Config config
JDBCの設定


entity

protected final Entity<?> entity
識別子が属するエンティティ


qualifiedTableName

protected final String qualifiedTableName
識別子が属するエンティティに対応するテーブルの完全修飾名


idColumnName

protected final String idColumnName
識別子にマッピングされたカラムの名前

コンストラクタの詳細

IdGenerationConfig

public IdGenerationConfig(Config config,
                          Entity<?> entity,
                          String qualifiedTableName,
                          String idColumnName)
インスタンスを構築します。

パラメータ:
config - JDBCの設定
entity - 識別子が属するエンティティ
qualifiedTableName - 識別子が属するエンティティに対応するテーブルの完全修飾名
idColumnName - 識別子にマッピングされたカラムの名前
メソッドの詳細

getDataSource

public DataSource getDataSource()

getDataSourceName

public String getDataSourceName()

getDialect

public Dialect getDialect()

getJdbcLogger

public JdbcLogger getJdbcLogger()

getRequiresNewController

public RequiresNewController getRequiresNewController()

getFetchSize

public int getFetchSize()

getMaxRows

public int getMaxRows()

getQueryTimeout

public int getQueryTimeout()

getEntity

public Entity<?> getEntity()

getQualifiedTableName

public String getQualifiedTableName()

getIdColumnName

public String getIdColumnName()


Copyright © 2009 The Seasar Foundation. All Rights Reserved.