org.seasar.extension.jdbc.types
クラス UserDefineType

java.lang.Object
  拡張org.seasar.extension.jdbc.types.UserDefineType
すべての実装インタフェース:
ValueType

public class UserDefineType
extends Object
implements ValueType

ユーザ定義型用の ValueTypeです。

作成者:
higa

コンストラクタの概要
UserDefineType(ValueType baseValueType, Method valueOfMethod, Method valueMethod)
          UserDefineTypeを作成します。
 
メソッドの概要
 void bindValue(PreparedStatement ps, int index, Object value)
           
 Object getValue(ResultSet resultSet, int index)
           
 Object getValue(ResultSet resultSet, String columnName)
           
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

UserDefineType

public UserDefineType(ValueType baseValueType,
                      Method valueOfMethod,
                      Method valueMethod)
UserDefineTypeを作成します。

パラメータ:
baseValueType -
valueOfMethod -
valueMethod -
メソッドの詳細

getValue

public Object getValue(ResultSet resultSet,
                       int index)
                throws SQLException
定義:
インタフェース ValueType 内の getValue
例外:
SQLException

getValue

public Object getValue(ResultSet resultSet,
                       String columnName)
                throws SQLException
定義:
インタフェース ValueType 内の getValue
例外:
SQLException

bindValue

public void bindValue(PreparedStatement ps,
                      int index,
                      Object value)
               throws SQLException
定義:
インタフェース ValueType 内の bindValue
例外:
SQLException


Copyright © 2004-2007 The Seasar Foundation. All Rights Reserved.