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
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 * <complexType name="mapListType">
35 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
37 * <element name="mapListFrom" maxOccurs="unbounded" minOccurs="0">
40 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
41 * <attribute name="start" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
42 * <attribute name="end" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
44 * </complexContent>
47 * <element name="mapListTo" maxOccurs="unbounded" minOccurs="0">
50 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
51 * <attribute name="start" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
52 * <attribute name="end" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
54 * </complexContent>
58 * <attribute name="mapFromUnit" use="required" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" />
59 * <attribute name="mapToUnit" use="required" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" />
61 * </complexContent>
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.
200 * <complexContent>
201 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
202 * <attribute name="start" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
203 * <attribute name="end" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
205 * </complexContent>
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.
262 * <complexContent>
263 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
264 * <attribute name="start" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
265 * <attribute name="end" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
267 * </complexContent>
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) {