question: private void synchronizeTables ( ) { resetDBObjects ( DBObject_Table . class ) ; s_logger . log ( Level . CONFIG , "" ) ; s_logger . log ( Level . CONFIG , "synchronizeTables" , new Object [ ] { m_objectTypes , m_direction } ) ; m_counterDrp = new Integer ( 0 ) ; m_counterAdd = new Integer ( 0 ) ; m_counterUpd = new Integer ( 0 ) ; m_totalDrp = new Integer ( 0 ) ; m_totalAdd = new Integer ( 0 ) ; m_totalUpd = new Integer ( 0 ) ; for ( Iterator < String > tableIterator = m_objectList . iterator ( ) ; tableIterator . hasNext ( ) ; ) { String key = tableIterator . next ( ) ; DBObject sourceObj = m_sourceMap . get ( key ) ; DBObject targetObj = m_targetMap . get ( key ) ; if ( targetObj != null && sourceObj == null ) { if ( targetObj . getCustomizationLevel ( ) == s_parameters . CUSTOMNONE ) { if ( targetObj . drop ( ) ) m_counterDrp = new Integer ( m_counterDrp . intValue ( ) + 1 ) ; m_totalDrp = new Integer ( m_totalDrp . intValue ( ) + 1 ) ; } else { s_logger . log ( Level . WARNING , "notDroppingCustomizedTable" , new Object [ ] { m_objectType , targetObj . getName ( ) } ) ; } } if ( targetObj != null && sourceObj != null ) { if ( targetObj . update ( sourceObj ) ) m_counterUpd = new Integer ( m_counterUpd . intValue ( ) + 1 ) ; m_totalUpd = new Integer ( m_totalUpd . intValue ( ) + 1 ) ; } if ( targetObj == null && sourceObj != null ) { if ( sourceObj . create ( m_target ) ) m_counterAdd = new Integer ( m_counterAdd . intValue ( ) + 1 ) ; m_totalAdd = new Integer ( m_totalAdd . intValue ( ) + 1 ) ; } } logResults ( ) ; }
target:  synchronize tables from source to target