1 17 package org.eclipse.emf.ecore; 18 19 20 import java.util.Map ; 21 22 import org.eclipse.emf.common.util.EList; 23 24 25 46 public interface EPackage extends ENamedElement 47 { 48 51 public interface Descriptor 52 { 53 57 EPackage getEPackage(); 58 } 59 60 63 public interface Registry extends Map 64 { 65 68 EPackage getEPackage(String nsURI); 69 70 Registry INSTANCE = org.eclipse.emf.ecore.impl.EPackageRegistryImpl.createGlobalRegistry(); 71 } 72 73 91 String getNsURI(); 92 93 101 void setNsURI(String value); 102 103 117 String getNsPrefix(); 118 119 127 void setNsPrefix(String value); 128 129 144 EFactory getEFactoryInstance(); 145 146 154 void setEFactoryInstance(EFactory value); 155 156 171 EList getEClassifiers(); 172 173 188 EList getESubpackages(); 189 190 204 EPackage getESuperPackage(); 205 206 215 EClassifier getEClassifier(String name); 216 217 } 218 | Popular Tags |