org.nmdp.ngs.hml.jaxb.AlleleAssignment 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: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