org.nmdp.ngs.hml.jaxb.Allele 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.XmlType;
import javax.xml.bind.annotation.XmlValue;
/**
*
* An allele element specifies a single allele: it should be given in
* LOCUS*NAME format and names must be at allele-level resolution (NOTE:
* This element and its children were deprecated in HML 1.0). The
* value must conform to the nomenclature specified in the interpretation.
*
*
* Attributes:
* -----------
* - present: Indicates the presence or absence of this allele. A value
* of "N" can be used to indicate that a particular allele was tested
* for and found not to be a possibility. A value of "U" (untested)
* indicates that the given allele was not tested for. The default
* value is "Y". [Y|N|U] (required, qty: 1 or more)
*
*
* Java class for allele complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="allele">
* <simpleContent>
* <extension base="<http://www.w3.org/2001/XMLSchema>string">
* <attribute name="present" type="{http://schemas.nmdp.org/spec/hml/1.0.1}present" default="Y" />
* </extension>
* </simpleContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "allele", propOrder = {
"value"
})
public class Allele {
@XmlValue
protected String value;
@XmlAttribute(name = "present")
protected Present present;
/**
* Gets the value of the value property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getValue() {
return value;
}
/**
* Sets the value of the value property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setValue(String value) {
this.value = value;
}
/**
* Gets the value of the present property.
*
* @return
* possible object is
* {@link Present }
*
*/
public Present getPresent() {
if (present == null) {
return Present.Y;
} else {
return present;
}
}
/**
* Sets the value of the present property.
*
* @param value
* allowed object is
* {@link Present }
*
*/
public void setPresent(Present value) {
this.present = value;
}
}