JAL-3785 JAL- Merge branch 'bug/JAL-3785autoOverviewTitle' into 2_11_2_develop
[jalview.git] / src / jalview / xml / binding / uniprot / GeneLocationType.java
1 //
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 
6 //
7
8
9 package jalview.xml.binding.uniprot;
10
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
18
19 /**
20  * Describes non-nuclear gene locations (organelles and plasmids).
21  *             Equivalent to the flat file OG-line.
22  * 
23  * <p>Java class for geneLocationType complex type.
24  * 
25  * <p>The following schema fragment specifies the expected content contained within this class.
26  * 
27  * <pre>
28  * <complexType name="geneLocationType">
29  *   <complexContent>
30  *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
31  *       <sequence>
32  *         <element name="name" type="{http://uniprot.org/uniprot}statusType" maxOccurs="unbounded" minOccurs="0"/>
33  *       </sequence>
34  *       <attribute name="type" use="required">
35  *         <simpleType>
36  *           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
37  *             <enumeration value="apicoplast"/>
38  *             <enumeration value="chloroplast"/>
39  *             <enumeration value="organellar chromatophore"/>
40  *             <enumeration value="cyanelle"/>
41  *             <enumeration value="hydrogenosome"/>
42  *             <enumeration value="mitochondrion"/>
43  *             <enumeration value="non-photosynthetic plastid"/>
44  *             <enumeration value="nucleomorph"/>
45  *             <enumeration value="plasmid"/>
46  *             <enumeration value="plastid"/>
47  *           </restriction>
48  *         </simpleType>
49  *       </attribute>
50  *       <attribute name="evidence" type="{http://uniprot.org/uniprot}intListType" />
51  *     </restriction>
52  *   </complexContent>
53  * </complexType>
54  * </pre>
55  * 
56  * 
57  */
58 @XmlAccessorType(XmlAccessType.FIELD)
59 @XmlType(name = "geneLocationType", propOrder = {
60     "name"
61 })
62 public class GeneLocationType {
63
64     protected List<StatusType> name;
65     @XmlAttribute(name = "type", required = true)
66     protected String type;
67     @XmlAttribute(name = "evidence")
68     protected List<Integer> evidence;
69
70     /**
71      * Gets the value of the name property.
72      * 
73      * &lt;p&gt;
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 &lt;CODE&gt;set&lt;/CODE&gt; method for the name property.
78      * 
79      * &lt;p&gt;
80      * For example, to add a new item, do as follows:
81      * &lt;pre&gt;
82      *    getName().add(newItem);
83      * &lt;/pre&gt;
84      * 
85      * 
86      * &lt;p&gt;
87      * Objects of the following type(s) are allowed in the list
88      * {@link StatusType }
89      * 
90      * 
91      */
92     public List<StatusType> getName() {
93         if (name == null) {
94             name = new ArrayList<StatusType>();
95         }
96         return this.name;
97     }
98
99     /**
100      * Gets the value of the type property.
101      * 
102      * @return
103      *     possible object is
104      *     {@link String }
105      *     
106      */
107     public String getType() {
108         return type;
109     }
110
111     /**
112      * Sets the value of the type property.
113      * 
114      * @param value
115      *     allowed object is
116      *     {@link String }
117      *     
118      */
119     public void setType(String value) {
120         this.type = value;
121     }
122
123     /**
124      * Gets the value of the evidence property.
125      * 
126      * &lt;p&gt;
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 &lt;CODE&gt;set&lt;/CODE&gt; method for the evidence property.
131      * 
132      * &lt;p&gt;
133      * For example, to add a new item, do as follows:
134      * &lt;pre&gt;
135      *    getEvidence().add(newItem);
136      * &lt;/pre&gt;
137      * 
138      * 
139      * &lt;p&gt;
140      * Objects of the following type(s) are allowed in the list
141      * {@link Integer }
142      * 
143      * 
144      */
145     public List<Integer> getEvidence() {
146         if (evidence == null) {
147             evidence = new ArrayList<Integer>();
148         }
149         return this.evidence;
150     }
151
152 }