{
      MappingFactory theMappingFactory = (MappingFactory)EPackage.Registry.INSTANCE.getEFactory("http://www.eclipse.org/emf/2002/Mapping"); 
      if (theMappingFactory != null)
      {
        return theMappingFactory;
      }
    }