public abstract class FieldDataBinding extends java.lang.Object implements DataBinding
Modifier | Constructor and Description |
---|---|
protected |
FieldDataBinding(java.lang.String fieldName) |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
doLoadData(java.lang.Object from,
java.lang.reflect.Field field) |
protected abstract void |
doSaveData(java.lang.Object to,
java.lang.reflect.Field field) |
boolean |
isModified(java.lang.Object obj) |
protected abstract boolean |
isModified(java.lang.Object obj,
java.lang.reflect.Field field) |
void |
loadData(java.lang.Object from) |
void |
saveData(java.lang.Object to) |
public final void loadData(java.lang.Object from)
loadData
in interface DataBinding
public final void saveData(java.lang.Object to)
saveData
in interface DataBinding
public boolean isModified(java.lang.Object obj)
isModified
in interface DataBinding
protected abstract void doLoadData(java.lang.Object from, java.lang.reflect.Field field) throws java.lang.IllegalAccessException
java.lang.IllegalAccessException
protected abstract void doSaveData(java.lang.Object to, java.lang.reflect.Field field) throws java.lang.IllegalAccessException
java.lang.IllegalAccessException
protected abstract boolean isModified(java.lang.Object obj, java.lang.reflect.Field field) throws java.lang.IllegalAccessException
java.lang.IllegalAccessException