org.sdmx.resources.sdmxml.schemas.v2_0.common
Class AnnotationsType

java.lang.Object
  extended by org.sdmx.resources.sdmxml.schemas.v2_0.common.AnnotationsType

public class AnnotationsType
extends Object

AnnotationsType provides for a list of annotations to be attached to data and structure messages.

Java class for AnnotationsType complex type.

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

 <complexType name="AnnotationsType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="Annotation" type="{http://www.SDMX.org/resources/SDMXML/schemas/v2_0/common}AnnotationType" maxOccurs="unbounded"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  List<AnnotationType> annotation
           
 
Constructor Summary
AnnotationsType()
           
 
Method Summary
 List<AnnotationType> getAnnotation()
          Gets the value of the annotation property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

annotation

protected List<AnnotationType> annotation
Constructor Detail

AnnotationsType

public AnnotationsType()
Method Detail

getAnnotation

public List<AnnotationType> getAnnotation()
Gets the value of the annotation 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 annotation property.

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

    getAnnotation().add(newItem);
 

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



Copyright © 2012. All Rights Reserved.