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;
20 * Describes non-nuclear gene locations (organelles and plasmids).
21 * Equivalent to the flat file OG-line.
23 * <p>Java class for geneLocationType complex type.
25 * <p>The following schema fragment specifies the expected content contained within this class.
28 * &lt;complexType name="geneLocationType"&gt;
29 * &lt;complexContent&gt;
30 * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
31 * &lt;sequence&gt;
32 * &lt;element name="name" type="{http://uniprot.org/uniprot}statusType" maxOccurs="unbounded" minOccurs="0"/&gt;
33 * &lt;/sequence&gt;
34 * &lt;attribute name="type" use="required"&gt;
35 * &lt;simpleType&gt;
36 * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string"&gt;
37 * &lt;enumeration value="apicoplast"/&gt;
38 * &lt;enumeration value="chloroplast"/&gt;
39 * &lt;enumeration value="organellar chromatophore"/&gt;
40 * &lt;enumeration value="cyanelle"/&gt;
41 * &lt;enumeration value="hydrogenosome"/&gt;
42 * &lt;enumeration value="mitochondrion"/&gt;
43 * &lt;enumeration value="non-photosynthetic plastid"/&gt;
44 * &lt;enumeration value="nucleomorph"/&gt;
45 * &lt;enumeration value="plasmid"/&gt;
46 * &lt;enumeration value="plastid"/&gt;
47 * &lt;/restriction&gt;
48 * &lt;/simpleType&gt;
49 * &lt;/attribute&gt;
50 * &lt;attribute name="evidence" type="{http://uniprot.org/uniprot}intListType" /&gt;
51 * &lt;/restriction&gt;
52 * &lt;/complexContent&gt;
53 * &lt;/complexType&gt;
58 @XmlAccessorType(XmlAccessType.FIELD)
59 @XmlType(name = "geneLocationType", propOrder = {
62 public class GeneLocationType {
64 protected List<StatusType> name;
65 @XmlAttribute(name = "type", required = true)
66 protected String type;
67 @XmlAttribute(name = "evidence")
68 protected List<Integer> evidence;
71 * Gets the value of the name property.
74 * This accessor method returns a reference to the live list,
75 * not a snapshot. Therefore any modification you make to the
76 * returned list will be present inside the JAXB object.
77 * This is why there is not a <CODE>set</CODE> method for the name property.
80 * For example, to add a new item, do as follows:
82 * getName().add(newItem);
87 * Objects of the following type(s) are allowed in the list
92 public List<StatusType> getName() {
94 name = new ArrayList<StatusType>();
100 * Gets the value of the type property.
107 public String getType() {
112 * Sets the value of the type property.
119 public void setType(String value) {
124 * Gets the value of the evidence property.
127 * This accessor method returns a reference to the live list,
128 * not a snapshot. Therefore any modification you make to the
129 * returned list will be present inside the JAXB object.
130 * This is why there is not a <CODE>set</CODE> method for the evidence property.
133 * For example, to add a new item, do as follows:
135 * getEvidence().add(newItem);
140 * Objects of the following type(s) are allowed in the list
145 public List<Integer> getEvidence() {
146 if (evidence == null) {
147 evidence = new ArrayList<Integer>();
149 return this.evidence;