*/
public void setRawSettings( RawConversionSettings s ) {
log.debug( "entry: setRawSettings()" );
ODMGXAWrapper txw = new ODMGXAWrapper();
txw.lock( this, Transaction.WRITE );
RawConversionSettings settings = null;
if ( s != null ) {
if ( !s.equals( rawSettings ) ) {
invalidateThumbnail();
purgeInvalidInstances();
}
settings = s.clone();
Database db = ODMG.getODMGDatabase();
db.makePersistent( settings );
RawConversionSettings oldSettings = rawSettings;
txw.lock( settings, Transaction.WRITE );
if ( oldSettings != null ) {
txw.lock( oldSettings, Transaction.WRITE );
db.deletePersistent( oldSettings );
}