org.sdmx.resources.sdmxml.schemas.v2_1.common
Class AnnotationType

java.lang.Object
  extended by org.sdmx.resources.sdmxml.schemas.v2_1.common.AnnotationType

public class AnnotationType
extends Object

AnnotationType provides for non-documentation notes and annotations to be embedded in data and structure messages. It provides optional fields for providing a title, a type description, a URI, and the text of the annotation.

Java class for AnnotationType complex type.

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

 <complexType name="AnnotationType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="AnnotationTitle" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="AnnotationType" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="AnnotationURL" type="{http://www.w3.org/2001/XMLSchema}anyURI" minOccurs="0"/>
         <element name="AnnotationText" type="{http://www.sdmx.org/resources/sdmxml/schemas/v2_1/common}TextType" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  List<TextType> annotationText
           
protected  String annotationTitle
           
protected  String annotationType
           
protected  String annotationURL
           
protected  String id
           
 
Constructor Summary
AnnotationType()
           
 
Method Summary
 List<TextType> getAnnotationText()
          Gets the value of the annotationText property.
 String getAnnotationTitle()
          Gets the value of the annotationTitle property.
 String getAnnotationType()
          Gets the value of the annotationType property.
 String getAnnotationURL()
          Gets the value of the annotationURL property.
 String getId()
          Gets the value of the id property.
 void setAnnotationTitle(String value)
          Sets the value of the annotationTitle property.
 void setAnnotationType(String value)
          Sets the value of the annotationType property.
 void setAnnotationURL(String value)
          Sets the value of the annotationURL property.
 void setId(String value)
          Sets the value of the id property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

annotationTitle

protected String annotationTitle

annotationType

protected String annotationType

annotationURL

protected String annotationURL

annotationText

protected List<TextType> annotationText

id

protected String id
Constructor Detail

AnnotationType

public AnnotationType()
Method Detail

getAnnotationTitle

public String getAnnotationTitle()
Gets the value of the annotationTitle property.

Returns:
possible object is String

setAnnotationTitle

public void setAnnotationTitle(String value)
Sets the value of the annotationTitle property.

Parameters:
value - allowed object is String

getAnnotationType

public String getAnnotationType()
Gets the value of the annotationType property.

Returns:
possible object is String

setAnnotationType

public void setAnnotationType(String value)
Sets the value of the annotationType property.

Parameters:
value - allowed object is String

getAnnotationURL

public String getAnnotationURL()
Gets the value of the annotationURL property.

Returns:
possible object is String

setAnnotationURL

public void setAnnotationURL(String value)
Sets the value of the annotationURL property.

Parameters:
value - allowed object is String

getAnnotationText

public List<TextType> getAnnotationText()
Gets the value of the annotationText 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 annotationText property.

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

    getAnnotationText().add(newItem);
 

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


getId

public String getId()
Gets the value of the id property.

Returns:
possible object is String

setId

public void setId(String value)
Sets the value of the id property.

Parameters:
value - allowed object is String


Copyright © 2012. All Rights Reserved.