public interface DiffPropertiesFinder<T>
| Modifier and Type | Method and Description |
|---|---|
default Map<String,Object> |
findDiffProperties(Class<T> clazz,
T newOne)
find data different properties
|
default void |
findObjDiffProperties(Class<?> objClass,
String objPropertyName,
Object newValue,
Object oldValue)
find data obj's different properties
|
default void |
putDiffProperty(String propertyName,
Object newValue,
Object oldValue)
put the different property
|
default void findObjDiffProperties(Class<?> objClass, String objPropertyName, Object newValue, Object oldValue)
objClass - the obj classobjPropertyName - the obj namenewValue - current new valueoldValue - old valuedefault Map<String,Object> findDiffProperties(Class<T> clazz, T newOne)
clazz - data classnewOne - obj new one instanceCopyright © 2021. All rights reserved.