rubbish.db.ar
クラス ActiveRecord

java.lang.Object
  拡張rubbish.db.ar.ActiveRecord
すべての実装インタフェース:
java.io.Serializable

public abstract class ActiveRecord
extends java.lang.Object
implements java.io.Serializable

アクティブレコードのスケルトン

バージョン:
$Revision: 1.5 $
作成者:
$Author: storehouse $
関連項目:
直列化された形式

フィールドの概要
protected  boolean __attached__
           
protected  java.util.Map __initvals__
           
protected  java.util.Map __newvals__
           
 
コンストラクタの概要
ActiveRecord()
           
 
メソッドの概要
protected static Handler __attach__(java.lang.Class type, Handler handler)
           
protected static java.lang.Object __attach__(java.lang.Object row)
           
protected static java.lang.Object[] __attach__(java.lang.Object[] rows)
           
protected  void attach()
           
 boolean attach(Database dbh)
           
 boolean attached()
           
 int destroy(Database dbh)
           
protected  void detach()
           
protected static java.lang.reflect.Method getBeanHandlerMethod(Handler handler, java.lang.Class type)
           
protected static void invokeBeanHandlerMethod(java.lang.Object row, Handler handler, java.lang.reflect.Method handleMethod)
           
protected  void put(java.lang.String name, java.lang.Object value)
           
protected  void restoreProperty()
           
 int save(Database dbh)
           
protected  void storeProperty()
           
 boolean updated()
           
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

__attached__

protected boolean __attached__

__initvals__

protected java.util.Map __initvals__

__newvals__

protected java.util.Map __newvals__
コンストラクタの詳細

ActiveRecord

public ActiveRecord()
メソッドの詳細

attached

public boolean attached()

attach

public boolean attach(Database dbh)

attach

protected void attach()

detach

protected void detach()

updated

public boolean updated()

storeProperty

protected void storeProperty()

restoreProperty

protected void restoreProperty()

put

protected void put(java.lang.String name,
                   java.lang.Object value)

__attach__

protected static java.lang.Object __attach__(java.lang.Object row)

__attach__

protected static java.lang.Object[] __attach__(java.lang.Object[] rows)

__attach__

protected static Handler __attach__(java.lang.Class type,
                                    Handler handler)

getBeanHandlerMethod

protected static java.lang.reflect.Method getBeanHandlerMethod(Handler handler,
                                                               java.lang.Class type)

invokeBeanHandlerMethod

protected static void invokeBeanHandlerMethod(java.lang.Object row,
                                              Handler handler,
                                              java.lang.reflect.Method handleMethod)

save

public int save(Database dbh)
         throws SQLRuntimeException
例外:
SQLRuntimeException

destroy

public int destroy(Database dbh)
            throws SQLRuntimeException
例外:
SQLRuntimeException