Class EAnnotation


  • public class EAnnotation
    extends EModelElement
    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">
           <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>
     
    • 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<EObject> 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 EObject
      • getEObjectReferences

        public List<EObject> getEObjectReferences()
        Gets the value of the eObjectReferences 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 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
      • getReferences

        public String getReferences()
        Gets the value of the references property.
        Returns:
        possible object is String
      • setReferences

        public void setReferences​(String value)
        Sets the value of the references property.
        Parameters:
        value - allowed object is String
      • 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