org.eclipse.emf._2002.ecore
Class EModelElement

java.lang.Object
  extended by org.eclipse.emf._2002.ecore.EModelElement
All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.ToString
Direct Known Subclasses:
EAnnotation, EFactory, ENamedElement

public abstract class EModelElement
extends Object
implements org.jvnet.jaxb2_commons.lang.ToString

Java class for EModelElement complex type.

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

 <complexType name="EModelElement">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="eAnnotations" type="{http://www.eclipse.org/emf/2002/Ecore}EAnnotation" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  List<EAnnotation> eAnnotations
           
 
Constructor Summary
EModelElement()
           
 
Method Summary
 List<EAnnotation> getEAnnotations()
          Gets the value of the eAnnotations property.
 String toString()
           
 void toString(org.apache.commons.lang.builder.ToStringBuilder toStringBuilder)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, 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


toString

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

toString

public String toString()
Overrides:
toString in class Object


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