logger.debug("creating MetaModel using URL --> '" + metamodelUri + "'");
}
// Use the metamodelUri as the name for the repository extent.
// This ensures we can load mutiple metamodels without them colliding.
ModelPackage metaModelExtent = (ModelPackage)repository.getExtent(metamodelUri.toExternalForm());
if (metaModelExtent == null)
{
metaModelExtent = (ModelPackage)repository.createExtent(metamodelUri.toExternalForm());
}