|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.emf._2002.ecore.EModelElement
org.eclipse.emf._2002.ecore.EAnnotation
public class EAnnotation
Java class for EAnnotation complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="EAnnotation">
<complexContent>
<extension base="{http://www.eclipse.org/emf/2002/Ecore}EModelElement">
<sequence>
<element name="details" type="{http://www.eclipse.org/emf/2002/Ecore}EStringToStringMapEntry" maxOccurs="unbounded" minOccurs="0"/>
<element name="contents" type="{http://www.w3.org/2001/XMLSchema}anyType" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="source" type="{http://www.eclipse.org/emf/2002/Ecore}EString" />
<attribute name="references">
<simpleType>
<list itemType="{http://www.w3.org/2001/XMLSchema}anyURI" />
</simpleType>
</attribute>
</extension>
</complexContent>
</complexType>
| Field Summary | |
|---|---|
protected List<Object> |
contents
|
protected List<EStringToStringMapEntry> |
details
|
protected List<String> |
references
|
protected String |
source
|
| Fields inherited from class org.eclipse.emf._2002.ecore.EModelElement |
|---|
eAnnotations |
| Constructor Summary | |
|---|---|
EAnnotation()
|
|
| Method Summary | |
|---|---|
List<Object> |
getContents()
Gets the value of the contents property. |
List<EStringToStringMapEntry> |
getDetails()
Gets the value of the details property. |
List<String> |
getReferences()
Gets the value of the references property. |
String |
getSource()
Gets the value of the source property. |
void |
setSource(String value)
Sets the value of the source property. |
String |
toString()
|
void |
toString(org.apache.commons.lang.builder.ToStringBuilder toStringBuilder)
|
| Methods inherited from class org.eclipse.emf._2002.ecore.EModelElement |
|---|
getEAnnotations |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected List<EStringToStringMapEntry> details
protected List<Object> contents
protected String source
protected List<String> references
| Constructor Detail |
|---|
public EAnnotation()
| Method Detail |
|---|
public List<EStringToStringMapEntry> getDetails()
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 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 List<Object> getContents()
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 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
Object
public String getSource()
Stringpublic void setSource(String value)
value - allowed object is
Stringpublic List<String> getReferences()
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 references property.
For example, to add a new item, do as follows:
getReferences().add(newItem);
Objects of the following type(s) are allowed in the list
String
public void toString(org.apache.commons.lang.builder.ToStringBuilder toStringBuilder)
toString in interface org.jvnet.jaxb2_commons.lang.ToStringtoString in class EModelElementpublic String toString()
toString in class EModelElement
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||