public void addForeignKeys(Collection<ForeignKey> foreignKeys){
  for (Iterator<ForeignKey> it=foreignKeys.iterator(); it.hasNext(); ) {
    addForeignKey((ForeignKey)it.next());
  }
}

public void addForeignKeys ( Collection < ForeignKey > foreignKeys ) { for ( Iterator < ForeignKey > it = foreignKeys . iterator ( ) ; it . hasNext ( ) ; ) { addForeignKey ( ( ForeignKey ) it . next ( ) ) ; } }
adds the given foreign keys .
