2 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
3 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
4 // Any modifications to this file will be lost upon recompilation of the source schema.
5 // Generated on: 2018.09.13 at 10:18:53 AM BST
9 package jalview.xml.binding.uniprot;
11 import java.util.ArrayList;
12 import java.util.List;
13 import javax.xml.bind.annotation.XmlAccessType;
14 import javax.xml.bind.annotation.XmlAccessorType;
15 import javax.xml.bind.annotation.XmlAttribute;
16 import javax.xml.bind.annotation.XmlType;
17 import javax.xml.bind.annotation.XmlValue;
21 * Describes different types of gene designations.
22 * Equivalent to the flat file GN-line.
24 * <p>Java class for geneNameType complex type.
26 * <p>The following schema fragment specifies the expected content contained within this class.
29 * <complexType name="geneNameType">
31 * <extension base="<http://www.w3.org/2001/XMLSchema>string">
32 * <attribute name="evidence" type="{http://uniprot.org/uniprot}intListType" />
33 * <attribute name="type" use="required">
35 * <restriction base="{http://www.w3.org/2001/XMLSchema}string">
36 * <enumeration value="primary"/>
37 * <enumeration value="synonym"/>
38 * <enumeration value="ordered locus"/>
39 * <enumeration value="ORF"/>
50 @XmlAccessorType(XmlAccessType.FIELD)
51 @XmlType(name = "geneNameType", propOrder = {
54 public class GeneNameType {
57 protected String value;
58 @XmlAttribute(name = "evidence")
59 protected List<Integer> evidence;
60 @XmlAttribute(name = "type", required = true)
61 protected String type;
64 * Gets the value of the value property.
71 public String getValue() {
76 * Sets the value of the value property.
83 public void setValue(String value) {
88 * Gets the value of the evidence property.
91 * This accessor method returns a reference to the live list,
92 * not a snapshot. Therefore any modification you make to the
93 * returned list will be present inside the JAXB object.
94 * This is why there is not a <CODE>set</CODE> method for the evidence property.
97 * For example, to add a new item, do as follows:
99 * getEvidence().add(newItem);
104 * Objects of the following type(s) are allowed in the list
109 public List<Integer> getEvidence() {
110 if (evidence == null) {
111 evidence = new ArrayList<Integer>();
113 return this.evidence;
117 * Gets the value of the type property.
124 public String getType() {
129 * Sets the value of the type property.
136 public void setType(String value) {