org.nmdp.ngs.hml.jaxb.ConsensusSequence 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;
/**
*
* Describes a sequence that is the result of an alignment or
* assembly of shorter sequence reads generated by an NGS platform.
*
* Children:
* ---------
* - targeted-region (required, qty: 1)
* - sequence (required, qty:1-2)
*
* Attributes:
* -----------
* - allele-db: Database or other source for nomenclature used for the
* consensus. (ex: "IMGT-HLADB") (optional)
* - allele-version: A specific version of the allele-db (ex: "3.15.0").
* (optional)
*
*
* Java class for consensus-sequence complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="consensus-sequence">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element ref="{http://schemas.nmdp.org/spec/hml/0.9.6}targeted-region"/>
* <element name="sequence" type="{http://schemas.nmdp.org/spec/hml/0.9.6}sequence" maxOccurs="2"/>
* </sequence>
* <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 = "consensus-sequence", propOrder = {
"targetedRegion",
"sequence"
})
public class ConsensusSequence {
@XmlElement(name = "targeted-region", required = true)
protected TargetedRegion targetedRegion;
@XmlElement(required = true)
protected List sequence;
@XmlAttribute(name = "allele-db")
protected String alleleDb;
@XmlAttribute(name = "allele-version")
protected String alleleVersion;
/**
* Gets the value of the targetedRegion property.
*
* @return
* possible object is
* {@link TargetedRegion }
*
*/
public TargetedRegion getTargetedRegion() {
return targetedRegion;
}
/**
* Sets the value of the targetedRegion property.
*
* @param value
* allowed object is
* {@link TargetedRegion }
*
*/
public void setTargetedRegion(TargetedRegion value) {
this.targetedRegion = value;
}
/**
* Gets the value of the sequence 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 sequence property.
*
*
* For example, to add a new item, do as follows:
*
* getSequence().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Sequence }
*
*
*/
public List getSequence() {
if (sequence == null) {
sequence = new ArrayList();
}
return this.sequence;
}
/**
* 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;
}
}