public function set($repositoryPath, PathMapping $mapping)
    {
        $this->map->set($repositoryPath, $mapping->getContainingModule()->getName(), $mapping);
        $this->primaryKeysSorted = false;
    }