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: 2019.04.05 at 08:01:44 AM BST
8 package jalview.xml.binding.uniprot;
10 import java.util.ArrayList;
11 import java.util.List;
12 import javax.xml.bind.annotation.XmlAccessType;
13 import javax.xml.bind.annotation.XmlAccessorType;
14 import javax.xml.bind.annotation.XmlAttribute;
15 import javax.xml.bind.annotation.XmlType;
18 * Describes non-nuclear gene locations (organelles and plasmids). Equivalent to
19 * the flat file OG-line.
22 * Java class for geneLocationType complex type.
25 * The following schema fragment specifies the expected content contained within
29 * <complexType name="geneLocationType">
31 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
33 * <element name="name" type="{http://uniprot.org/uniprot}statusType" maxOccurs="unbounded" minOccurs="0"/>
35 * <attribute name="type" use="required">
37 * <restriction base="{http://www.w3.org/2001/XMLSchema}string">
38 * <enumeration value="apicoplast"/>
39 * <enumeration value="chloroplast"/>
40 * <enumeration value="organellar chromatophore"/>
41 * <enumeration value="cyanelle"/>
42 * <enumeration value="hydrogenosome"/>
43 * <enumeration value="mitochondrion"/>
44 * <enumeration value="non-photosynthetic plastid"/>
45 * <enumeration value="nucleomorph"/>
46 * <enumeration value="plasmid"/>
47 * <enumeration value="plastid"/>
51 * <attribute name="evidence" type="{http://uniprot.org/uniprot}intListType" />
53 * </complexContent>
59 @XmlAccessorType(XmlAccessType.FIELD)
60 @XmlType(name = "geneLocationType", propOrder = { "name" })
61 public class GeneLocationType
64 protected List<StatusType> name;
66 @XmlAttribute(name = "type", required = true)
67 protected String type;
69 @XmlAttribute(name = "evidence")
70 protected List<Integer> evidence;
73 * Gets the value of the name property.
76 * This accessor method returns a reference to the live list, not a snapshot.
77 * Therefore any modification you make to the returned list will be present
78 * inside the JAXB object. This is why there is not a <CODE>set</CODE> method
79 * for the name property.
82 * For example, to add a new item, do as follows:
85 * getName().add(newItem);
90 * Objects of the following type(s) are allowed in the list {@link StatusType
95 public List<StatusType> getName()
99 name = new ArrayList<StatusType>();
105 * Gets the value of the type property.
107 * @return possible object is {@link String }
110 public String getType()
116 * Sets the value of the type property.
119 * allowed object is {@link String }
122 public void setType(String value)
128 * Gets the value of the evidence property.
131 * This accessor method returns a reference to the live list, not a snapshot.
132 * Therefore any modification you make to the returned list will be present
133 * inside the JAXB object. This is why there is not a <CODE>set</CODE> method
134 * for the evidence property.
137 * For example, to add a new item, do as follows:
140 * getEvidence().add(newItem);
145 * Objects of the following type(s) are allowed in the list {@link Integer }
149 public List<Integer> getEvidence()
151 if (evidence == null)
153 evidence = new ArrayList<Integer>();
155 return this.evidence;