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 List<EClassifier> |
eClassifiers |
protected List<EPackage> |
eSubpackages |
protected String |
nsPrefix |
protected String |
nsURI |
nameeAnnotations| Constructor and Description |
|---|
EPackage() |
| Modifier and Type | Method and Description |
|---|---|
List<EClassifier> |
getEClassifiers()
Gets the value of the eClassifiers property.
|
List<EPackage> |
getESubpackages()
Gets the value of the eSubpackages property.
|
String |
getNsPrefix()
Gets the value of the nsPrefix property.
|
String |
getNsURI()
Gets the value of the nsURI property.
|
void |
setNsPrefix(String value)
Sets the value of the nsPrefix property.
|
void |
setNsURI(String value)
Sets the value of the nsURI property.
|
getName, setNamegetEAnnotationsprotected List<EClassifier> eClassifiers
protected String nsPrefix
protected String nsURI
public 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 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 String getNsPrefix()
Stringpublic void setNsPrefix(String value)
value - allowed object is Stringpublic String getNsURI()
StringCopyright © 1999–2020 The Apache Software Foundation. All rights reserved.