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