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