|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectorg.seasar.extension.jdbc.handler.AbstractBeanResultSetHandler
public abstract class AbstractBeanResultSetHandler
JavaBeans用の ResultSetHandler
の抽象クラスです。
フィールドの概要 | |
---|---|
protected Class<?> |
beanClass
Beanクラスです。 |
protected BeanDesc |
beanDesc
Bean記述です。 |
protected DbmsDialect |
dialect
データベースの方言です。 |
protected String |
sql
SQLです。 |
コンストラクタの概要 | |
---|---|
AbstractBeanResultSetHandler(Class<?> beanClass,
DbmsDialect dialect,
String sql)
AbstractBeanResultSetHandler を作成します。 |
メソッドの概要 | |
---|---|
protected CaseInsensitiveMap |
createPropertyDescMapWithColumn()
Column アノテーションのついた PropertyDesc の Map を作成します。 |
protected PropertyType[] |
createPropertyTypes(ResultSetMetaData rsmd)
プロパティの型の配列を作成します。 |
protected Object |
createRow(ResultSet rs,
PropertyType[] propertyTypes)
行を作成します。 |
protected ValueType |
getValueType(PropertyDesc propertyDesc)
値タイプを返します。 |
クラス java.lang.Object から継承されたメソッド |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
インタフェース org.seasar.extension.jdbc.ResultSetHandler から継承されたメソッド |
---|
handle |
フィールドの詳細 |
---|
protected Class<?> beanClass
protected BeanDesc beanDesc
protected DbmsDialect dialect
protected String sql
コンストラクタの詳細 |
---|
public AbstractBeanResultSetHandler(Class<?> beanClass, DbmsDialect dialect, String sql)
AbstractBeanResultSetHandler
を作成します。
beanClass
- Beanクラスdialect
- データベースの方言です。sql
- SQLメソッドの詳細 |
---|
protected PropertyType[] createPropertyTypes(ResultSetMetaData rsmd) throws SQLException
rsmd
- 結果セットメタデータ
SQLException
- SQL例外が発生した場合protected CaseInsensitiveMap createPropertyDescMapWithColumn()
Column
アノテーションのついた PropertyDesc
の Map
を作成します。
Column
アノテーションのついた PropertyDesc
の Map
protected Object createRow(ResultSet rs, PropertyType[] propertyTypes) throws SQLException
rs
- 結果セットpropertyTypes
- プロパティの型の配列
SQLException
- SQL例外が発生した場合protected ValueType getValueType(PropertyDesc propertyDesc)
propertyDesc
- プロパティ記述
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |