Class Annotation

All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.ToString2

public class Annotation extends BaseWithoutId implements org.jvnet.jaxb2_commons.lang.ToString2
A structured annotation containing metadata, specifically RDF or **property** elements

Java class for Annotation complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="Annotation">
   <complexContent>
     <extension base="{http://www.neuroml.org/schema/neuroml2}BaseWithoutId">
       <sequence>
         <any processContents='skip' maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 
  • Field Details

  • Constructor Details

    • Annotation

      public Annotation()
  • Method Details

    • getAny

      public List<Element> getAny()
      Gets the value of the any 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 any property.

      For example, to add a new item, do as follows:

          getAny().add(newItem);
       

      Objects of the following type(s) are allowed in the list Element

    • toString

      public String toString()
      Overrides:
      toString in class BaseWithoutId
    • append

      public StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
      Specified by:
      append in interface org.jvnet.jaxb2_commons.lang.ToString2
      Overrides:
      append in class BaseWithoutId
    • appendFields

      public StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
      Specified by:
      appendFields in interface org.jvnet.jaxb2_commons.lang.ToString2
      Overrides:
      appendFields in class BaseWithoutId