Class 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>
     
    • 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