JAL-3063 top level element added to JalviewWsParamSet.xsd
[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: 2018.09.28 at 12:18:54 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 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  * &lt;complexType name="mapListType">
33  *   &lt;complexContent>
34  *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
35  *       &lt;sequence>
36  *         &lt;element name="mapListFrom" maxOccurs="unbounded" minOccurs="0">
37  *           &lt;complexType>
38  *             &lt;complexContent>
39  *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
40  *                 &lt;attribute name="start" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
41  *                 &lt;attribute name="end" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
42  *               &lt;/restriction>
43  *             &lt;/complexContent>
44  *           &lt;/complexType>
45  *         &lt;/element>
46  *         &lt;element name="mapListTo" maxOccurs="unbounded" minOccurs="0">
47  *           &lt;complexType>
48  *             &lt;complexContent>
49  *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
50  *                 &lt;attribute name="start" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
51  *                 &lt;attribute name="end" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
52  *               &lt;/restriction>
53  *             &lt;/complexContent>
54  *           &lt;/complexType>
55  *         &lt;/element>
56  *       &lt;/sequence>
57  *       &lt;attribute name="mapFromUnit" use="required" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" />
58  *       &lt;attribute name="mapToUnit" use="required" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" />
59  *     &lt;/restriction>
60  *   &lt;/complexContent>
61  * &lt;/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      * <p>
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 <CODE>set</CODE> method for the mapListFrom property.
93      * 
94      * <p>
95      * For example, to add a new item, do as follows:
96      * <pre>
97      *    getMapListFrom().add(newItem);
98      * </pre>
99      * 
100      * 
101      * <p>
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      * <p>
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 <CODE>set</CODE> method for the mapListTo property.
122      * 
123      * <p>
124      * For example, to add a new item, do as follows:
125      * <pre>
126      *    getMapListTo().add(newItem);
127      * </pre>
128      * 
129      * 
130      * <p>
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      * <p>Java class for anonymous complex type.
194      * 
195      * <p>The following schema fragment specifies the expected content contained within this class.
196      * 
197      * <pre>
198      * &lt;complexType>
199      *   &lt;complexContent>
200      *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
201      *       &lt;attribute name="start" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
202      *       &lt;attribute name="end" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
203      *     &lt;/restriction>
204      *   &lt;/complexContent>
205      * &lt;/complexType>
206      * </pre>
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      * <p>Java class for anonymous complex type.
256      * 
257      * <p>The following schema fragment specifies the expected content contained within this class.
258      * 
259      * <pre>
260      * &lt;complexType>
261      *   &lt;complexContent>
262      *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
263      *       &lt;attribute name="start" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
264      *       &lt;attribute name="end" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
265      *     &lt;/restriction>
266      *   &lt;/complexContent>
267      * &lt;/complexType>
268      * </pre>
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 }