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>
| Modifier and Type | Field and Description |
|---|---|
protected List<EAnnotation> |
eAnnotations |
| Constructor and Description |
|---|
EModelElement() |
| Modifier and Type | Method and Description |
|---|---|
List<EAnnotation> |
getEAnnotations()
Gets the value of the eAnnotations property.
|
protected List<EAnnotation> eAnnotations
public List<EAnnotation> getEAnnotations()
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-2014 The Apache Software Foundation. All Rights Reserved.