b9ff7d38ddb62c464351c548d981aa4e65d22648
[jalview.git] / src / jalview / xml / binding / uniprot / SubcellularLocationType.java
1 //
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 
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 the subcellular location and optionally the topology and orientation of a molecule.
21  * 
22  * <p>Java class for subcellularLocationType complex type.
23  * 
24  * <p>The following schema fragment specifies the expected content contained within this class.
25  * 
26  * <pre>
27  * &lt;complexType name="subcellularLocationType">
28  *   &lt;complexContent>
29  *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
30  *       &lt;sequence>
31  *         &lt;element name="location" type="{http://uniprot.org/uniprot}evidencedStringType" maxOccurs="unbounded"/>
32  *         &lt;element name="topology" type="{http://uniprot.org/uniprot}evidencedStringType" maxOccurs="unbounded" minOccurs="0"/>
33  *         &lt;element name="orientation" type="{http://uniprot.org/uniprot}evidencedStringType" maxOccurs="unbounded" minOccurs="0"/>
34  *       &lt;/sequence>
35  *     &lt;/restriction>
36  *   &lt;/complexContent>
37  * &lt;/complexType>
38  * </pre>
39  * 
40  * 
41  */
42 @XmlAccessorType(XmlAccessType.FIELD)
43 @XmlType(name = "subcellularLocationType", propOrder = {
44     "location",
45     "topology",
46     "orientation"
47 })
48 public class SubcellularLocationType {
49
50     @XmlElement(required = true)
51     protected List<EvidencedStringType> location;
52     protected List<EvidencedStringType> topology;
53     protected List<EvidencedStringType> orientation;
54
55     /**
56      * Gets the value of the location property.
57      * 
58      * <p>
59      * This accessor method returns a reference to the live list,
60      * not a snapshot. Therefore any modification you make to the
61      * returned list will be present inside the JAXB object.
62      * This is why there is not a <CODE>set</CODE> method for the location property.
63      * 
64      * <p>
65      * For example, to add a new item, do as follows:
66      * <pre>
67      *    getLocation().add(newItem);
68      * </pre>
69      * 
70      * 
71      * <p>
72      * Objects of the following type(s) are allowed in the list
73      * {@link EvidencedStringType }
74      * 
75      * 
76      */
77     public List<EvidencedStringType> getLocation() {
78         if (location == null) {
79             location = new ArrayList<EvidencedStringType>();
80         }
81         return this.location;
82     }
83
84     /**
85      * Gets the value of the topology property.
86      * 
87      * <p>
88      * This accessor method returns a reference to the live list,
89      * not a snapshot. Therefore any modification you make to the
90      * returned list will be present inside the JAXB object.
91      * This is why there is not a <CODE>set</CODE> method for the topology property.
92      * 
93      * <p>
94      * For example, to add a new item, do as follows:
95      * <pre>
96      *    getTopology().add(newItem);
97      * </pre>
98      * 
99      * 
100      * <p>
101      * Objects of the following type(s) are allowed in the list
102      * {@link EvidencedStringType }
103      * 
104      * 
105      */
106     public List<EvidencedStringType> getTopology() {
107         if (topology == null) {
108             topology = new ArrayList<EvidencedStringType>();
109         }
110         return this.topology;
111     }
112
113     /**
114      * Gets the value of the orientation property.
115      * 
116      * <p>
117      * This accessor method returns a reference to the live list,
118      * not a snapshot. Therefore any modification you make to the
119      * returned list will be present inside the JAXB object.
120      * This is why there is not a <CODE>set</CODE> method for the orientation property.
121      * 
122      * <p>
123      * For example, to add a new item, do as follows:
124      * <pre>
125      *    getOrientation().add(newItem);
126      * </pre>
127      * 
128      * 
129      * <p>
130      * Objects of the following type(s) are allowed in the list
131      * {@link EvidencedStringType }
132      * 
133      * 
134      */
135     public List<EvidencedStringType> getOrientation() {
136         if (orientation == null) {
137             orientation = new ArrayList<EvidencedStringType>();
138         }
139         return this.orientation;
140     }
141
142 }