All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.nmdp.ngs.sra.jaxb.sample.Sample 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: 2014.11.23 at 08:01:08 PM CST 
//


package org.nmdp.ngs.sra.jaxb.sample;

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.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;


/**
 * 
 *         A Sample defines an isolate of sequenceable material upon which
 *         sequencing experiments can be based.  The Sample object may be a surrogate for taxonomy
 *         accession or an anonymized individual identifier.  Or, it may fully specify
 *         provenance and isolation method of the starting material.
 *       
 * 
 * 

Java class for SampleType complex type. * *

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

 * <complexType name="SampleType">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="IDENTIFIERS" type="{SRA.common}IdentifierType" minOccurs="0"/>
 *         <element name="TITLE" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="SAMPLE_NAME">
 *           <complexType>
 *             <complexContent>
 *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                 <all>
 *                   <element name="TAXON_ID" type="{http://www.w3.org/2001/XMLSchema}int"/>
 *                   <element name="SCIENTIFIC_NAME" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *                   <element name="COMMON_NAME" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *                   <element name="ANONYMIZED_NAME" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *                   <element name="INDIVIDUAL_NAME" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *                 </all>
 *               </restriction>
 *             </complexContent>
 *           </complexType>
 *         </element>
 *         <element name="DESCRIPTION" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="SAMPLE_LINKS" minOccurs="0">
 *           <complexType>
 *             <complexContent>
 *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                 <sequence maxOccurs="unbounded">
 *                   <element name="SAMPLE_LINK" type="{SRA.common}LinkType"/>
 *                 </sequence>
 *               </restriction>
 *             </complexContent>
 *           </complexType>
 *         </element>
 *         <element name="SAMPLE_ATTRIBUTES" minOccurs="0">
 *           <complexType>
 *             <complexContent>
 *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                 <sequence maxOccurs="unbounded">
 *                   <element name="SAMPLE_ATTRIBUTE" type="{SRA.common}AttributeType"/>
 *                 </sequence>
 *               </restriction>
 *             </complexContent>
 *           </complexType>
 *         </element>
 *       </sequence>
 *       <attGroup ref="{SRA.common}NameGroup"/>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "SampleType", namespace = "", propOrder = { "identifiers", "title", "sampleName", "description", "sampleLinks", "sampleAttributes" }) @XmlRootElement(name = "SAMPLE", namespace = "") public class Sample { @XmlElement(name = "IDENTIFIERS") protected IdentifierType identifiers; @XmlElement(name = "TITLE") protected String title; @XmlElement(name = "SAMPLE_NAME", required = true) protected Sample.SampleName sampleName; @XmlElement(name = "DESCRIPTION") protected String description; @XmlElement(name = "SAMPLE_LINKS") protected Sample.SampleLinks sampleLinks; @XmlElement(name = "SAMPLE_ATTRIBUTES") protected Sample.SampleAttributes sampleAttributes; @XmlAttribute(name = "alias") protected String alias; @XmlAttribute(name = "center_name") protected String centerName; @XmlAttribute(name = "broker_name") protected String brokerName; @XmlAttribute(name = "accession") protected String accession; /** * Gets the value of the identifiers property. * * @return * possible object is * {@link IdentifierType } * */ public IdentifierType getIdentifiers() { return identifiers; } /** * Sets the value of the identifiers property. * * @param value * allowed object is * {@link IdentifierType } * */ public void setIdentifiers(IdentifierType value) { this.identifiers = value; } /** * Gets the value of the title property. * * @return * possible object is * {@link String } * */ public String getTitle() { return title; } /** * Sets the value of the title property. * * @param value * allowed object is * {@link String } * */ public void setTitle(String value) { this.title = value; } /** * Gets the value of the sampleName property. * * @return * possible object is * {@link Sample.SampleName } * */ public Sample.SampleName getSampleName() { return sampleName; } /** * Sets the value of the sampleName property. * * @param value * allowed object is * {@link Sample.SampleName } * */ public void setSampleName(Sample.SampleName value) { this.sampleName = value; } /** * 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 sampleLinks property. * * @return * possible object is * {@link Sample.SampleLinks } * */ public Sample.SampleLinks getSampleLinks() { return sampleLinks; } /** * Sets the value of the sampleLinks property. * * @param value * allowed object is * {@link Sample.SampleLinks } * */ public void setSampleLinks(Sample.SampleLinks value) { this.sampleLinks = value; } /** * Gets the value of the sampleAttributes property. * * @return * possible object is * {@link Sample.SampleAttributes } * */ public Sample.SampleAttributes getSampleAttributes() { return sampleAttributes; } /** * Sets the value of the sampleAttributes property. * * @param value * allowed object is * {@link Sample.SampleAttributes } * */ public void setSampleAttributes(Sample.SampleAttributes value) { this.sampleAttributes = value; } /** * Gets the value of the alias property. * * @return * possible object is * {@link String } * */ public String getAlias() { return alias; } /** * Sets the value of the alias property. * * @param value * allowed object is * {@link String } * */ public void setAlias(String value) { this.alias = value; } /** * Gets the value of the centerName property. * * @return * possible object is * {@link String } * */ public String getCenterName() { return centerName; } /** * Sets the value of the centerName property. * * @param value * allowed object is * {@link String } * */ public void setCenterName(String value) { this.centerName = value; } /** * Gets the value of the brokerName property. * * @return * possible object is * {@link String } * */ public String getBrokerName() { return brokerName; } /** * Sets the value of the brokerName property. * * @param value * allowed object is * {@link String } * */ public void setBrokerName(String value) { this.brokerName = value; } /** * Gets the value of the accession property. * * @return * possible object is * {@link String } * */ public String getAccession() { return accession; } /** * Sets the value of the accession property. * * @param value * allowed object is * {@link String } * */ public void setAccession(String value) { this.accession = value; } /** *

Java class for anonymous complex type. * *

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

     * <complexType>
     *   <complexContent>
     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
     *       <sequence maxOccurs="unbounded">
     *         <element name="SAMPLE_ATTRIBUTE" type="{SRA.common}AttributeType"/>
     *       </sequence>
     *     </restriction>
     *   </complexContent>
     * </complexType>
     * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "sampleAttributes" }) public static class SampleAttributes { @XmlElement(name = "SAMPLE_ATTRIBUTE", required = true) protected List sampleAttributes; /** * Gets the value of the sampleAttributes 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 sampleAttributes property. * *

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

         *    getSampleAttributes().add(newItem);
         * 
* * *

* Objects of the following type(s) are allowed in the list * {@link AttributeType } * * */ public List getSampleAttributes() { if (sampleAttributes == null) { sampleAttributes = new ArrayList(); } return this.sampleAttributes; } } /** *

Java class for anonymous complex type. * *

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

     * <complexType>
     *   <complexContent>
     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
     *       <sequence maxOccurs="unbounded">
     *         <element name="SAMPLE_LINK" type="{SRA.common}LinkType"/>
     *       </sequence>
     *     </restriction>
     *   </complexContent>
     * </complexType>
     * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "sampleLinks" }) public static class SampleLinks { @XmlElement(name = "SAMPLE_LINK", required = true) protected List sampleLinks; /** * Gets the value of the sampleLinks 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 sampleLinks property. * *

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

         *    getSampleLinks().add(newItem);
         * 
* * *

* Objects of the following type(s) are allowed in the list * {@link LinkType } * * */ public List getSampleLinks() { if (sampleLinks == null) { sampleLinks = new ArrayList(); } return this.sampleLinks; } } /** *

Java class for anonymous complex type. * *

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

     * <complexType>
     *   <complexContent>
     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
     *       <all>
     *         <element name="TAXON_ID" type="{http://www.w3.org/2001/XMLSchema}int"/>
     *         <element name="SCIENTIFIC_NAME" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
     *         <element name="COMMON_NAME" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
     *         <element name="ANONYMIZED_NAME" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
     *         <element name="INDIVIDUAL_NAME" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
     *       </all>
     *     </restriction>
     *   </complexContent>
     * </complexType>
     * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { }) public static class SampleName { @XmlElement(name = "TAXON_ID") protected int taxonId; @XmlElement(name = "SCIENTIFIC_NAME") protected String scientificName; @XmlElement(name = "COMMON_NAME") protected String commonName; @XmlElement(name = "ANONYMIZED_NAME") protected String anonymizedName; @XmlElement(name = "INDIVIDUAL_NAME") protected String individualName; /** * Gets the value of the taxonId property. * */ public int getTaxonId() { return taxonId; } /** * Sets the value of the taxonId property. * */ public void setTaxonId(int value) { this.taxonId = value; } /** * Gets the value of the scientificName property. * * @return * possible object is * {@link String } * */ public String getScientificName() { return scientificName; } /** * Sets the value of the scientificName property. * * @param value * allowed object is * {@link String } * */ public void setScientificName(String value) { this.scientificName = value; } /** * Gets the value of the commonName property. * * @return * possible object is * {@link String } * */ public String getCommonName() { return commonName; } /** * Sets the value of the commonName property. * * @param value * allowed object is * {@link String } * */ public void setCommonName(String value) { this.commonName = value; } /** * Gets the value of the anonymizedName property. * * @return * possible object is * {@link String } * */ public String getAnonymizedName() { return anonymizedName; } /** * Sets the value of the anonymizedName property. * * @param value * allowed object is * {@link String } * */ public void setAnonymizedName(String value) { this.anonymizedName = value; } /** * Gets the value of the individualName property. * * @return * possible object is * {@link String } * */ public String getIndividualName() { return individualName; } /** * Sets the value of the individualName property. * * @param value * allowed object is * {@link String } * */ public void setIndividualName(String value) { this.individualName = value; } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy