Merge branch 'patch/JAL-4311_import_pLDDT_scores_from_nonAlphaFold_sources' into...
[jalview.git] / src / jalview / xml / binding / jalview / MapListType.java
1 //
2 // This file was generated by the Eclipse Implementation of JAXB, v2.3.3 
3 // See https://eclipse-ee4j.github.io/jaxb-ri 
4 // Any modifications to this file will be lost upon recompilation of the source schema. 
5 // Generated on: 2023.09.01 at 02:16:11 PM BST 
6 //
7
8
9 package jalview.xml.binding.jalview;
10
11 import java.math.BigInteger;
12 import java.util.ArrayList;
13 import java.util.List;
14 import javax.xml.bind.annotation.XmlAccessType;
15 import javax.xml.bind.annotation.XmlAccessorType;
16 import javax.xml.bind.annotation.XmlAttribute;
17 import javax.xml.bind.annotation.XmlSchemaType;
18 import javax.xml.bind.annotation.XmlSeeAlso;
19 import javax.xml.bind.annotation.XmlType;
20
21
22 /**
23  * 
24  *                              This effectively represents a java.util.MapList
25  *                              object
26  *                      
27  * 
28  * <p>Java class for mapListType complex type.
29  * 
30  * <p>The following schema fragment specifies the expected content contained within this class.
31  * 
32  * <pre>
33  * <complexType name="mapListType">
34  *   <complexContent>
35  *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
36  *       <sequence>
37  *         <element name="mapListFrom" maxOccurs="unbounded" minOccurs="0">
38  *           <complexType>
39  *             <complexContent>
40  *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
41  *                 <attribute name="start" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
42  *                 <attribute name="end" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
43  *               </restriction>
44  *             </complexContent>
45  *           </complexType>
46  *         </element>
47  *         <element name="mapListTo" maxOccurs="unbounded" minOccurs="0">
48  *           <complexType>
49  *             <complexContent>
50  *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
51  *                 <attribute name="start" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
52  *                 <attribute name="end" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
53  *               </restriction>
54  *             </complexContent>
55  *           </complexType>
56  *         </element>
57  *       </sequence>
58  *       <attribute name="mapFromUnit" use="required" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" />
59  *       <attribute name="mapToUnit" use="required" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" />
60  *     </restriction>
61  *   </complexContent>
62  * </complexType>
63  * </pre>
64  * 
65  * 
66  */
67 @XmlAccessorType(XmlAccessType.FIELD)
68 @XmlType(name = "mapListType", propOrder = {
69     "mapListFrom",
70     "mapListTo"
71 })
72 @XmlSeeAlso({
73     Mapping.class
74 })
75 public class MapListType {
76
77     protected List<MapListType.MapListFrom> mapListFrom;
78     protected List<MapListType.MapListTo> mapListTo;
79     @XmlAttribute(name = "mapFromUnit", required = true)
80     @XmlSchemaType(name = "positiveInteger")
81     protected BigInteger mapFromUnit;
82     @XmlAttribute(name = "mapToUnit", required = true)
83     @XmlSchemaType(name = "positiveInteger")
84     protected BigInteger mapToUnit;
85
86     /**
87      * Gets the value of the mapListFrom property.
88      * 
89      * &lt;p&gt;
90      * This accessor method returns a reference to the live list,
91      * not a snapshot. Therefore any modification you make to the
92      * returned list will be present inside the JAXB object.
93      * This is why there is not a &lt;CODE&gt;set&lt;/CODE&gt; method for the mapListFrom property.
94      * 
95      * &lt;p&gt;
96      * For example, to add a new item, do as follows:
97      * &lt;pre&gt;
98      *    getMapListFrom().add(newItem);
99      * &lt;/pre&gt;
100      * 
101      * 
102      * &lt;p&gt;
103      * Objects of the following type(s) are allowed in the list
104      * {@link MapListType.MapListFrom }
105      * 
106      * 
107      */
108     public List<MapListType.MapListFrom> getMapListFrom() {
109         if (mapListFrom == null) {
110             mapListFrom = new ArrayList<MapListType.MapListFrom>();
111         }
112         return this.mapListFrom;
113     }
114
115     /**
116      * Gets the value of the mapListTo property.
117      * 
118      * &lt;p&gt;
119      * This accessor method returns a reference to the live list,
120      * not a snapshot. Therefore any modification you make to the
121      * returned list will be present inside the JAXB object.
122      * This is why there is not a &lt;CODE&gt;set&lt;/CODE&gt; method for the mapListTo property.
123      * 
124      * &lt;p&gt;
125      * For example, to add a new item, do as follows:
126      * &lt;pre&gt;
127      *    getMapListTo().add(newItem);
128      * &lt;/pre&gt;
129      * 
130      * 
131      * &lt;p&gt;
132      * Objects of the following type(s) are allowed in the list
133      * {@link MapListType.MapListTo }
134      * 
135      * 
136      */
137     public List<MapListType.MapListTo> getMapListTo() {
138         if (mapListTo == null) {
139             mapListTo = new ArrayList<MapListType.MapListTo>();
140         }
141         return this.mapListTo;
142     }
143
144     /**
145      * Gets the value of the mapFromUnit property.
146      * 
147      * @return
148      *     possible object is
149      *     {@link BigInteger }
150      *     
151      */
152     public BigInteger getMapFromUnit() {
153         return mapFromUnit;
154     }
155
156     /**
157      * Sets the value of the mapFromUnit property.
158      * 
159      * @param value
160      *     allowed object is
161      *     {@link BigInteger }
162      *     
163      */
164     public void setMapFromUnit(BigInteger value) {
165         this.mapFromUnit = value;
166     }
167
168     /**
169      * Gets the value of the mapToUnit property.
170      * 
171      * @return
172      *     possible object is
173      *     {@link BigInteger }
174      *     
175      */
176     public BigInteger getMapToUnit() {
177         return mapToUnit;
178     }
179
180     /**
181      * Sets the value of the mapToUnit property.
182      * 
183      * @param value
184      *     allowed object is
185      *     {@link BigInteger }
186      *     
187      */
188     public void setMapToUnit(BigInteger value) {
189         this.mapToUnit = value;
190     }
191
192
193     /**
194      * &lt;p&gt;Java class for anonymous complex type.
195      * 
196      * &lt;p&gt;The following schema fragment specifies the expected content contained within this class.
197      * 
198      * &lt;pre&gt;
199      * &amp;lt;complexType&amp;gt;
200      *   &amp;lt;complexContent&amp;gt;
201      *     &amp;lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&amp;gt;
202      *       &amp;lt;attribute name="start" use="required" type="{http://www.w3.org/2001/XMLSchema}int" /&amp;gt;
203      *       &amp;lt;attribute name="end" use="required" type="{http://www.w3.org/2001/XMLSchema}int" /&amp;gt;
204      *     &amp;lt;/restriction&amp;gt;
205      *   &amp;lt;/complexContent&amp;gt;
206      * &amp;lt;/complexType&amp;gt;
207      * &lt;/pre&gt;
208      * 
209      * 
210      */
211     @XmlAccessorType(XmlAccessType.FIELD)
212     @XmlType(name = "")
213     public static class MapListFrom {
214
215         @XmlAttribute(name = "start", required = true)
216         protected int start;
217         @XmlAttribute(name = "end", required = true)
218         protected int end;
219
220         /**
221          * Gets the value of the start property.
222          * 
223          */
224         public int getStart() {
225             return start;
226         }
227
228         /**
229          * Sets the value of the start property.
230          * 
231          */
232         public void setStart(int value) {
233             this.start = value;
234         }
235
236         /**
237          * Gets the value of the end property.
238          * 
239          */
240         public int getEnd() {
241             return end;
242         }
243
244         /**
245          * Sets the value of the end property.
246          * 
247          */
248         public void setEnd(int value) {
249             this.end = value;
250         }
251
252     }
253
254
255     /**
256      * &lt;p&gt;Java class for anonymous complex type.
257      * 
258      * &lt;p&gt;The following schema fragment specifies the expected content contained within this class.
259      * 
260      * &lt;pre&gt;
261      * &amp;lt;complexType&amp;gt;
262      *   &amp;lt;complexContent&amp;gt;
263      *     &amp;lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&amp;gt;
264      *       &amp;lt;attribute name="start" use="required" type="{http://www.w3.org/2001/XMLSchema}int" /&amp;gt;
265      *       &amp;lt;attribute name="end" use="required" type="{http://www.w3.org/2001/XMLSchema}int" /&amp;gt;
266      *     &amp;lt;/restriction&amp;gt;
267      *   &amp;lt;/complexContent&amp;gt;
268      * &amp;lt;/complexType&amp;gt;
269      * &lt;/pre&gt;
270      * 
271      * 
272      */
273     @XmlAccessorType(XmlAccessType.FIELD)
274     @XmlType(name = "")
275     public static class MapListTo {
276
277         @XmlAttribute(name = "start", required = true)
278         protected int start;
279         @XmlAttribute(name = "end", required = true)
280         protected int end;
281
282         /**
283          * Gets the value of the start property.
284          * 
285          */
286         public int getStart() {
287             return start;
288         }
289
290         /**
291          * Sets the value of the start property.
292          * 
293          */
294         public void setStart(int value) {
295             this.start = value;
296         }
297
298         /**
299          * Gets the value of the end property.
300          * 
301          */
302         public int getEnd() {
303             return end;
304         }
305
306         /**
307          * Sets the value of the end property.
308          * 
309          */
310         public void setEnd(int value) {
311             this.end = value;
312         }
313
314     }
315
316 }