|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectorg.seasar.extension.jdbc.handler.AbstractBeanResultSetHandler
public abstract class AbstractBeanResultSetHandler
JavaBeans用の ResultSetHandlerの抽象クラスです。
| フィールドの概要 | |
|---|---|
protected java.lang.Class<?> |
beanClass
Beanクラスです。 |
protected BeanDesc |
beanDesc
Bean記述です。 |
protected DbmsDialect |
dialect
データベースの方言です。 |
protected PersistenceConvention |
persistenceConvention
永続化層の規約です。 |
protected java.lang.String |
sql
SQLです。 |
| コンストラクタの概要 | |
|---|---|
AbstractBeanResultSetHandler(java.lang.Class<?> beanClass,
DbmsDialect dialect,
PersistenceConvention persistenceConvention,
java.lang.String sql)
AbstractBeanResultSetHandlerを作成します。 |
|
| メソッドの概要 | |
|---|---|
protected CaseInsensitiveMap |
createPropertyDescMapWithColumn()
Columnアノテーションのname属性をもつ PropertyDescの Mapを作成します。 |
protected PropertyType[] |
createPropertyTypes(java.sql.ResultSetMetaData rsmd)
プロパティの型の配列を作成します。 |
protected java.lang.Object |
createRow(java.sql.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 java.lang.Class<?> beanClass
protected BeanDesc beanDesc
protected DbmsDialect dialect
protected PersistenceConvention persistenceConvention
protected java.lang.String sql
| コンストラクタの詳細 |
|---|
public AbstractBeanResultSetHandler(java.lang.Class<?> beanClass,
DbmsDialect dialect,
PersistenceConvention persistenceConvention,
java.lang.String sql)
AbstractBeanResultSetHandlerを作成します。
beanClass - Beanクラスdialect - データベースの方言です。persistenceConvention - 永続化層の規約sql - SQL| メソッドの詳細 |
|---|
protected PropertyType[] createPropertyTypes(java.sql.ResultSetMetaData rsmd)
throws java.sql.SQLException
rsmd - 結果セットメタデータ
java.sql.SQLException - SQL例外が発生した場合protected CaseInsensitiveMap createPropertyDescMapWithColumn()
Columnアノテーションのname属性をもつ PropertyDescの Mapを作成します。
Columnアノテーションのname属性をもつ PropertyDescの Map
protected java.lang.Object createRow(java.sql.ResultSet rs,
PropertyType[] propertyTypes)
throws java.sql.SQLException
rs - 結果セットpropertyTypes - プロパティの型の配列
java.sql.SQLException - SQL例外が発生した場合protected ValueType getValueType(PropertyDesc propertyDesc)
propertyDesc - プロパティ記述
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||