protected static class AutoUpdateQuery.AutoPostUpdateContext<E>
extends org.seasar.doma.internal.jdbc.entity.AbstractPostUpdateContext<E>
| Modifier and Type | Field and Description |
|---|---|
protected java.util.Set<java.lang.String> |
changedPropertyNames |
| Constructor and Description |
|---|
AutoPostUpdateContext(EntityType<E> entityType,
java.lang.reflect.Method method,
Config config,
java.util.List<EntityPropertyType<E,?>> targetPropertyTypes) |
| Modifier and Type | Method and Description |
|---|---|
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, setNewEntityprotected final java.util.Set<java.lang.String> changedPropertyNames
public AutoPostUpdateContext(EntityType<E> entityType, java.lang.reflect.Method method, Config config, java.util.List<EntityPropertyType<E,?>> targetPropertyTypes)
public boolean isPropertyChanged(java.lang.String propertyName)
PostUpdateContextThis method always returns true, when Update.sqlFile() returns true.
propertyName - the name of propertytrue if it is changedOriginalStates