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
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 object
27 * <p>Java class for mapListType complex type.
29 * <p>The following schema fragment specifies the expected content contained within this class.
32 * &lt;complexType name="mapListType"&gt;
33 * &lt;complexContent&gt;
34 * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
35 * &lt;sequence&gt;
36 * &lt;element name="mapListFrom" maxOccurs="unbounded" minOccurs="0"&gt;
37 * &lt;complexType&gt;
38 * &lt;complexContent&gt;
39 * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
40 * &lt;attribute name="start" use="required" type="{http://www.w3.org/2001/XMLSchema}int" /&gt;
41 * &lt;attribute name="end" use="required" type="{http://www.w3.org/2001/XMLSchema}int" /&gt;
42 * &lt;/restriction&gt;
43 * &lt;/complexContent&gt;
44 * &lt;/complexType&gt;
45 * &lt;/element&gt;
46 * &lt;element name="mapListTo" maxOccurs="unbounded" minOccurs="0"&gt;
47 * &lt;complexType&gt;
48 * &lt;complexContent&gt;
49 * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
50 * &lt;attribute name="start" use="required" type="{http://www.w3.org/2001/XMLSchema}int" /&gt;
51 * &lt;attribute name="end" use="required" type="{http://www.w3.org/2001/XMLSchema}int" /&gt;
52 * &lt;/restriction&gt;
53 * &lt;/complexContent&gt;
54 * &lt;/complexType&gt;
55 * &lt;/element&gt;
56 * &lt;/sequence&gt;
57 * &lt;attribute name="mapFromUnit" use="required" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" /&gt;
58 * &lt;attribute name="mapToUnit" use="required" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" /&gt;
59 * &lt;/restriction&gt;
60 * &lt;/complexContent&gt;
61 * &lt;/complexType&gt;
66 @XmlAccessorType(XmlAccessType.FIELD)
67 @XmlType(name = "mapListType", propOrder = {
74 public class MapListType {
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;
86 * Gets the value of the mapListFrom property.
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.
95 * For example, to add a new item, do as follows:
97 * getMapListFrom().add(newItem);
102 * Objects of the following type(s) are allowed in the list
103 * {@link MapListType.MapListFrom }
107 public List<MapListType.MapListFrom> getMapListFrom() {
108 if (mapListFrom == null) {
109 mapListFrom = new ArrayList<MapListType.MapListFrom>();
111 return this.mapListFrom;
115 * Gets the value of the mapListTo property.
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.
124 * For example, to add a new item, do as follows:
126 * getMapListTo().add(newItem);
131 * Objects of the following type(s) are allowed in the list
132 * {@link MapListType.MapListTo }
136 public List<MapListType.MapListTo> getMapListTo() {
137 if (mapListTo == null) {
138 mapListTo = new ArrayList<MapListType.MapListTo>();
140 return this.mapListTo;
144 * Gets the value of the mapFromUnit property.
148 * {@link BigInteger }
151 public BigInteger getMapFromUnit() {
156 * Sets the value of the mapFromUnit property.
160 * {@link BigInteger }
163 public void setMapFromUnit(BigInteger value) {
164 this.mapFromUnit = value;
168 * Gets the value of the mapToUnit property.
172 * {@link BigInteger }
175 public BigInteger getMapToUnit() {
180 * Sets the value of the mapToUnit property.
184 * {@link BigInteger }
187 public void setMapToUnit(BigInteger value) {
188 this.mapToUnit = value;
193 * <p>Java class for anonymous complex type.
195 * <p>The following schema fragment specifies the expected content contained within this class.
198 * &lt;complexType&gt;
199 * &lt;complexContent&gt;
200 * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
201 * &lt;attribute name="start" use="required" type="{http://www.w3.org/2001/XMLSchema}int" /&gt;
202 * &lt;attribute name="end" use="required" type="{http://www.w3.org/2001/XMLSchema}int" /&gt;
203 * &lt;/restriction&gt;
204 * &lt;/complexContent&gt;
205 * &lt;/complexType&gt;
210 @XmlAccessorType(XmlAccessType.FIELD)
212 public static class MapListFrom {
214 @XmlAttribute(name = "start", required = true)
216 @XmlAttribute(name = "end", required = true)
220 * Gets the value of the start property.
223 public int getStart() {
228 * Sets the value of the start property.
231 public void setStart(int value) {
236 * Gets the value of the end property.
239 public int getEnd() {
244 * Sets the value of the end property.
247 public void setEnd(int value) {
255 * <p>Java class for anonymous complex type.
257 * <p>The following schema fragment specifies the expected content contained within this class.
260 * &lt;complexType&gt;
261 * &lt;complexContent&gt;
262 * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
263 * &lt;attribute name="start" use="required" type="{http://www.w3.org/2001/XMLSchema}int" /&gt;
264 * &lt;attribute name="end" use="required" type="{http://www.w3.org/2001/XMLSchema}int" /&gt;
265 * &lt;/restriction&gt;
266 * &lt;/complexContent&gt;
267 * &lt;/complexType&gt;
272 @XmlAccessorType(XmlAccessType.FIELD)
274 public static class MapListTo {
276 @XmlAttribute(name = "start", required = true)
278 @XmlAttribute(name = "end", required = true)
282 * Gets the value of the start property.
285 public int getStart() {
290 * Sets the value of the start property.
293 public void setStart(int value) {
298 * Gets the value of the end property.
301 public int getEnd() {
306 * Sets the value of the end property.
309 public void setEnd(int value) {