aspoev.manager.adapter
Class UpdateBackdateAdapter
java.lang.Object
aspoev.manager.adapter.InstanceAdapter
aspoev.manager.adapter.CompositeObjectAdapter
aspoev.manager.adapter.UpdateBackdateAdapter
- public class UpdateBackdateAdapter
- extends CompositeObjectAdapter
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UpdateBackdateAdapter
public UpdateBackdateAdapter()
addConversionFunction
public void addConversionFunction(MethodDeclarationElement function,
TypeReferenceElement from,
TypeReferenceElement to)
getConversionFunctionKey
public java.lang.String getConversionFunctionKey(TypeReferenceElement from,
TypeReferenceElement to)
invokeConversionFunction
public MetaObject invokeConversionFunction(MetaObject oldObject,
MetaObject newObject)
convert
public MetaObject convert(MetaObject object,
TypeReferenceElement type)
- Description copied from class:
InstanceAdapter
- Attempts to physically convert the objects by creating a new
Vejal object of the requested type and copying all matching
fields. Implementing strategies can convert the object however
they see fit.
- Overrides:
convert in class CompositeObjectAdapter