public class EAnnotation extends EModelElement
<complexType name="EAnnotation">
<complexContent>
<extension base="{http://www.eclipse.org/emf/2002/Ecore}EModelElement">
<choice>
<choice maxOccurs="unbounded" minOccurs="0">
<element name="details" type="{http://www.eclipse.org/emf/2002/Ecore}EStringToStringMapEntry"/>
</choice>
<choice maxOccurs="unbounded" minOccurs="0">
<element name="contents" type="{http://www.eclipse.org/emf/2002/Ecore}EObject"/>
</choice>
<choice maxOccurs="unbounded" minOccurs="0">
<element name="references" type="{http://www.eclipse.org/emf/2002/Ecore}EObject"/>
</choice>
</choice>
<attribute name="references" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="source" type="{http://www.w3.org/2001/XMLSchema}string" />
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<EObject> |
contents |
protected List<EStringToStringMapEntry> |
details |
protected List<EObject> |
eObjectReferences |
protected String |
references |
protected String |
source |
eAnnotations| Constructor and Description |
|---|
EAnnotation() |
| Modifier and Type | Method and Description |
|---|---|
List<EObject> |
getContents()
Gets the value of the contents property.
|
List<EStringToStringMapEntry> |
getDetails()
Gets the value of the details property.
|
List<EObject> |
getEObjectReferences()
Gets the value of the eObjectReferences property.
|
String |
getReferences()
Gets the value of the references property.
|
String |
getSource()
Gets the value of the source property.
|
void |
setReferences(String value)
Sets the value of the references property.
|
void |
setSource(String value)
Sets the value of the source property.
|
getEAnnotationsprotected List<EStringToStringMapEntry> details
protected String references
protected String source
public List<EStringToStringMapEntry> getDetails()
set method for the details property.
For example, to add a new item, do as follows:
getDetails().add(newItem);Objects of the following type(s) are allowed in the list
EStringToStringMapEntrypublic List<EObject> getContents()
set method for the contents property.
For example, to add a new item, do as follows:
getContents().add(newItem);Objects of the following type(s) are allowed in the list
EObjectpublic List<EObject> getEObjectReferences()
set method for the eObjectReferences property.
For example, to add a new item, do as follows:
getEObjectReferences().add(newItem);Objects of the following type(s) are allowed in the list
EObjectpublic String getReferences()
Stringpublic void setReferences(String value)
value - allowed object is Stringpublic String getSource()
StringCopyright © 1999–2016 The Apache Software Foundation. All rights reserved.