question: public void addDocValidate ( String tableName , ModelValidator listener ) { if ( tableName == null || listener == null ) return ; String propertyName = m_globalValidators . contains ( listener ) ? tableName + "*" : tableName + listener . getAD_Client_ID ( ) ; ArrayList < ModelValidator > list = ( ArrayList < ModelValidator > ) m_docValidateListeners . get ( propertyName ) ; if ( list == null ) { list = new ArrayList < ModelValidator > ( ) ; list . add ( listener ) ; m_docValidateListeners . put ( propertyName , list ) ; } else if ( ! list . contains ( listener ) ) { list . add ( listener ) ; } }
target:  Add Document Validation Listener