org.seasar.doma.jdbc.entity
インタフェース PostUpdateContext


public interface PostUpdateContext

更新処理の後処理のコンテキストです。

導入されたバージョン:
1.11.0
作成者:
taedium

メソッドの概要
 EntityType<?> getEntityType()
          エンティティのメタタイプを返します。
 boolean isPropertyChanged(String propertyName)
          プロパティが変更されたかどうかを返します。
 

メソッドの詳細

isPropertyChanged

boolean isPropertyChanged(String propertyName)
プロパティが変更されたかどうかを返します。

Update.sqlFile()false が指定されたDaoメソッドによる実行でない場合、常に trueを返します。

パラメータ:
propertyName - プロパティ名
戻り値:
プロパティが変更されているかどうか
例外:
EntityPropertyNotDefinedException - プロパティがエンティティに定義されていない場合

getEntityType

EntityType<?> getEntityType()
エンティティのメタタイプを返します。

戻り値:
エンティティのメタタイプ


Copyright © 2009-2012 The Seasar Foundation. All Rights Reserved.