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

org.nmdp.ngs.hml.jaxb.AlleleAssignment Maven / Gradle / Ivy

There is a newer version: 1.8.3
Show newest version
//
// 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:54:38 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.XmlElements;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.datatype.XMLGregorianCalendar;


/**
 * 
 *           Specifies the genotyping call at the most specific level possible. 
 *             This call can be represented within haploid elements or using gl-
 *             resources. When reporting data using haploid, typical use is one 
 *             or two haploid elements for a particular locus, but possibly more if 
 *             multiple loci are covered (ex: two DRB1 haploids + one DRB3 haploid).
 * 
 *           Children:
 *           ---------
 *           - property: (optional, qty 0 to many) Custom use properties.
 *           - haploid:  (optional, qty: 1 or more)
 *           - genotype-list:  (optional, qty: 0 or more)
 *           - glstring: (optional, qty: 0 ro more)
 * 
 *           Allows an optional "property" element that may have nested/custom 
 *           use data related to the allele-assignment/interpretation.
 * 
 *           Expects at least one of haploid, genotype-list, or glstring.
 * 
 *           Attributes:
 *           -----------
 *           - date: Date on which the typing was carried out, or on which the 
 *              final call was determined. Format can be either ISO-8601 or 
 *              "YYYY-MM-DD". (required)
 *           - allele-db: Database or other source for nomenclature used in the 
 *              interpretation. (ex: "IMGT-HLADB") (optional, but required for NMDP use)
 *           - allele-version: A specific version of the allele-db (ex: "3.18.0"). 
 *              (optional, but required for NMDP use)
 *       
 * 
 * 

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="property" type="{http://schemas.nmdp.org/spec/hml/1.0.1}property" maxOccurs="unbounded" minOccurs="0"/>
 *         <element ref="{http://schemas.nmdp.org/spec/hml/1.0.1}haploid" maxOccurs="unbounded" minOccurs="0"/>
 *         <element ref="{http://schemas.nmdp.org/spec/hml/1.0.1}genotype-list" maxOccurs="unbounded" minOccurs="0"/>
 *         <element ref="{http://schemas.nmdp.org/spec/hml/1.0.1}glstring" maxOccurs="unbounded" minOccurs="0"/>
 *       </sequence>
 *       <attribute name="date" use="required" type="{http://www.w3.org/2001/XMLSchema}date" />
 *       <attribute name="allele-db">
 *         <simpleType>
 *           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
 *             <minLength value="1"/>
 *           </restriction>
 *         </simpleType>
 *       </attribute>
 *       <attribute name="allele-version">
 *         <simpleType>
 *           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
 *             <minLength value="1"/>
 *           </restriction>
 *         </simpleType>
 *       </attribute>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "propertyAndHaploidAndGenotypeList" }) @XmlRootElement(name = "allele-assignment") public class AlleleAssignment { @XmlElements({ @XmlElement(name = "property", type = Property.class), @XmlElement(name = "haploid", type = Haploid.class), @XmlElement(name = "genotype-list", type = GenotypeList.class), @XmlElement(name = "glstring", type = Glstring.class) }) protected List propertyAndHaploidAndGenotypeList; @XmlAttribute(name = "date", required = true) @XmlSchemaType(name = "date") protected XMLGregorianCalendar date; @XmlAttribute(name = "allele-db") protected String alleleDb; @XmlAttribute(name = "allele-version") protected String alleleVersion; /** * Gets the value of the propertyAndHaploidAndGenotypeList 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 propertyAndHaploidAndGenotypeList property. * *

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

     *    getPropertyAndHaploidAndGenotypeList().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link Property } * {@link Haploid } * {@link GenotypeList } * {@link Glstring } * * */ public List getPropertyAndHaploidAndGenotypeList() { if (propertyAndHaploidAndGenotypeList == null) { propertyAndHaploidAndGenotypeList = new ArrayList(); } return this.propertyAndHaploidAndGenotypeList; } /** * Gets the value of the date property. * * @return * possible object is * {@link XMLGregorianCalendar } * */ public XMLGregorianCalendar getDate() { return date; } /** * Sets the value of the date property. * * @param value * allowed object is * {@link XMLGregorianCalendar } * */ public void setDate(XMLGregorianCalendar value) { this.date = value; } /** * Gets the value of the alleleDb property. * * @return * possible object is * {@link String } * */ public String getAlleleDb() { return alleleDb; } /** * Sets the value of the alleleDb property. * * @param value * allowed object is * {@link String } * */ public void setAlleleDb(String value) { this.alleleDb = value; } /** * Gets the value of the alleleVersion property. * * @return * possible object is * {@link String } * */ public String getAlleleVersion() { return alleleVersion; } /** * Sets the value of the alleleVersion property. * * @param value * allowed object is * {@link String } * */ public void setAlleleVersion(String value) { this.alleleVersion = value; } }