JAL-3785 JAL- Merge branch 'bug/JAL-3785autoOverviewTitle' into 2_11_2_develop
[jalview.git] / src / jalview / xml / binding / uniprot / GeneType.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.XmlElement;
16 import javax.xml.bind.annotation.XmlType;
17
18
19 /**
20  * Describes a gene.
21  *             Equivalent to the flat file GN-line.
22  * 
23  * <p>Java class for geneType complex type.
24  * 
25  * <p>The following schema fragment specifies the expected content contained within this class.
26  * 
27  * <pre>
28  * <complexType name="geneType">
29  *   <complexContent>
30  *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
31  *       <sequence>
32  *         <element name="name" type="{http://uniprot.org/uniprot}geneNameType" maxOccurs="unbounded"/>
33  *       </sequence>
34  *     </restriction>
35  *   </complexContent>
36  * </complexType>
37  * </pre>
38  * 
39  * 
40  */
41 @XmlAccessorType(XmlAccessType.FIELD)
42 @XmlType(name = "geneType", propOrder = {
43     "name"
44 })
45 public class GeneType {
46
47     @XmlElement(required = true)
48     protected List<GeneNameType> name;
49
50     /**
51      * Gets the value of the name property.
52      * 
53      * &lt;p&gt;
54      * This accessor method returns a reference to the live list,
55      * not a snapshot. Therefore any modification you make to the
56      * returned list will be present inside the JAXB object.
57      * This is why there is not a &lt;CODE&gt;set&lt;/CODE&gt; method for the name property.
58      * 
59      * &lt;p&gt;
60      * For example, to add a new item, do as follows:
61      * &lt;pre&gt;
62      *    getName().add(newItem);
63      * &lt;/pre&gt;
64      * 
65      * 
66      * &lt;p&gt;
67      * Objects of the following type(s) are allowed in the list
68      * {@link GeneNameType }
69      * 
70      * 
71      */
72     public List<GeneNameType> getName() {
73         if (name == null) {
74             name = new ArrayList<GeneNameType>();
75         }
76         return this.name;
77     }
78
79 }