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.XmlElement;
16 import javax.xml.bind.annotation.XmlType;
21 * Equivalent to the flat file GN-line.
23 * <p>Java class for geneType complex type.
25 * <p>The following schema fragment specifies the expected content contained within this class.
28 * &lt;complexType name="geneType"&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}geneNameType" maxOccurs="unbounded"/&gt;
33 * &lt;/sequence&gt;
34 * &lt;/restriction&gt;
35 * &lt;/complexContent&gt;
36 * &lt;/complexType&gt;
41 @XmlAccessorType(XmlAccessType.FIELD)
42 @XmlType(name = "geneType", propOrder = {
45 public class GeneType {
47 @XmlElement(required = true)
48 protected List<GeneNameType> name;
51 * Gets the value of the name property.
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 <CODE>set</CODE> method for the name property.
60 * For example, to add a new item, do as follows:
62 * getName().add(newItem);
67 * Objects of the following type(s) are allowed in the list
68 * {@link GeneNameType }
72 public List<GeneNameType> getName() {
74 name = new ArrayList<GeneNameType>();