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
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.XmlAttribute;
16 import javax.xml.bind.annotation.XmlType;
20 * Describes non-nuclear gene locations (organelles and plasmids).
21 * Equivalent to the flat file OG-line.
23 * <p>Java class for geneLocationType complex type.
25 * <p>The following schema fragment specifies the expected content contained within this class.
28 * <complexType name="geneLocationType">
30 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
32 * <element name="name" type="{http://uniprot.org/uniprot}statusType" maxOccurs="unbounded" minOccurs="0"/>
34 * <attribute name="type" use="required">
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"/>
50 * <attribute name="evidence" type="{http://uniprot.org/uniprot}intListType" />
52 * </complexContent>
58 @XmlAccessorType(XmlAccessType.FIELD)
59 @XmlType(name = "geneLocationType", propOrder = {
62 public class GeneLocationType {
64 protected List<StatusType> name;
65 @XmlAttribute(name = "type", required = true)
66 protected String type;
67 @XmlAttribute(name = "evidence")
68 protected List<Integer> evidence;
71 * Gets the value of the name property.
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 <CODE>set</CODE> method for the name property.
80 * For example, to add a new item, do as follows:
82 * getName().add(newItem);
87 * Objects of the following type(s) are allowed in the list
92 public List<StatusType> getName() {
94 name = new ArrayList<StatusType>();
100 * Gets the value of the type property.
107 public String getType() {
112 * Sets the value of the type property.
119 public void setType(String value) {
124 * Gets the value of the evidence property.
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 <CODE>set</CODE> method for the evidence property.
133 * For example, to add a new item, do as follows:
135 * getEvidence().add(newItem);
140 * Objects of the following type(s) are allowed in the list
145 public List<Integer> getEvidence() {
146 if (evidence == null) {
147 evidence = new ArrayList<Integer>();
149 return this.evidence;