Back
Conversion for import and data model change (since 3.0.0)
The conversion definition are in a utf8 text file.
The conversion format is:
( "dmid" means "data model identifier" )
<conversion definition> : <conversion element> *
<conversion element> : <class name conversion element> | <field name conversion element>
<class name conversion element> :
<previous dmid> ';' <class name> ';'
<next dmid> ';' <class name> converter_opt
<converter_opt> : empty or <class name>
<field name conversion element> :
<previous dmid> ';' <field name> ';' <next dmid> ';' <field name>
A line feed can be added after the semicolumn.
<class name> is write using java class name syntax, example:
java.util.LinkedList
the class 'LinkedList' in 'java.util' package
<field name> is write using java class name syntax, example:
net.sf.joafip.store.service.objectfortest#val
the 'val' field of class 'net.sf.joafip.store.service.objectfortest'
The converter is not use by import process.
The field replacement are not managed by conversion on the fly.
The
converter is use for conversion on the flay and converter class
implements net.sf.joafip.store.service.conversion.IConverter interface.
© 2007-2009, joafip