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.09.01 at 02:16:11 PM BST
9 package jalview.xml.binding.jalview;
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;
24 * This effectively represents a java.util.MapList
28 * <p>Java class for mapListType complex type.
30 * <p>The following schema fragment specifies the expected content contained within this class.
33 * &lt;complexType name="mapListType"&gt;
34 * &lt;complexContent&gt;
35 * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
36 * &lt;sequence&gt;
37 * &lt;element name="mapListFrom" maxOccurs="unbounded" minOccurs="0"&gt;
38 * &lt;complexType&gt;
39 * &lt;complexContent&gt;
40 * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
41 * &lt;attribute name="start" use="required" type="{http://www.w3.org/2001/XMLSchema}int" /&gt;
42 * &lt;attribute name="end" use="required" type="{http://www.w3.org/2001/XMLSchema}int" /&gt;
43 * &lt;/restriction&gt;
44 * &lt;/complexContent&gt;
45 * &lt;/complexType&gt;
46 * &lt;/element&gt;
47 * &lt;element name="mapListTo" maxOccurs="unbounded" minOccurs="0"&gt;
48 * &lt;complexType&gt;
49 * &lt;complexContent&gt;
50 * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
51 * &lt;attribute name="start" use="required" type="{http://www.w3.org/2001/XMLSchema}int" /&gt;
52 * &lt;attribute name="end" use="required" type="{http://www.w3.org/2001/XMLSchema}int" /&gt;
53 * &lt;/restriction&gt;
54 * &lt;/complexContent&gt;
55 * &lt;/complexType&gt;
56 * &lt;/element&gt;
57 * &lt;/sequence&gt;
58 * &lt;attribute name="mapFromUnit" use="required" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" /&gt;
59 * &lt;attribute name="mapToUnit" use="required" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" /&gt;
60 * &lt;/restriction&gt;
61 * &lt;/complexContent&gt;
62 * &lt;/complexType&gt;
67 @XmlAccessorType(XmlAccessType.FIELD)
68 @XmlType(name = "mapListType", propOrder = {
75 public class MapListType {
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;
87 * Gets the value of the mapListFrom property.
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.
96 * For example, to add a new item, do as follows:
98 * getMapListFrom().add(newItem);
103 * Objects of the following type(s) are allowed in the list
104 * {@link MapListType.MapListFrom }
108 public List<MapListType.MapListFrom> getMapListFrom() {
109 if (mapListFrom == null) {
110 mapListFrom = new ArrayList<MapListType.MapListFrom>();
112 return this.mapListFrom;
116 * Gets the value of the mapListTo property.
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.
125 * For example, to add a new item, do as follows:
127 * getMapListTo().add(newItem);
132 * Objects of the following type(s) are allowed in the list
133 * {@link MapListType.MapListTo }
137 public List<MapListType.MapListTo> getMapListTo() {
138 if (mapListTo == null) {
139 mapListTo = new ArrayList<MapListType.MapListTo>();
141 return this.mapListTo;
145 * Gets the value of the mapFromUnit property.
149 * {@link BigInteger }
152 public BigInteger getMapFromUnit() {
157 * Sets the value of the mapFromUnit property.
161 * {@link BigInteger }
164 public void setMapFromUnit(BigInteger value) {
165 this.mapFromUnit = value;
169 * Gets the value of the mapToUnit property.
173 * {@link BigInteger }
176 public BigInteger getMapToUnit() {
181 * Sets the value of the mapToUnit property.
185 * {@link BigInteger }
188 public void setMapToUnit(BigInteger value) {
189 this.mapToUnit = value;
194 * <p>Java class for anonymous complex type.
196 * <p>The following schema fragment specifies the expected content contained within this class.
199 * &lt;complexType&gt;
200 * &lt;complexContent&gt;
201 * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
202 * &lt;attribute name="start" use="required" type="{http://www.w3.org/2001/XMLSchema}int" /&gt;
203 * &lt;attribute name="end" use="required" type="{http://www.w3.org/2001/XMLSchema}int" /&gt;
204 * &lt;/restriction&gt;
205 * &lt;/complexContent&gt;
206 * &lt;/complexType&gt;
211 @XmlAccessorType(XmlAccessType.FIELD)
213 public static class MapListFrom {
215 @XmlAttribute(name = "start", required = true)
217 @XmlAttribute(name = "end", required = true)
221 * Gets the value of the start property.
224 public int getStart() {
229 * Sets the value of the start property.
232 public void setStart(int value) {
237 * Gets the value of the end property.
240 public int getEnd() {
245 * Sets the value of the end property.
248 public void setEnd(int value) {
256 * <p>Java class for anonymous complex type.
258 * <p>The following schema fragment specifies the expected content contained within this class.
261 * &lt;complexType&gt;
262 * &lt;complexContent&gt;
263 * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
264 * &lt;attribute name="start" use="required" type="{http://www.w3.org/2001/XMLSchema}int" /&gt;
265 * &lt;attribute name="end" use="required" type="{http://www.w3.org/2001/XMLSchema}int" /&gt;
266 * &lt;/restriction&gt;
267 * &lt;/complexContent&gt;
268 * &lt;/complexType&gt;
273 @XmlAccessorType(XmlAccessType.FIELD)
275 public static class MapListTo {
277 @XmlAttribute(name = "start", required = true)
279 @XmlAttribute(name = "end", required = true)
283 * Gets the value of the start property.
286 public int getStart() {
291 * Sets the value of the start property.
294 public void setStart(int value) {
299 * Gets the value of the end property.
302 public int getEnd() {
307 * Sets the value of the end property.
310 public void setEnd(int value) {