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.01.31 at 04:07:10 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 * <complexType name="geneType">
30 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
32 * <element name="name" type="{http://uniprot.org/uniprot}geneNameType" maxOccurs="unbounded"/>
35 * </complexContent>
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>();