|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
A representation of the model object 'EPackage'.
The following features are supported:
EcorePackage.getEPackage()| Nested Class Summary | |
static interface |
EPackage.Descriptor
An EPackage wrapper that is used by the EPackage.Registry. |
static interface |
EPackage.Registry
A map from namespace URI to EPackage. |
| Method Summary | |
EClassifier |
getEClassifier(String name)
Returns the classifier with the given name. |
EList |
getEClassifiers()
Returns the value of the 'EClassifiers' containment reference list. |
EFactory |
getEFactoryInstance()
Returns the value of the 'EFactory Instance' reference. |
EList |
getESubpackages()
Returns the value of the 'ESubpackages' containment reference list. |
EPackage |
getESuperPackage()
Returns the value of the 'ESuper Package' container reference. |
String |
getNsPrefix()
Returns the value of the 'Ns Prefix' attribute |
String |
getNsURI()
Returns the value of the 'Ns URI' attribute |
void |
setEFactoryInstance(EFactory value)
Sets the value of the ' EFactory Instance' reference |
void |
setNsPrefix(String value)
Sets the value of the ' Ns Prefix' attribute |
void |
setNsURI(String value)
Sets the value of the ' Ns URI' attribute |
| Methods inherited from interface org.eclipse.emf.ecore.ENamedElement |
getName, setName |
| Methods inherited from interface org.eclipse.emf.ecore.EModelElement |
getEAnnotation, getEAnnotations |
| Methods inherited from interface org.eclipse.emf.ecore.EObject |
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset |
| Methods inherited from interface org.eclipse.emf.common.notify.Notifier |
eAdapters, eDeliver, eNotify, eSetDeliver |
| Method Detail |
public String getNsURI()
It represents the namespace URI, i.e., a universally unique identification of a particular package,
much like an XML Schema target namespace.
It will be used in an XMI serialization.
It is typically registered with the global package registry.
EPackage.Registry.INSTANCE,
setNsURI(String),
EcorePackage.getEPackage_NsURI()public void setNsURI(String value)
Ns URI' attribute.
value - the new value of the 'Ns URI' attribute.getNsURI()public String getNsPrefix()
It represents the prefered XMLNS prefix to be used for this package's the namespace URI.
It will be used in an XMI serialization.
setNsPrefix(String),
EcorePackage.getEPackage_NsPrefix()public void setNsPrefix(String value)
Ns Prefix' attribute.
value - the new value of the 'Ns Prefix' attribute.getNsPrefix()public EFactory getEFactoryInstance()
EPackage'.
It this package's factory for creating modeled object instances.
setEFactoryInstance(EFactory),
EcorePackage.getEPackage_EFactoryInstance(),
EFactory.getEPackage()public void setEFactoryInstance(EFactory value)
EFactory Instance' reference.
value - the new value of the 'EFactory Instance' reference.getEFactoryInstance()public EList getEClassifiers()
EClassifier.
It is bidirectional and its opposite is 'EPackage'.
It represents the meta objects, i.e., classes and datatypes, defined in this package.
EcorePackage.getEPackage_EClassifiers(),
EClassifier.getEPackage()public EList getESubpackages()
EPackage.
It is bidirectional and its opposite is 'ESuper Package'.
It represents the nested packages contained by this package.
EcorePackage.getEPackage_ESubpackages(),
getESuperPackage()public EPackage getESuperPackage()
ESubpackages'.
It represents the containing package of this package.
EcorePackage.getEPackage_ESuperPackage(),
getESubpackages()public EClassifier getEClassifier(String name)
name - the name in question.
|
Copyright 2001-2004 IBM Corporation and others. All Rights Reserved. |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||