|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EPackage
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(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 |
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 |
---|
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.
|
Copyright 2001-2006 IBM Corporation and others. All Rights Reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |