Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This method allows the converter implementor to specify a current entity instance from addEntity, on which setAttribute and setRelation should set attributes or relations. If addEntity returns false, the default import process will set the current instance. If addEntity decides that it will handle the conversion of an entity instance itself, it may use setCurrentInstance to allow the default conversion of attributes and relations to take places on this instance. See Use Case 4 in the code samples for an example of how this method may be used.