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: 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.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.datatype.XMLGregorianCalendar;
/**
*
* Describes a sequence that is the result of an alignment or
* assembly of shorter sequence reads generated by an NGS platform.
*
* Wraps one or more reference database definitions and one or more
* consensus-sequence-blocks.
*
* Children:
* ---------
* - reference-database (required, qty: 1 or more)
* - consensus-sequence-block (required, qty: 1 or more)
*
*
* 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/1.0.1}reference-database" maxOccurs="unbounded"/>
* <element ref="{http://schemas.nmdp.org/spec/hml/1.0.1}consensus-sequence-block" maxOccurs="unbounded"/>
* </sequence>
* <attribute name="date" use="required" type="{http://www.w3.org/2001/XMLSchema}date" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "consensus-sequence", propOrder = {
"referenceDatabase",
"consensusSequenceBlock"
})
public class ConsensusSequence {
@XmlElement(name = "reference-database", required = true)
protected List referenceDatabase;
@XmlElement(name = "consensus-sequence-block", required = true)
protected List consensusSequenceBlock;
@XmlAttribute(name = "date", required = true)
@XmlSchemaType(name = "date")
protected XMLGregorianCalendar date;
/**
* Gets the value of the referenceDatabase 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 referenceDatabase property.
*
*
* For example, to add a new item, do as follows:
*
* getReferenceDatabase().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link ReferenceDatabase }
*
*
*/
public List getReferenceDatabase() {
if (referenceDatabase == null) {
referenceDatabase = new ArrayList();
}
return this.referenceDatabase;
}
/**
* Gets the value of the consensusSequenceBlock 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 consensusSequenceBlock property.
*
*
* For example, to add a new item, do as follows:
*
* getConsensusSequenceBlock().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link ConsensusSequenceBlock }
*
*
*/
public List getConsensusSequenceBlock() {
if (consensusSequenceBlock == null) {
consensusSequenceBlock = new ArrayList();
}
return this.consensusSequenceBlock;
}
/**
* 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;
}
}