org.eclipse.emf._2002.ecore
Class EAnnotation

java.lang.Object
  extended by org.eclipse.emf._2002.ecore.EModelElement
      extended by org.eclipse.emf._2002.ecore.EAnnotation
All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.ToString

public class EAnnotation
extends EModelElement
implements org.jvnet.jaxb2_commons.lang.ToString

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

details

protected List<EStringToStringMapEntry> details

contents

protected List<Object> contents

source

protected String source

references

protected List<String> references
Constructor Detail

EAnnotation

public EAnnotation()
Method Detail

getDetails

public List<EStringToStringMapEntry> getDetails()
Gets the value of the details property.

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


getContents

public List<Object> getContents()
Gets the value of the contents property.

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


getSource

public String getSource()
Gets the value of the source property.

Returns:
possible object is String

setSource

public void setSource(String value)
Sets the value of the source property.

Parameters:
value - allowed object is String

getReferences

public List<String> getReferences()
Gets the value of the references property.

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


toString

public void toString(org.apache.commons.lang.builder.ToStringBuilder toStringBuilder)
Specified by:
toString in interface org.jvnet.jaxb2_commons.lang.ToString
Overrides:
toString in class EModelElement

toString

public String toString()
Overrides:
toString in class EModelElement


Copyright © 2010-2011 OW2 Consortium. All Rights Reserved.