code: public function getMetaModel()
      {
          if (null === $this->data) {
              throw new \RuntimeException(
                  'No input screen data available, did you forget to define the view combinations?'
              );
          }
  
          $factory   = $this->container->getFactory();
          $metaModel = $factory->getMetaModel($factory->translateIdToMetaModelName($this->data['pid']));
  
          if ($metaModel === null) {
              throw new \RuntimeException('Could not retrieve MetaModel with id ' . $this->data['pid']);
          }
  
          return $metaModel;
      }
docs: {@inheritDoc}
  
  @throws \RuntimeException When the instance could not be retrieved.