org.nmdp.ngs.hml.jaxb.DiploidCombination 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.XmlElement;
import javax.xml.bind.annotation.XmlType;
/**
*
* A diploid-combination element is one possibility value in a genotype-
* list (NOTE: This element and its children were deprecated in HML 1.0).
* There may be either one or two locus-block child elements,
* depending on whether the data provided in this diploid-combination
* covers one or two chromosomes.
*
* Children:
* ---------
* - locus-block (required, qty: 1 or 2)
*
*
* Java class for diploid-combination complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="diploid-combination">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="locus-block" type="{http://schemas.nmdp.org/spec/hml/1.0.1}locus-block" maxOccurs="2"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "diploid-combination", propOrder = {
"locusBlock"
})
public class DiploidCombination {
@XmlElement(name = "locus-block", required = true)
protected List locusBlock;
/**
* Gets the value of the locusBlock 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 locusBlock property.
*
*
* For example, to add a new item, do as follows:
*
* getLocusBlock().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link LocusBlock }
*
*
*/
public List getLocusBlock() {
if (locusBlock == null) {
locusBlock = new ArrayList();
}
return this.locusBlock;
}
}