aspoev.manager.adapter
Class UpdateBackdateAdapter

java.lang.Object
  extended byaspoev.manager.adapter.InstanceAdapter
      extended byaspoev.manager.adapter.CompositeObjectAdapter
          extended byaspoev.manager.adapter.UpdateBackdateAdapter

public class UpdateBackdateAdapter
extends CompositeObjectAdapter


Constructor Summary
UpdateBackdateAdapter()
           
 
Method Summary
 void addConversionFunction(MethodDeclarationElement function, TypeReferenceElement from, TypeReferenceElement to)
           
 MetaObject convert(MetaObject object, TypeReferenceElement type)
          Attempts to physically convert the objects by creating a new Vejal object of the requested type and copying all matching fields.
 java.lang.String getConversionFunctionKey(TypeReferenceElement from, TypeReferenceElement to)
           
 MetaObject invokeConversionFunction(MetaObject oldObject, MetaObject newObject)
           
 
Methods inherited from class aspoev.manager.adapter.CompositeObjectAdapter
getFieldMask, getObjectSlice, haveSharedProperties, retypeCompositeObject
 
Methods inherited from class aspoev.manager.adapter.InstanceAdapter
convertPrimitive, executeMethod, getCommonAncestor, getDefaultValue, getDerivationHistory, getVersionDerivationPath, retypeObject, testVersionDerivation, unknownField, unknownMethod
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UpdateBackdateAdapter

public UpdateBackdateAdapter()
Method Detail

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