public function setForeignKeys(array $foreignKeys)
    {
        $this->foreignKeys = array();

        foreach ($foreignKeys as $foreignKey) {
            $this->addForeignKey($foreignKey);
        }
    }