org.nmdp.ngs.hml.jaxb.Variant 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.HashMap;
import java.util.List;
import java.util.Map;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAnyAttribute;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.namespace.QName;
/**
* Java class for anonymous complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element ref="{http://schemas.nmdp.org/spec/hml/1.0.1}variant-effect" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* <attribute name="id">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <minLength value="1"/>
* </restriction>
* </simpleType>
* </attribute>
* <attribute name="name">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <minLength value="1"/>
* </restriction>
* </simpleType>
* </attribute>
* <attribute name="start" use="required" type="{http://schemas.nmdp.org/spec/hml/1.0.1}position-type" />
* <attribute name="end" use="required" type="{http://schemas.nmdp.org/spec/hml/1.0.1}position-type" />
* <attribute name="reference-bases" use="required" type="{http://schemas.nmdp.org/spec/hml/1.0.1}simple-bases" />
* <attribute name="alternate-bases" use="required" type="{http://schemas.nmdp.org/spec/hml/1.0.1}simple-bases" />
* <attribute name="quality-score" type="{http://schemas.nmdp.org/spec/hml/1.0.1}quality" />
* <attribute name="filter">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="PASS"/>
* <enumeration value="FAIL"/>
* <enumeration value="pass"/>
* <enumeration value="fail"/>
* </restriction>
* </simpleType>
* </attribute>
* <attribute name="uri" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
* <anyAttribute/>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"variantEffect"
})
@XmlRootElement(name = "variant")
public class Variant {
@XmlElement(name = "variant-effect")
protected List variantEffect;
@XmlAttribute(name = "id")
protected String id;
@XmlAttribute(name = "name")
protected String name;
@XmlAttribute(name = "start", required = true)
protected long start;
@XmlAttribute(name = "end", required = true)
protected long end;
@XmlAttribute(name = "reference-bases", required = true)
protected String referenceBases;
@XmlAttribute(name = "alternate-bases", required = true)
protected String alternateBases;
@XmlAttribute(name = "quality-score")
protected Double qualityScore;
@XmlAttribute(name = "filter")
protected String filter;
@XmlAttribute(name = "uri")
@XmlSchemaType(name = "anyURI")
protected String uri;
@XmlAnyAttribute
private Map otherAttributes = new HashMap();
/**
* Gets the value of the variantEffect 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 variantEffect property.
*
*
* For example, to add a new item, do as follows:
*
* getVariantEffect().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link VariantEffect }
*
*
*/
public List getVariantEffect() {
if (variantEffect == null) {
variantEffect = new ArrayList();
}
return this.variantEffect;
}
/**
* Gets the value of the id property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getId() {
return id;
}
/**
* Sets the value of the id property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setId(String value) {
this.id = value;
}
/**
* Gets the value of the name property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getName() {
return name;
}
/**
* Sets the value of the name property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setName(String value) {
this.name = value;
}
/**
* Gets the value of the start property.
*
*/
public long getStart() {
return start;
}
/**
* Sets the value of the start property.
*
*/
public void setStart(long value) {
this.start = value;
}
/**
* Gets the value of the end property.
*
*/
public long getEnd() {
return end;
}
/**
* Sets the value of the end property.
*
*/
public void setEnd(long value) {
this.end = value;
}
/**
* Gets the value of the referenceBases property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getReferenceBases() {
return referenceBases;
}
/**
* Sets the value of the referenceBases property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setReferenceBases(String value) {
this.referenceBases = value;
}
/**
* Gets the value of the alternateBases property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getAlternateBases() {
return alternateBases;
}
/**
* Sets the value of the alternateBases property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setAlternateBases(String value) {
this.alternateBases = value;
}
/**
* Gets the value of the qualityScore property.
*
* @return
* possible object is
* {@link Double }
*
*/
public Double getQualityScore() {
return qualityScore;
}
/**
* Sets the value of the qualityScore property.
*
* @param value
* allowed object is
* {@link Double }
*
*/
public void setQualityScore(Double value) {
this.qualityScore = value;
}
/**
* Gets the value of the filter property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getFilter() {
return filter;
}
/**
* Sets the value of the filter property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setFilter(String value) {
this.filter = value;
}
/**
* Gets the value of the uri property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getUri() {
return uri;
}
/**
* Sets the value of the uri property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setUri(String value) {
this.uri = value;
}
/**
* Gets a map that contains attributes that aren't bound to any typed property on this class.
*
*
* the map is keyed by the name of the attribute and
* the value is the string value of the attribute.
*
* the map returned by this method is live, and you can add new attribute
* by updating the map directly. Because of this design, there's no setter.
*
*
* @return
* always non-null
*/
public Map getOtherAttributes() {
return otherAttributes;
}
}