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: 2023.11.01 at 07:03:09 PM GMT
8 package jalview.xml.binding.jalview;
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;
22 * This effectively represents a java.util.MapList object
25 * <p>Java class for mapListType complex type.
27 * <p>The following schema fragment specifies the expected content
28 * contained within this class.
30 * <pre> &lt;complexType name="mapListType"&gt;
31 * &lt;complexContent&gt; &lt;restriction
32 * base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
33 * &lt;sequence&gt; &lt;element name="mapListFrom"
34 * maxOccurs="unbounded" minOccurs="0"&gt; &lt;complexType&gt;
35 * &lt;complexContent&gt; &lt;restriction
36 * base="{http://www.w3.org/2001/XMLSchema}anyType"&gt; &lt;attribute
37 * name="start" use="required" type="{http://www.w3.org/2001/XMLSchema}int"
38 * /&gt; &lt;attribute name="end" use="required"
39 * type="{http://www.w3.org/2001/XMLSchema}int" /&gt;
40 * &lt;/restriction&gt; &lt;/complexContent&gt;
41 * &lt;/complexType&gt; &lt;/element&gt; &lt;element
42 * name="mapListTo" maxOccurs="unbounded" minOccurs="0"&gt;
43 * &lt;complexType&gt; &lt;complexContent&gt;
44 * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
45 * &lt;attribute name="start" use="required"
46 * type="{http://www.w3.org/2001/XMLSchema}int" /&gt; &lt;attribute
47 * name="end" use="required" type="{http://www.w3.org/2001/XMLSchema}int"
48 * /&gt; &lt;/restriction&gt; &lt;/complexContent&gt;
49 * &lt;/complexType&gt; &lt;/element&gt;
50 * &lt;/sequence&gt; &lt;attribute name="mapFromUnit" use="required"
51 * type="{http://www.w3.org/2001/XMLSchema}positiveInteger" /&gt;
52 * &lt;attribute name="mapToUnit" use="required"
53 * type="{http://www.w3.org/2001/XMLSchema}positiveInteger" /&gt;
54 * &lt;/restriction&gt; &lt;/complexContent&gt;
55 * &lt;/complexType&gt; </pre>
59 @XmlAccessorType(XmlAccessType.FIELD)
60 @XmlType(name = "mapListType", propOrder = { "mapListFrom", "mapListTo" })
61 @XmlSeeAlso({ Mapping.class })
62 public class MapListType
65 protected List<MapListType.MapListFrom> mapListFrom;
67 protected List<MapListType.MapListTo> mapListTo;
69 @XmlAttribute(name = "mapFromUnit", required = true)
70 @XmlSchemaType(name = "positiveInteger")
71 protected BigInteger mapFromUnit;
73 @XmlAttribute(name = "mapToUnit", required = true)
74 @XmlSchemaType(name = "positiveInteger")
75 protected BigInteger mapToUnit;
78 * Gets the value of the mapListFrom property.
80 * <p> 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 * <CODE>set</CODE> method for the mapListFrom property.
85 * <p> For example, to add a new item, do as follows: <pre>
86 * getMapListFrom().add(newItem); </pre>
89 * <p> Objects of the following type(s) are allowed in the list
90 * {@link MapListType.MapListFrom }
94 public List<MapListType.MapListFrom> getMapListFrom()
96 if (mapListFrom == null)
98 mapListFrom = new ArrayList<MapListType.MapListFrom>();
100 return this.mapListFrom;
104 * Gets the value of the mapListTo property.
106 * <p> 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 * <CODE>set</CODE> method for the mapListTo property.
111 * <p> For example, to add a new item, do as follows: <pre>
112 * getMapListTo().add(newItem); </pre>
115 * <p> Objects of the following type(s) are allowed in the list
116 * {@link MapListType.MapListTo }
120 public List<MapListType.MapListTo> getMapListTo()
122 if (mapListTo == null)
124 mapListTo = new ArrayList<MapListType.MapListTo>();
126 return this.mapListTo;
130 * Gets the value of the mapFromUnit property.
132 * @return possible object is {@link BigInteger }
135 public BigInteger getMapFromUnit()
141 * Sets the value of the mapFromUnit property.
144 * allowed object is {@link BigInteger }
147 public void setMapFromUnit(BigInteger value)
149 this.mapFromUnit = value;
153 * Gets the value of the mapToUnit property.
155 * @return possible object is {@link BigInteger }
158 public BigInteger getMapToUnit()
164 * Sets the value of the mapToUnit property.
167 * allowed object is {@link BigInteger }
170 public void setMapToUnit(BigInteger value)
172 this.mapToUnit = value;
176 * <p>Java class for anonymous complex type.
178 * <p>The following schema fragment specifies the expected content
179 * contained within this class.
181 * <pre> &lt;complexType&gt; &lt;complexContent&gt;
182 * &lt;restriction
183 * base="{http://www.w3.org/2001/XMLSchema}anyType"&gt; &lt;attribute
184 * name="start" use="required" type="{http://www.w3.org/2001/XMLSchema}int"
185 * /&gt; &lt;attribute name="end" use="required"
186 * type="{http://www.w3.org/2001/XMLSchema}int" /&gt;
187 * &lt;/restriction&gt; &lt;/complexContent&gt;
188 * &lt;/complexType&gt; </pre>
192 @XmlAccessorType(XmlAccessType.FIELD)
194 public static class MapListFrom
197 @XmlAttribute(name = "start", required = true)
200 @XmlAttribute(name = "end", required = true)
204 * Gets the value of the start property.
207 public int getStart()
213 * Sets the value of the start property.
216 public void setStart(int value)
222 * Gets the value of the end property.
231 * Sets the value of the end property.
234 public void setEnd(int value)
242 * <p>Java class for anonymous complex type.
244 * <p>The following schema fragment specifies the expected content
245 * contained within this class.
247 * <pre> &lt;complexType&gt; &lt;complexContent&gt;
248 * &lt;restriction
249 * base="{http://www.w3.org/2001/XMLSchema}anyType"&gt; &lt;attribute
250 * name="start" use="required" type="{http://www.w3.org/2001/XMLSchema}int"
251 * /&gt; &lt;attribute name="end" use="required"
252 * type="{http://www.w3.org/2001/XMLSchema}int" /&gt;
253 * &lt;/restriction&gt; &lt;/complexContent&gt;
254 * &lt;/complexType&gt; </pre>
258 @XmlAccessorType(XmlAccessType.FIELD)
260 public static class MapListTo
263 @XmlAttribute(name = "start", required = true)
266 @XmlAttribute(name = "end", required = true)
270 * Gets the value of the start property.
273 public int getStart()
279 * Sets the value of the start property.
282 public void setStart(int value)
288 * Gets the value of the end property.
297 * Sets the value of the end property.
300 public void setEnd(int value)