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 $
- 関連項目:
- 直列化された形式
クラス 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