JAL-4124 Dataset holds list of MatrixType instances, MapOnAMatrixType allows multiple...
[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.08.28 at 01:52:46 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  * &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 = {
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      * <p>
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 <CODE>set</CODE> method for the mapListFrom property.
94      * 
95      * <p>
96      * For example, to add a new item, do as follows:
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         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      * <p>
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 <CODE>set</CODE> method for the mapListTo property.
123      * 
124      * <p>
125      * For example, to add a new item, do as follows:
126      * <pre>
127      *    getMapListTo().add(newItem);
128      * </pre>
129      * 
130      * 
131      * <p>
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      * <p>Java class for anonymous complex type.
195      * 
196      * <p>The following schema fragment specifies the expected content contained within this class.
197      * 
198      * <pre>
199      * &lt;complexType>
200      *   &lt;complexContent>
201      *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
202      *       &lt;attribute name="start" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
203      *       &lt;attribute name="end" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
204      *     &lt;/restriction>
205      *   &lt;/complexContent>
206      * &lt;/complexType>
207      * </pre>
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      * <p>Java class for anonymous complex type.
257      * 
258      * <p>The following schema fragment specifies the expected content contained within this class.
259      * 
260      * <pre>
261      * &lt;complexType>
262      *   &lt;complexContent>
263      *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
264      *       &lt;attribute name="start" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
265      *       &lt;attribute name="end" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
266      *     &lt;/restriction>
267      *   &lt;/complexContent>
268      * &lt;/complexType>
269      * </pre>
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 }