public interface EPackage extends ENamedElement
The following features are supported:
EcorePackage.getEPackage()
Modifier and Type | Interface and Description |
---|---|
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 . |
Modifier and Type | Method and Description |
---|---|
EClassifier |
getEClassifier(java.lang.String name)
Returns the classifier with the given name.
|
EList<EClassifier> |
getEClassifiers()
Returns the value of the 'EClassifiers' containment reference list.
|
EFactory |
getEFactoryInstance()
Returns the value of the 'EFactory Instance' reference.
|
EList<EPackage> |
getESubpackages()
Returns the value of the 'ESubpackages' containment reference list.
|
EPackage |
getESuperPackage()
Returns the value of the 'ESuper Package' container reference.
|
java.lang.String |
getNsPrefix()
Returns the value of the 'Ns Prefix' attribute
|
java.lang.String |
getNsURI()
Returns the value of the 'Ns URI' attribute
|
void |
setEFactoryInstance(EFactory value)
Sets the value of the '
EFactory Instance ' reference |
void |
setNsPrefix(java.lang.String value)
Sets the value of the '
Ns Prefix ' attribute |
void |
setNsURI(java.lang.String value)
Sets the value of the '
Ns URI ' attribute |
getName, setName
getEAnnotation, getEAnnotations
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
eAdapters, eDeliver, eNotify, eSetDeliver
java.lang.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()
void setNsURI(java.lang.String value)
Ns URI
' attribute.
value
- the new value of the 'Ns URI' attribute.getNsURI()
java.lang.String getNsPrefix()
It represents the preferred 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()
void setNsPrefix(java.lang.String value)
Ns Prefix
' attribute.
value
- the new value of the 'Ns Prefix' attribute.getNsPrefix()
EFactory getEFactoryInstance()
EPackage
'.
It this package's factory for creating modeled object instances.
setEFactoryInstance(EFactory)
,
EcorePackage.getEPackage_EFactoryInstance()
,
EFactory.getEPackage()
void setEFactoryInstance(EFactory value)
EFactory Instance
' reference.
value
- the new value of the 'EFactory Instance' reference.getEFactoryInstance()
EList<EClassifier> getEClassifiers()
EClassifier
.
It is bidirectional and its opposite is 'EPackage
'.
It represents the meta objects, i.e., classes and data types, defined in this package.
EcorePackage.getEPackage_EClassifiers()
,
EClassifier.getEPackage()
EList<EPackage> getESubpackages()
EPackage
.
It is bidirectional and its opposite is 'ESuper Package
'.
It represents the nested packages contained by this package.
EcorePackage.getEPackage_ESubpackages()
,
getESuperPackage()
EPackage getESuperPackage()
ESubpackages
'.
It represents the containing package of this package.
EcorePackage.getEPackage_ESuperPackage()
,
getESubpackages()
EClassifier getEClassifier(java.lang.String name)
name
- the name in question.