org.apache.openejb.jee.was.v6.ecore
Class EModelElement

java.lang.Object
  extended by org.apache.openejb.jee.was.v6.ecore.EObject
      extended by org.apache.openejb.jee.was.v6.ecore.EModelElement
Direct Known Subclasses:
EAnnotation, EFactory, ENamedElement

public class EModelElement
extends EObject

Java class for EModelElement complex type.

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

 <complexType name="EModelElement">
   <complexContent>
     <extension base="{http://www.eclipse.org/emf/2002/Ecore}EObject">
       <choice maxOccurs="unbounded" minOccurs="0">
         <element name="eAnnotations" type="{http://www.eclipse.org/emf/2002/Ecore}EAnnotation"/>
       </choice>
     </extension>
   </complexContent>
 </complexType>
 


Field Summary
protected  List<EAnnotation> eAnnotations
           
 
Fields inherited from class org.apache.openejb.jee.was.v6.ecore.EObject
extensions, href, id, idref, label, type, uuid, version
 
Constructor Summary
EModelElement()
           
 
Method Summary
 List<EAnnotation> getEAnnotations()
          Gets the value of the eAnnotations property.
 
Methods inherited from class org.apache.openejb.jee.was.v6.ecore.EObject
getExtensions, getHref, getId, getIdref, getLabel, getType, getUuid, getVersion, setHref, setId, setIdref, setLabel, setType, setUuid, setVersion
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

eAnnotations

protected List<EAnnotation> eAnnotations
Constructor Detail

EModelElement

public EModelElement()
Method Detail

getEAnnotations

public List<EAnnotation> getEAnnotations()
Gets the value of the eAnnotations 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 eAnnotations property.

For example, to add a new item, do as follows:

 getEAnnotations().add(newItem);
 

Objects of the following type(s) are allowed in the list EAnnotation



Copyright © 1999-2013 The Apache OpenEJB development community. All Rights Reserved.