private function writeXmlFiles()
    {
        foreach ($this->entityDefinitions as $key => $definition) {
            $definition->writeXml($this->dataDirectory . "/entities/{$definition->name}.xml");
        }
    }