public void addModelChange(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_modelChangeListeners.get(propertyName);
  if (list == null) {
    list=new ArrayList<ModelValidator>();
    list.add(listener);
    m_modelChangeListeners.put(propertyName,list);
  }
 else   list.add(listener);
}

public void addModelChange ( 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_modelChangeListeners . get ( propertyName ) ; if ( list == null ) { list = new ArrayList < ModelValidator > ( ) ; list . add ( listener ) ; m_modelChangeListeners . put ( propertyName , list ) ; } else list . add ( listener ) ; }
add model change listener
