To create a MetaModel instance, create an instance of the factory. and call {@link \MetaModels\IFactory::getMetaModel()}. If you only have the id of a MetaModel, you can translate it to the MetaModel-name by invoking {@link \MetaModels\IFactory::translateIdToMetaModelName()} and then perform just as normal.
Inheritance: extends metamodels\IServiceContainerAware
 /**
  * Set the factory to use.
  *
  * @param IFactory $factory The factory in use.
  *
  * @return MetaModelsServiceContainer
  */
 public function setFactory(IFactory $factory)
 {
     $this->factory = $factory;
     $factory->setServiceContainer($this);
     return $this;
 }