protected function getMetaModel($metaModelId)
    {
        if (null === $this->factory) {
            throw new \RuntimeException('No factory set.');
        }

        $metaModelName = $this->factory->translateIdToMetaModelName($metaModelId);
        $metaModel     = $this->factory->getMetaModel($metaModelName);

        return $metaModel;
    }