org.nmdp.ngs.gtr.jaxb.TextCitationsURL Maven / Gradle / Ivy
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.10-b140310.1920
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2015.06.03 at 09:53:53 AM CDT
//
package org.nmdp.ngs.gtr.jaxb;
import java.math.BigInteger;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
/**
* TextCitationsURL allow only 1 URL, although it is not
* required.
*
* Java class for TextCitationsURL complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="TextCitationsURL">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="Description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="PMID" type="{http://www.w3.org/2001/XMLSchema}integer" maxOccurs="unbounded" minOccurs="0"/>
* <element name="URL" type="{http://www.w3.org/2001/XMLSchema}anyURI" minOccurs="0"/>
* <element name="CitationText" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "TextCitationsURL", propOrder = {
"description",
"pmids",
"url",
"citationTexts"
})
public class TextCitationsURL {
@XmlElement(name = "Description")
protected String description;
@XmlElement(name = "PMID")
protected List pmids;
@XmlElement(name = "URL")
@XmlSchemaType(name = "anyURI")
protected String url;
@XmlElement(name = "CitationText")
protected List citationTexts;
/**
* Gets the value of the description property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDescription() {
return description;
}
/**
* Sets the value of the description property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDescription(String value) {
this.description = value;
}
/**
* Gets the value of the pmids 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 pmids property.
*
*
* For example, to add a new item, do as follows:
*
* getPMIDS().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link BigInteger }
*
*
*/
public List getPMIDS() {
if (pmids == null) {
pmids = new ArrayList();
}
return this.pmids;
}
/**
* Gets the value of the url property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getURL() {
return url;
}
/**
* Sets the value of the url property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setURL(String value) {
this.url = value;
}
/**
* Gets the value of the citationTexts 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 citationTexts property.
*
*
* For example, to add a new item, do as follows:
*
* getCitationTexts().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
*/
public List getCitationTexts() {
if (citationTexts == null) {
citationTexts = new ArrayList();
}
return this.citationTexts;
}
}