/** This method is called prior to storing a MappingClassElement in a * .mapping file. This method provides a hook to do any conversion * before archiving. * Note, the signature of preArchive in the interface MappingClassElement * includes a throws clause (ModelException), but the actual implementation * does not throw an exception. */ public void preArchive () { // update version number setVersionNumber(CURRENT_VERSION_NO); }
/** This method is called prior to storing a MappingClassElement in a * .mapping file. This method provides a hook to do any conversion * before archiving. * Note, the signature of preArchive in the interface MappingClassElement * includes a throws clause (ModelException), but the actual implementation * does not throw an exception. */ public void preArchive () { // update version number setVersionNumber(CURRENT_VERSION_NO); }