{ // Create mof instance
metamodelContainer = (ModelPackage)getRep().createExtent( mmURI );
}
// Get the metamodel main entry package
MofPackage metamodel = getMetamodelMainPackage( metamodelContainer, metaModelMainExtentName );
if( metamodel == null )
{ // load the mm in the container
readNativeModel( mmFilename, metamodelContainer );
// Get the main entry
metamodel = getMetamodelMainPackage( metamodelContainer, metaModelMainExtentName );