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: 2023.03.17 at 05:31:46 PM GMT
8 package jalview.xml.binding.uniprot;
10 import java.util.ArrayList;
11 import java.util.List;
12 import javax.xml.bind.annotation.XmlAccessType;
13 import javax.xml.bind.annotation.XmlAccessorType;
14 import javax.xml.bind.annotation.XmlAttribute;
15 import javax.xml.bind.annotation.XmlType;
16 import javax.xml.bind.annotation.XmlValue;
19 * Describes different types of gene designations. Equivalent to the flat file
23 * Java class for geneNameType complex type.
26 * The following schema fragment specifies the expected content contained within
30 * <complexType name="geneNameType">
32 * <extension base="<http://www.w3.org/2001/XMLSchema>string">
33 * <attribute name="evidence" type="{http://uniprot.org/uniprot}intListType" />
34 * <attribute name="type" use="required">
36 * <restriction base="{http://www.w3.org/2001/XMLSchema}string">
37 * <enumeration value="primary"/>
38 * <enumeration value="synonym"/>
39 * <enumeration value="ordered locus"/>
40 * <enumeration value="ORF"/>
51 @XmlAccessorType(XmlAccessType.FIELD)
52 @XmlType(name = "geneNameType", propOrder = { "value" })
53 public class GeneNameType
57 protected String value;
59 @XmlAttribute(name = "evidence")
60 protected List<Integer> evidence;
62 @XmlAttribute(name = "type", required = true)
63 protected String type;
66 * Gets the value of the value property.
68 * @return possible object is {@link String }
71 public String getValue()
77 * Sets the value of the value property.
80 * allowed object is {@link String }
83 public void setValue(String value)
89 * Gets the value of the evidence property.
92 * This accessor method returns a reference to the live list, not a snapshot.
93 * Therefore any modification you make to the returned list will be present
94 * inside the JAXB object. This is why there is not a <CODE>set</CODE> method
95 * for the evidence property.
98 * For example, to add a new item, do as follows:
101 * getEvidence().add(newItem);
106 * Objects of the following type(s) are allowed in the list {@link Integer }
110 public List<Integer> getEvidence()
112 if (evidence == null)
114 evidence = new ArrayList<Integer>();
116 return this.evidence;
120 * Gets the value of the type property.
122 * @return possible object is {@link String }
125 public String getType()
131 * Sets the value of the type property.
134 * allowed object is {@link String }
137 public void setType(String value)