org.eclipse.emf._2002.ecore
Class EPackage

java.lang.Object
  extended by org.eclipse.emf._2002.ecore.EModelElement
      extended by org.eclipse.emf._2002.ecore.ENamedElement
          extended by org.eclipse.emf._2002.ecore.EPackage
All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.ToString

public class EPackage
extends ENamedElement
implements org.jvnet.jaxb2_commons.lang.ToString

Java class for EPackage complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="EPackage">
   <complexContent>
     <extension base="{http://www.eclipse.org/emf/2002/Ecore}ENamedElement">
       <sequence>
         <element name="eClassifiers" type="{http://www.eclipse.org/emf/2002/Ecore}EClassifier" maxOccurs="unbounded" minOccurs="0"/>
         <element name="eSubpackages" type="{http://www.eclipse.org/emf/2002/Ecore}EPackage" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="nsURI" type="{http://www.eclipse.org/emf/2002/Ecore}EString" />
       <attribute name="nsPrefix" type="{http://www.eclipse.org/emf/2002/Ecore}EString" />
       <attribute name="eFactoryInstance" type="{http://www.w3.org/2001/XMLSchema}IDREF" />
     </extension>
   </complexContent>
 </complexType>
 


Field Summary
protected  List<EClassifier> eClassifiers
           
protected  Object eFactoryInstance
           
protected  List<EPackage> eSubpackages
           
protected  String nsPrefix
           
protected  String nsURI
           
 
Fields inherited from class org.eclipse.emf._2002.ecore.ENamedElement
name
 
Fields inherited from class org.eclipse.emf._2002.ecore.EModelElement
eAnnotations
 
Constructor Summary
EPackage()
           
 
Method Summary
 List<EClassifier> getEClassifiers()
          Gets the value of the eClassifiers property.
 Object getEFactoryInstance()
          Gets the value of the eFactoryInstance 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 setEFactoryInstance(Object value)
          Sets the value of the eFactoryInstance property.
 void setNsPrefix(String value)
          Sets the value of the nsPrefix property.
 void setNsURI(String value)
          Sets the value of the nsURI property.
 String toString()
           
 void toString(org.apache.commons.lang.builder.ToStringBuilder toStringBuilder)
           
 
Methods inherited from class org.eclipse.emf._2002.ecore.ENamedElement
getName, setName
 
Methods inherited from class org.eclipse.emf._2002.ecore.EModelElement
getEAnnotations
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

eClassifiers

protected List<EClassifier> eClassifiers

eSubpackages

protected List<EPackage> eSubpackages

nsURI

protected String nsURI

nsPrefix

protected String nsPrefix

eFactoryInstance

protected Object eFactoryInstance
Constructor Detail

EPackage

public EPackage()
Method Detail

getEClassifiers

public List<EClassifier> getEClassifiers()
Gets the value of the eClassifiers property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a 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 EClassifier


getESubpackages

public List<EPackage> getESubpackages()
Gets the value of the eSubpackages property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a 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 EPackage


getNsURI

public String getNsURI()
Gets the value of the nsURI property.

Returns:
possible object is String

setNsURI

public void setNsURI(String value)
Sets the value of the nsURI property.

Parameters:
value - allowed object is String

getNsPrefix

public String getNsPrefix()
Gets the value of the nsPrefix property.

Returns:
possible object is String

setNsPrefix

public void setNsPrefix(String value)
Sets the value of the nsPrefix property.

Parameters:
value - allowed object is String

getEFactoryInstance

public Object getEFactoryInstance()
Gets the value of the eFactoryInstance property.

Returns:
possible object is Object

setEFactoryInstance

public void setEFactoryInstance(Object value)
Sets the value of the eFactoryInstance property.

Parameters:
value - allowed object is Object

toString

public void toString(org.apache.commons.lang.builder.ToStringBuilder toStringBuilder)
Specified by:
toString in interface org.jvnet.jaxb2_commons.lang.ToString
Overrides:
toString in class ENamedElement

toString

public String toString()
Overrides:
toString in class ENamedElement


Copyright © 2010-2011 OW2 Consortium. All Rights Reserved.