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 java.util.List<EObject> |
contents |
protected java.util.List<EStringToStringMapEntry> |
details |
protected java.util.List<EObject> |
eObjectReferences |
protected java.lang.String |
references |
protected java.lang.String |
source |
eAnnotations| Constructor and Description |
|---|
EAnnotation() |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<EObject> |
getContents()
Gets the value of the contents property.
|
java.util.List<EStringToStringMapEntry> |
getDetails()
Gets the value of the details property.
|
java.util.List<EObject> |
getEObjectReferences()
Gets the value of the eObjectReferences property.
|
java.lang.String |
getReferences()
Gets the value of the references property.
|
java.lang.String |
getSource()
Gets the value of the source property.
|
void |
setReferences(java.lang.String value)
Sets the value of the references property.
|
void |
setSource(java.lang.String value)
Sets the value of the source property.
|
getEAnnotationsprotected java.util.List<EStringToStringMapEntry> details
protected java.util.List<EObject> contents
protected java.util.List<EObject> eObjectReferences
protected java.lang.String references
protected java.lang.String source
public java.util.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 java.util.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 java.util.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 java.lang.String getReferences()
Stringpublic void setReferences(java.lang.String value)
value - allowed object is Stringpublic java.lang.String getSource()
Stringpublic void setSource(java.lang.String value)
value - allowed object is String