protected static class SqlFileUpdateQuery.SqlFilePreUpdateContext<E>
extends org.seasar.doma.internal.jdbc.entity.AbstractPreUpdateContext<E>
| Constructor and Description |
|---|
SqlFilePreUpdateContext(EntityType<E> entityType,
java.lang.reflect.Method method,
Config config) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isEntityChanged()
Whether the entity is changed.
|
boolean |
isPropertyChanged(java.lang.String propertyName)
Whether the entity property is changed.
|
validatePropertyDefinedgetConfig, getEntityType, getMethod, getNewEntity, isPropertyDefinedInternal, setNewEntityclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetConfig, getEntityType, getMethod, getNewEntity, setNewEntitypublic SqlFilePreUpdateContext(EntityType<E> entityType, java.lang.reflect.Method method, Config config)
public boolean isEntityChanged()
PreUpdateContextThis method always returns true, when Update.sqlFile() returns true.
true if the entity is changedpublic boolean isPropertyChanged(java.lang.String propertyName)
PreUpdateContextThis method always returns true, when Update.sqlFile() returns true.
propertyName - the name of propertytrue if the property is changedOriginalStates