question: @ Override public synchronized void connectionNotification ( String eventName , Object source ) { super . connectionNotification ( eventName , source ) ; if ( connectionAllowed ( eventName ) ) { if ( eventName . equals ( "dataSet" ) ) { m_dataProvider = true ; m_trainingProvider = false ; m_testProvider = false ; } else if ( eventName . equals ( "trainingSet" ) ) { m_dataProvider = false ; m_trainingProvider = true ; m_testProvider = false ; } else if ( eventName . equals ( "testSet" ) ) { m_dataProvider = false ; m_trainingProvider = false ; m_testProvider = true ; } } }
target:  Notify this object that it has been registered as a listener with a source with respect to the supplied event name