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

org.nmdp.ngs.hml.jaxb.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.09.27 at 10:27:59 AM CDT 
//


package org.nmdp.ngs.hml.jaxb;

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.XmlType;


/**
 * 
 *         Encloses the genotyping data pertaining to a particular sample. It may 
 *           contain multiple typing elements (for instance, one for each locus).
 * 
 *         Children:
 *         ---------
 *         - property (optional, qty: 0 or more)
 *         - typing (required, qty: 1 or more)
 * 
 *         Attributes:
 *         -----------
 *         - id: Identifier for the sample (ex: "1234-5678-9", "123456789") (required)
 *         - center-code: center code of the sample's origin (donor center, 
 *           transplant center, etc.) (optional)
 *     
 * 
 * 

Java class for sample complex type. * *

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

 * <complexType name="sample">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="property" type="{http://schemas.nmdp.org/spec/hml/0.9.6}property" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="typing" type="{http://schemas.nmdp.org/spec/hml/0.9.6}typing" maxOccurs="unbounded"/>
 *       </sequence>
 *       <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="center-code">
 *         <simpleType>
 *           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
 *             <minLength value="1"/>
 *           </restriction>
 *         </simpleType>
 *       </attribute>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "sample", propOrder = { "property", "typing" }) public class Sample { protected List property; @XmlElement(required = true) protected List typing; @XmlAttribute(name = "id", required = true) protected String id; @XmlAttribute(name = "center-code") protected String centerCode; /** * Gets the value of the property 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 property property. * *

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

     *    getProperty().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link Property } * * */ public List getProperty() { if (property == null) { property = new ArrayList(); } return this.property; } /** * Gets the value of the typing 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 typing property. * *

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

     *    getTyping().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link Typing } * * */ public List getTyping() { if (typing == null) { typing = new ArrayList(); } return this.typing; } /** * Gets the value of the id property. * * @return * possible object is * {@link String } * */ public String getId() { return id; } /** * Sets the value of the id property. * * @param value * allowed object is * {@link String } * */ public void setId(String value) { this.id = value; } /** * Gets the value of the centerCode property. * * @return * possible object is * {@link String } * */ public String getCenterCode() { return centerCode; } /** * Sets the value of the centerCode property. * * @param value * allowed object is * {@link String } * */ public void setCenterCode(String value) { this.centerCode = value; } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy