OntoUMLPackageImpl theOntoUMLPackage = (OntoUMLPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(eNS_URI) instanceof OntoUMLPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(eNS_URI) : new OntoUMLPackageImpl());
isInited = true;
// Obtain or create and register interdependencies
URMLPackageImpl theURMLPackage = (URMLPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(URMLPackage.eNS_URI) instanceof URMLPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(URMLPackage.eNS_URI) : URMLPackage.eINSTANCE);
// Create package meta-data objects
theOntoUMLPackage.createPackageContents();
theURMLPackage.createPackageContents();
// Initialize created meta-data
theOntoUMLPackage.initializePackageContents();
theURMLPackage.initializePackageContents();
// Mark meta-data to indicate it can't be changed
theOntoUMLPackage.freeze();
return theOntoUMLPackage;