/** * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends. * * <p>This method is used to initialize {@link Csw20Package#eINSTANCE} when that field is accessed. * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see #eNS_URI * @see #createPackageContents() * @see #initializePackageContents() * @generated */ public static Csw20Package init() { if (isInited) return (Csw20Package)EPackage.Registry.INSTANCE.getEPackage(Csw20Package.eNS_URI); // Obtain or create and register package Csw20PackageImpl theCsw20Package = (Csw20PackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof Csw20PackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new Csw20PackageImpl()); isInited = true; // Initialize simple dependencies Ows10Package.eINSTANCE.eClass(); // Create package meta-data objects theCsw20Package.createPackageContents(); // Initialize created meta-data theCsw20Package.initializePackageContents(); // Mark meta-data to indicate it can't be changed theCsw20Package.freeze(); // Update the registry and return the package EPackage.Registry.INSTANCE.put(Csw20Package.eNS_URI, theCsw20Package); return theCsw20Package; }
Ows10Package.eINSTANCE.eClass();
Ows10Package.eINSTANCE.eClass(); XMLNamespacePackage.eINSTANCE.eClass(); Ows11Package.eINSTANCE.eClass();
/** * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends. * * <p>This method is used to initialize {@link Csw20Package#eINSTANCE} when that field is accessed. * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see #eNS_URI * @see #createPackageContents() * @see #initializePackageContents() * @generated */ public static Csw20Package init() { if (isInited) return (Csw20Package)EPackage.Registry.INSTANCE.getEPackage(Csw20Package.eNS_URI); // Obtain or create and register package Csw20PackageImpl theCsw20Package = (Csw20PackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof Csw20PackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new Csw20PackageImpl()); isInited = true; // Initialize simple dependencies Ows10Package.eINSTANCE.eClass(); // Create package meta-data objects theCsw20Package.createPackageContents(); // Initialize created meta-data theCsw20Package.initializePackageContents(); // Mark meta-data to indicate it can't be changed theCsw20Package.freeze(); // Update the registry and return the package EPackage.Registry.INSTANCE.put(Csw20Package.eNS_URI, theCsw20Package); return theCsw20Package; }