public function getRepositoryEntities($repository)
    {
        if (!isset($this->_repository_entities[$repository])) {
            $this->_repository_entities[$repository] =
                $this->getService('anahita:domain.entityset', array('repository' => $this));
        }

        return $this->_repository_entities[$repository];
    }