public class EPackage extends ENamedElement
<complexType name="EPackage">
<complexContent>
<extension base="{http://www.eclipse.org/emf/2002/Ecore}ENamedElement">
<choice>
<choice maxOccurs="unbounded" minOccurs="0">
<element name="eClassifiers" type="{http://www.eclipse.org/emf/2002/Ecore}EClassifier"/>
</choice>
<choice maxOccurs="unbounded" minOccurs="0">
<element name="eSubpackages" type="{http://www.eclipse.org/emf/2002/Ecore}EPackage"/>
</choice>
</choice>
<attribute name="nsPrefix" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="nsURI" type="{http://www.w3.org/2001/XMLSchema}string" />
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected java.util.List<EClassifier> |
eClassifiers |
protected java.util.List<EPackage> |
eSubpackages |
protected java.lang.String |
nsPrefix |
protected java.lang.String |
nsURI |
nameeAnnotations| Constructor and Description |
|---|
EPackage() |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<EClassifier> |
getEClassifiers()
Gets the value of the eClassifiers property.
|
java.util.List<EPackage> |
getESubpackages()
Gets the value of the eSubpackages property.
|
java.lang.String |
getNsPrefix()
Gets the value of the nsPrefix property.
|
java.lang.String |
getNsURI()
Gets the value of the nsURI property.
|
void |
setNsPrefix(java.lang.String value)
Sets the value of the nsPrefix property.
|
void |
setNsURI(java.lang.String value)
Sets the value of the nsURI property.
|
getName, setNamegetEAnnotationsprotected java.util.List<EClassifier> eClassifiers
protected java.util.List<EPackage> eSubpackages
protected java.lang.String nsPrefix
protected java.lang.String nsURI
public java.util.List<EClassifier> getEClassifiers()
set method for the eClassifiers property.
For example, to add a new item, do as follows:
getEClassifiers().add(newItem);Objects of the following type(s) are allowed in the list
EClassifierpublic java.util.List<EPackage> getESubpackages()
set method for the eSubpackages property.
For example, to add a new item, do as follows:
getESubpackages().add(newItem);Objects of the following type(s) are allowed in the list
EPackagepublic java.lang.String getNsPrefix()
Stringpublic void setNsPrefix(java.lang.String value)
value - allowed object is Stringpublic java.lang.String getNsURI()
Stringpublic void setNsURI(java.lang.String value)
value - allowed object is String