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