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.
|
getEAnnotations
protected 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
EStringToStringMapEntry
public 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
EObject
public 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
EObject
public java.lang.String getReferences()
String
public void setReferences(java.lang.String value)
value
- allowed object is String
public java.lang.String getSource()
String
public void setSource(java.lang.String value)
value
- allowed object is String