public void removeForeignKey(ForeignKey foreignKey){
  if (foreignKey != null) {
    foreignKeys.remove(foreignKey);
  }
}

public void removeForeignKey ( ForeignKey foreignKey ) { if ( foreignKey != null ) { foreignKeys . remove ( foreignKey ) ; } }
removes the given foreign key .
