|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sdmx.resources.sdmxml.schemas.v2_1.common.AnnotationType
public class AnnotationType
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 |
|---|
protected String annotationTitle
protected String annotationType
protected String annotationURL
protected List<TextType> annotationText
protected String id
| Constructor Detail |
|---|
public AnnotationType()
| Method Detail |
|---|
public String getAnnotationTitle()
Stringpublic void setAnnotationTitle(String value)
value - allowed object is
Stringpublic String getAnnotationType()
Stringpublic void setAnnotationType(String value)
value - allowed object is
Stringpublic String getAnnotationURL()
Stringpublic void setAnnotationURL(String value)
value - allowed object is
Stringpublic List<TextType> getAnnotationText()
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
public String getId()
Stringpublic void setId(String value)
value - allowed object is
String
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||