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

org.nmdp.ngs.hml.jaxb.LocusBlock 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.XmlElement;
import javax.xml.bind.annotation.XmlType;


/**
 * 
 *         A locus-block element allows allele-list elements to be grouped 
 *           together to mean one allele-list is a possibility if and only if all
 *           others are (NOTE: This element and its children were deprecated in HML 1.0).
 *           This is useful, for example, in the case when listing 
 *           HLA-DRB1 alleles next to the corresponding HLA-DRB3 alleles that are 
 *           relevant in only some cases (example in comments).
 *         
 * 
 *         Children:
 *         ---------
 *         - allele-list (required, qty: 1 or more)
 *     
 * 
 * 

Java class for locus-block complex type. * *

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

 * <complexType name="locus-block">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="allele-list" type="{http://schemas.nmdp.org/spec/hml/1.0.1}allele-list" maxOccurs="unbounded"/>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "locus-block", propOrder = { "alleleList" }) public class LocusBlock { @XmlElement(name = "allele-list", required = true) protected List alleleList; /** * Gets the value of the alleleList 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 alleleList property. * *

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

     *    getAlleleList().add(newItem);
     * 
* * *

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





© 2015 - 2024 Weber Informatics LLC | Privacy Policy