org.nmdp.ngs.hml.jaxb.SbtSanger 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.XmlIDREF;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
/**
*
* Describes an SBT (sequence-based typing) that was performed using a
* Sanger technique.
*
* Children:
* ---------
* - amplification (required, qty: 1)
* - sub-amplification (not required, qty: 0 or more)
* - gssp (not required, qty: 0 or more)
* Attributes:
* -----------
* - locus: The locus for which the SBT was performed. (optional)
* - ref-id: Internal XML reference to a typing-test-names
* element if contained in this document (optional)
* - test-id: Test ID as registered with the test-id-source. (required if ref-id not specifid)
* - test-id-source: A formal or formal test registry location. For
* example, this could be the NCBI GTR (specified as "GTR"),
* NMDP for tests registered directly with NMDP (specified as
* "NMDP), etc. (required if test-id is used)
*
* NMDP allows the following test-id-source values:
* (Note that this may change in future versions)
* * gtr: ID of kit registered with the NCBI Genetic
* Testing Registry. (Preferred)
* * nmdp-refid: ID of kit registered with NMDP. The cardinal
* sequence numbers of the registered probes in the
* kit will determine the score order.
* * probe-name: Fully qualified probe name. If this attribute is
* used, the scores attribute must contain exactly
* one score. (ex: "L0999.K1.V1.A9F-S11")
*
*
* Java class for sbt-sanger complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="sbt-sanger">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="amplification" type="{http://schemas.nmdp.org/spec/hml/0.9.6}amplification"/>
* <element name="sub-amplification" type="{http://schemas.nmdp.org/spec/hml/0.9.6}sub-amplification" maxOccurs="unbounded" minOccurs="0"/>
* <element name="gssp" type="{http://schemas.nmdp.org/spec/hml/0.9.6}gssp" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* <attribute name="locus">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <minLength value="1"/>
* </restriction>
* </simpleType>
* </attribute>
* <attribute name="ref-id" type="{http://www.w3.org/2001/XMLSchema}IDREF" />
* <attribute name="test-id">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <minLength value="1"/>
* </restriction>
* </simpleType>
* </attribute>
* <attribute name="test-id-source">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <minLength value="1"/>
* </restriction>
* </simpleType>
* </attribute>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "sbt-sanger", propOrder = {
"amplification",
"subAmplification",
"gssp"
})
public class SbtSanger {
@XmlElement(required = true)
protected Amplification amplification;
@XmlElement(name = "sub-amplification")
protected List subAmplification;
protected List gssp;
@XmlAttribute(name = "locus")
protected String locus;
@XmlAttribute(name = "ref-id")
@XmlIDREF
@XmlSchemaType(name = "IDREF")
protected Object refId;
@XmlAttribute(name = "test-id")
protected String testId;
@XmlAttribute(name = "test-id-source")
protected String testIdSource;
/**
* Gets the value of the amplification property.
*
* @return
* possible object is
* {@link Amplification }
*
*/
public Amplification getAmplification() {
return amplification;
}
/**
* Sets the value of the amplification property.
*
* @param value
* allowed object is
* {@link Amplification }
*
*/
public void setAmplification(Amplification value) {
this.amplification = value;
}
/**
* Gets the value of the subAmplification 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 subAmplification property.
*
*
* For example, to add a new item, do as follows:
*
* getSubAmplification().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link SubAmplification }
*
*
*/
public List getSubAmplification() {
if (subAmplification == null) {
subAmplification = new ArrayList();
}
return this.subAmplification;
}
/**
* Gets the value of the gssp 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 gssp property.
*
*
* For example, to add a new item, do as follows:
*
* getGssp().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Gssp }
*
*
*/
public List getGssp() {
if (gssp == null) {
gssp = new ArrayList();
}
return this.gssp;
}
/**
* Gets the value of the locus property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getLocus() {
return locus;
}
/**
* Sets the value of the locus property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setLocus(String value) {
this.locus = value;
}
/**
* Gets the value of the refId property.
*
* @return
* possible object is
* {@link Object }
*
*/
public Object getRefId() {
return refId;
}
/**
* Sets the value of the refId property.
*
* @param value
* allowed object is
* {@link Object }
*
*/
public void setRefId(Object value) {
this.refId = value;
}
/**
* Gets the value of the testId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTestId() {
return testId;
}
/**
* Sets the value of the testId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTestId(String value) {
this.testId = value;
}
/**
* Gets the value of the testIdSource property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTestIdSource() {
return testIdSource;
}
/**
* Sets the value of the testIdSource property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTestIdSource(String value) {
this.testIdSource = value;
}
}