Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  //
  // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.10-b140310.1920 
  // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
  // Any modifications to this file will be lost upon recompilation of the source schema. 
  // Generated on: 2015.05.15 at 04:23:26 PM CDT 
  //
  
  
  package org.nmdp.ngs.gtr.jaxb;
 
 import java.util.List;
For TextCitationsList there is not a required description field. There will be an additional drop down list in the element that may be selected in place of a description

Java class for TextCitationsList complex type.

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

 <complexType name="TextCitationsList">
   <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" maxOccurs="unbounded" minOccurs="0"/>
         <element name="CitationText" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
 
 @XmlType(name = "TextCitationsList", propOrder = {
     "description",
     "pmids",
     "urls",
     "citationTexts"
 })
 })
 public class TextCitationsList {
 
     @XmlElement(name = "Description")
     protected String description;
     @XmlElement(name = "PMID")
     protected List<BigIntegerpmids;
     @XmlElement(name = "URL")
     @XmlSchemaType(name = "anyURI")
     protected List<Stringurls;
     @XmlElement(name = "CitationText")
     protected List<StringcitationTexts;

    
Gets the value of the description property.

Returns:
possible object is
 
     public String getDescription() {
         return ;
     }

    
Sets the value of the description property.

Parameters:
value allowed object is
 
     public void setDescription(String value) {
         this. = 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

    public List<BigIntegergetPMIDS() {
        if ( == null) {
             = new ArrayList<BigInteger>();
        }
        return this.;
    }

    
Gets the value of the urls 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 urls property.

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

    getURLS().add(newItem);
 

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

    public List<StringgetURLS() {
        if ( == null) {
             = new ArrayList<String>();
        }
        return this.;
    }

    
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

    public List<StringgetCitationTexts() {
        if ( == null) {
             = new ArrayList<String>();
        }
        return this.;
    }
New to GrepCode? Check out our FAQ X