Package org.iplass.mtp.entity
Class UpdateCondition.UpdateValue
java.lang.Object
org.iplass.mtp.entity.UpdateCondition.UpdateValue
- Enclosing class:
UpdateCondition
一括更新時の更新項目を表すクラス。
-
Constructor Summary
ConstructorsConstructorDescriptionUpdateValue(String entityField, Object value) コンストラクタ。 指定のEntity属性を指定の値で更新するように指定。UpdateValue(String entityField, ValueExpression value) コンストラクタ。 指定のEntity属性を指定の値表現(ValueExpression)で更新するように指定。UpdateValue(EntityField propertyName, ValueExpression value) コンストラクタ。 指定のEntity属性を指定の値表現(ValueExpression)で更新するように指定。 -
Method Summary
Modifier and TypeMethodDescriptioncopy()更新対象のEntity属性名を取得。更新対象のEntity属性を表すEntityFieldを取得。getValue()voidsetEntityField(String entityField) 更新対象のEntity属性名をセット。voidsetPropertyName(EntityField propertyName) 更新対象のEntity属性を表すEntityFieldをセット。voidsetValue(ValueExpression value)
-
Constructor Details
-
UpdateValue
public UpdateValue() -
UpdateValue
コンストラクタ。 指定のEntity属性を指定の値で更新するように指定。- Parameters:
entityField- Entity属性名value- 更新値
-
UpdateValue
コンストラクタ。 指定のEntity属性を指定の値表現(ValueExpression)で更新するように指定。- Parameters:
entityField- Entity属性名value- 更新値を表すValueExpression
-
UpdateValue
コンストラクタ。 指定のEntity属性を指定の値表現(ValueExpression)で更新するように指定。- Parameters:
propertyName- 更新対象のEntity属性を表すEntityFieldvalue- 更新値を表すValueExpression
-
-
Method Details
-
getEntityField
更新対象のEntity属性名を取得。- Returns:
-
setEntityField
更新対象のEntity属性名をセット。- Parameters:
entityField-
-
getPropertyName
更新対象のEntity属性を表すEntityFieldを取得。- Returns:
-
setPropertyName
更新対象のEntity属性を表すEntityFieldをセット。- Parameters:
propertyName-
-
getValue
-
setValue
-
copy
-