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