public void addFactsValidate(String tableName,FactsValidator listener){
  if (tableName == null || listener == null)   return;
  String propertyName=m_globalValidators.contains(listener) ? tableName + "*" : tableName + listener.getAD_Client_ID();
  ArrayList<FactsValidator> list=(ArrayList<FactsValidator>)m_factsValidateListeners.get(propertyName);
  if (list == null) {
    list=new ArrayList<FactsValidator>();
    list.add(listener);
    m_factsValidateListeners.put(propertyName,list);
  }
 else   list.add(listener);
}

public void addFactsValidate ( String tableName , FactsValidator listener ) { if ( tableName == null || listener == null ) return ; String propertyName = m_globalValidators . contains ( listener ) ? tableName + "*" : tableName + listener . getAD_Client_ID ( ) ; ArrayList < FactsValidator > list = ( ArrayList < FactsValidator > ) m_factsValidateListeners . get ( propertyName ) ; if ( list == null ) { list = new ArrayList < FactsValidator > ( ) ; list . add ( listener ) ; m_factsValidateListeners . put ( propertyName , list ) ; } else list . add ( listener ) ; }
add accounting facts validation listener
