org.nmdp.ngs.hml.jaxb.Haploid 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 javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
*
* Specifies one-half of a full typing at a particular locus. Must
* conform to the database specified in allele-assignment/interpretation.
*
* Attributes:
* -----------
* - locus: Locus (ex: "HLA-A", "HLA-DRB1") (required)
* - method: Typing method used (ex: "DNA", "SER") (required)
* - type: Allele/code level type (ex: "01:01", "01:AB") (required)
*
*
* 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">
* <attribute name="locus" use="required">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <minLength value="1"/>
* </restriction>
* </simpleType>
* </attribute>
* <attribute name="method" use="required">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <pattern value="DNA|SER"/>
* </restriction>
* </simpleType>
* </attribute>
* <attribute name="type" use="required">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <pattern value="([\s]*)|([0-9A-Z:\-\*]{2,40})"/>
* </restriction>
* </simpleType>
* </attribute>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "")
@XmlRootElement(name = "haploid")
public class Haploid {
@XmlAttribute(name = "locus", required = true)
protected String locus;
@XmlAttribute(name = "method", required = true)
protected String method;
@XmlAttribute(name = "type", required = true)
protected String type;
/**
* 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 method property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getMethod() {
return method;
}
/**
* Sets the value of the method property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setMethod(String value) {
this.method = value;
}
/**
* Gets the value of the type property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getType() {
return type;
}
/**
* Sets the value of the type property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setType(String value) {
this.type = value;
}
}