2 // This file was generated by the Eclipse Implementation of JAXB, v2.3.3
3 // See https://eclipse-ee4j.github.io/jaxb-ri
4 // Any modifications to this file will be lost upon recompilation of the source schema.
5 // Generated on: 2022.02.07 at 04:44:21 PM GMT
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 * &lt;complexType name="geneNameType"&gt;
30 * &lt;simpleContent&gt;
31 * &lt;extension base="&lt;http://www.w3.org/2001/XMLSchema&gt;string"&gt;
32 * &lt;attribute name="evidence" type="{http://uniprot.org/uniprot}intListType" /&gt;
33 * &lt;attribute name="type" use="required"&gt;
34 * &lt;simpleType&gt;
35 * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string"&gt;
36 * &lt;enumeration value="primary"/&gt;
37 * &lt;enumeration value="synonym"/&gt;
38 * &lt;enumeration value="ordered locus"/&gt;
39 * &lt;enumeration value="ORF"/&gt;
40 * &lt;/restriction&gt;
41 * &lt;/simpleType&gt;
42 * &lt;/attribute&gt;
43 * &lt;/extension&gt;
44 * &lt;/simpleContent&gt;
45 * &lt;/complexType&gt;
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) {