|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectorg.seasar.doma.jdbc.type.AbstractJdbcType<E>
org.seasar.doma.jdbc.type.EnumType<E>
E - Enum の型public class EnumType<E extends Enum<E>>
| フィールドの概要 | |
|---|---|
protected Class<E> |
enumClass
Enum のクラス |
| クラス org.seasar.doma.jdbc.type.AbstractJdbcType から継承されたフィールド |
|---|
type |
| コンストラクタの概要 | |
|---|---|
EnumType(Class<E> enumClass)
インスタンスを構築します。 |
|
| メソッドの概要 | |
|---|---|
protected String |
doConvertToLogFormat(E value)
サブクラスで値をログ用フォーマットの文字列に変換します。 |
protected E |
doGetValue(CallableStatement callableStatement,
int index)
サブクラスで CallableStatement から値を取得します。 |
protected E |
doGetValue(ResultSet resultSet,
int index)
サブクラスで ResultSet から値を取得します。 |
protected void |
doSetValue(PreparedStatement preparedStatement,
int index,
E value)
サブクラスで PreparedStatement に値を設定します。 |
| クラス org.seasar.doma.jdbc.type.AbstractJdbcType から継承されたメソッド |
|---|
convertToLogFormat, getValue, getValue, registerOutParameter, setValue |
| クラス java.lang.Object から継承されたメソッド |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| フィールドの詳細 |
|---|
protected final Class<E extends Enum<E>> enumClass
Enum のクラス
| コンストラクタの詳細 |
|---|
public EnumType(Class<E> enumClass)
enumClass - Enum のクラス
DomaNullPointerException - Enum のクラスが null の場合| メソッドの詳細 |
|---|
protected E doGetValue(ResultSet resultSet,
int index)
throws SQLException
AbstractJdbcType の記述:ResultSet から値を取得します。
AbstractJdbcType<E extends Enum<E>> 内の doGetValueresultSet - 結果セットindex - インデックス
SQLException - SQL例外が発生した場合
protected void doSetValue(PreparedStatement preparedStatement,
int index,
E value)
throws SQLException
AbstractJdbcType の記述:PreparedStatement に値を設定します。
AbstractJdbcType<E extends Enum<E>> 内の doSetValuepreparedStatement - 準備された文index - インデックスvalue - 値
SQLException - SQL例外が発生した場合
protected E doGetValue(CallableStatement callableStatement,
int index)
throws SQLException
AbstractJdbcType の記述:CallableStatement から値を取得します。
AbstractJdbcType<E extends Enum<E>> 内の doGetValuecallableStatement - ストアドファンクションまたはプロシージャーを実行可能な文index - インデックス
SQLException - SQL例外が発生した場合protected String doConvertToLogFormat(E value)
AbstractJdbcType の記述:
AbstractJdbcType<E extends Enum<E>> 内の doConvertToLogFormatvalue - 値
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||