X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fxml%2Fbinding%2Fjalview%2FMapListType.java;fp=src%2Fjalview%2Fxml%2Fbinding%2Fjalview%2FMapListType.java;h=edc69b4ec987956aa7dfc01ce7e6b547e6d88326;hb=d043ce47fc710d3eb2629ba926a8a7417bd67d8c;hp=c93112ce961e41691b4e5ba3f54fde0be27a34d0;hpb=49db0dff1da16c3355b43a41498c1fc93ef47e91;p=jalview.git diff --git a/src/jalview/xml/binding/jalview/MapListType.java b/src/jalview/xml/binding/jalview/MapListType.java index c93112c..edc69b4 100644 --- a/src/jalview/xml/binding/jalview/MapListType.java +++ b/src/jalview/xml/binding/jalview/MapListType.java @@ -5,7 +5,6 @@ // Generated on: 2021.08.30 at 11:05:22 AM BST // - package jalview.xml.binding.jalview; import java.math.BigInteger; @@ -18,298 +17,291 @@ import javax.xml.bind.annotation.XmlSchemaType; import javax.xml.bind.annotation.XmlSeeAlso; import javax.xml.bind.annotation.XmlType; - /** * - * This effectively represents a java.util.MapList object - * + * This effectively represents a java.util.MapList object + * * * <p>Java class for mapListType complex type. * - * <p>The following schema fragment specifies the expected content contained within this class. + * <p>The following schema fragment specifies the expected content + * contained within this class. * - * <pre> - * &lt;complexType name="mapListType"&gt; - * &lt;complexContent&gt; - * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt; - * &lt;sequence&gt; - * &lt;element name="mapListFrom" maxOccurs="unbounded" minOccurs="0"&gt; - * &lt;complexType&gt; - * &lt;complexContent&gt; - * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt; - * &lt;attribute name="start" use="required" type="{http://www.w3.org/2001/XMLSchema}int" /&gt; - * &lt;attribute name="end" use="required" type="{http://www.w3.org/2001/XMLSchema}int" /&gt; - * &lt;/restriction&gt; - * &lt;/complexContent&gt; - * &lt;/complexType&gt; - * &lt;/element&gt; - * &lt;element name="mapListTo" maxOccurs="unbounded" minOccurs="0"&gt; - * &lt;complexType&gt; - * &lt;complexContent&gt; - * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt; - * &lt;attribute name="start" use="required" type="{http://www.w3.org/2001/XMLSchema}int" /&gt; - * &lt;attribute name="end" use="required" type="{http://www.w3.org/2001/XMLSchema}int" /&gt; - * &lt;/restriction&gt; - * &lt;/complexContent&gt; - * &lt;/complexType&gt; - * &lt;/element&gt; - * &lt;/sequence&gt; - * &lt;attribute name="mapFromUnit" use="required" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" /&gt; - * &lt;attribute name="mapToUnit" use="required" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" /&gt; - * &lt;/restriction&gt; - * &lt;/complexContent&gt; - * &lt;/complexType&gt; - * </pre> + * <pre> &lt;complexType name="mapListType"&gt; + * &lt;complexContent&gt; &lt;restriction + * base="{http://www.w3.org/2001/XMLSchema}anyType"&gt; + * &lt;sequence&gt; &lt;element name="mapListFrom" + * maxOccurs="unbounded" minOccurs="0"&gt; &lt;complexType&gt; + * &lt;complexContent&gt; &lt;restriction + * base="{http://www.w3.org/2001/XMLSchema}anyType"&gt; &lt;attribute + * name="start" use="required" type="{http://www.w3.org/2001/XMLSchema}int" + * /&gt; &lt;attribute name="end" use="required" + * type="{http://www.w3.org/2001/XMLSchema}int" /&gt; + * &lt;/restriction&gt; &lt;/complexContent&gt; + * &lt;/complexType&gt; &lt;/element&gt; &lt;element + * name="mapListTo" maxOccurs="unbounded" minOccurs="0"&gt; + * &lt;complexType&gt; &lt;complexContent&gt; + * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt; + * &lt;attribute name="start" use="required" + * type="{http://www.w3.org/2001/XMLSchema}int" /&gt; &lt;attribute + * name="end" use="required" type="{http://www.w3.org/2001/XMLSchema}int" + * /&gt; &lt;/restriction&gt; &lt;/complexContent&gt; + * &lt;/complexType&gt; &lt;/element&gt; + * &lt;/sequence&gt; &lt;attribute name="mapFromUnit" use="required" + * type="{http://www.w3.org/2001/XMLSchema}positiveInteger" /&gt; + * &lt;attribute name="mapToUnit" use="required" + * type="{http://www.w3.org/2001/XMLSchema}positiveInteger" /&gt; + * &lt;/restriction&gt; &lt;/complexContent&gt; + * &lt;/complexType&gt; </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "mapListType", propOrder = { - "mapListFrom", - "mapListTo" -}) -@XmlSeeAlso({ - Mapping.class -}) -public class MapListType { +@XmlType(name = "mapListType", propOrder = { "mapListFrom", "mapListTo" }) +@XmlSeeAlso({ Mapping.class }) +public class MapListType +{ + + protected List mapListFrom; + + protected List mapListTo; + + @XmlAttribute(name = "mapFromUnit", required = true) + @XmlSchemaType(name = "positiveInteger") + protected BigInteger mapFromUnit; + + @XmlAttribute(name = "mapToUnit", required = true) + @XmlSchemaType(name = "positiveInteger") + protected BigInteger mapToUnit; + + /** + * Gets the value of the mapListFrom property. + * + * <p> This accessor method returns a reference to the live list, not a + * snapshot. Therefore any modification you make to the returned list will be + * present inside the JAXB object. This is why there is not a + * <CODE>set</CODE> method for the mapListFrom property. + * + * <p> For example, to add a new item, do as follows: <pre> + * getMapListFrom().add(newItem); </pre> + * + * + * <p> Objects of the following type(s) are allowed in the list + * {@link MapListType.MapListFrom } + * + * + */ + public List getMapListFrom() + { + if (mapListFrom == null) + { + mapListFrom = new ArrayList(); + } + return this.mapListFrom; + } + + /** + * Gets the value of the mapListTo property. + * + * <p> This accessor method returns a reference to the live list, not a + * snapshot. Therefore any modification you make to the returned list will be + * present inside the JAXB object. This is why there is not a + * <CODE>set</CODE> method for the mapListTo property. + * + * <p> For example, to add a new item, do as follows: <pre> + * getMapListTo().add(newItem); </pre> + * + * + * <p> Objects of the following type(s) are allowed in the list + * {@link MapListType.MapListTo } + * + * + */ + public List getMapListTo() + { + if (mapListTo == null) + { + mapListTo = new ArrayList(); + } + return this.mapListTo; + } + + /** + * Gets the value of the mapFromUnit property. + * + * @return possible object is {@link BigInteger } + * + */ + public BigInteger getMapFromUnit() + { + return mapFromUnit; + } + + /** + * Sets the value of the mapFromUnit property. + * + * @param value + * allowed object is {@link BigInteger } + * + */ + public void setMapFromUnit(BigInteger value) + { + this.mapFromUnit = value; + } - protected List mapListFrom; - protected List mapListTo; - @XmlAttribute(name = "mapFromUnit", required = true) - @XmlSchemaType(name = "positiveInteger") - protected BigInteger mapFromUnit; - @XmlAttribute(name = "mapToUnit", required = true) - @XmlSchemaType(name = "positiveInteger") - protected BigInteger mapToUnit; + /** + * Gets the value of the mapToUnit property. + * + * @return possible object is {@link BigInteger } + * + */ + public BigInteger getMapToUnit() + { + return mapToUnit; + } + + /** + * Sets the value of the mapToUnit property. + * + * @param value + * allowed object is {@link BigInteger } + * + */ + public void setMapToUnit(BigInteger value) + { + this.mapToUnit = value; + } + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content + * contained within this class. + * + * <pre> &lt;complexType&gt; &lt;complexContent&gt; + * &lt;restriction + * base="{http://www.w3.org/2001/XMLSchema}anyType"&gt; &lt;attribute + * name="start" use="required" type="{http://www.w3.org/2001/XMLSchema}int" + * /&gt; &lt;attribute name="end" use="required" + * type="{http://www.w3.org/2001/XMLSchema}int" /&gt; + * &lt;/restriction&gt; &lt;/complexContent&gt; + * &lt;/complexType&gt; </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "") + public static class MapListFrom + { + + @XmlAttribute(name = "start", required = true) + protected int start; + + @XmlAttribute(name = "end", required = true) + protected int end; /** - * Gets the value of the mapListFrom property. - * - * <p> - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a <CODE>set</CODE> method for the mapListFrom property. - * - * <p> - * For example, to add a new item, do as follows: - * <pre> - * getMapListFrom().add(newItem); - * </pre> - * - * - * <p> - * Objects of the following type(s) are allowed in the list - * {@link MapListType.MapListFrom } - * + * Gets the value of the start property. * */ - public List getMapListFrom() { - if (mapListFrom == null) { - mapListFrom = new ArrayList(); - } - return this.mapListFrom; + public int getStart() + { + return start; } /** - * Gets the value of the mapListTo property. - * - * <p> - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a <CODE>set</CODE> method for the mapListTo property. - * - * <p> - * For example, to add a new item, do as follows: - * <pre> - * getMapListTo().add(newItem); - * </pre> - * - * - * <p> - * Objects of the following type(s) are allowed in the list - * {@link MapListType.MapListTo } - * + * Sets the value of the start property. * */ - public List getMapListTo() { - if (mapListTo == null) { - mapListTo = new ArrayList(); - } - return this.mapListTo; + public void setStart(int value) + { + this.start = value; } /** - * Gets the value of the mapFromUnit property. + * Gets the value of the end property. * - * @return - * possible object is - * {@link BigInteger } - * */ - public BigInteger getMapFromUnit() { - return mapFromUnit; + public int getEnd() + { + return end; } /** - * Sets the value of the mapFromUnit property. + * Sets the value of the end property. * - * @param value - * allowed object is - * {@link BigInteger } - * */ - public void setMapFromUnit(BigInteger value) { - this.mapFromUnit = value; + public void setEnd(int value) + { + this.end = value; } + } + + /** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content + * contained within this class. + * + * <pre> &lt;complexType&gt; &lt;complexContent&gt; + * &lt;restriction + * base="{http://www.w3.org/2001/XMLSchema}anyType"&gt; &lt;attribute + * name="start" use="required" type="{http://www.w3.org/2001/XMLSchema}int" + * /&gt; &lt;attribute name="end" use="required" + * type="{http://www.w3.org/2001/XMLSchema}int" /&gt; + * &lt;/restriction&gt; &lt;/complexContent&gt; + * &lt;/complexType&gt; </pre> + * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "") + public static class MapListTo + { + + @XmlAttribute(name = "start", required = true) + protected int start; + + @XmlAttribute(name = "end", required = true) + protected int end; + /** - * Gets the value of the mapToUnit property. + * Gets the value of the start property. * - * @return - * possible object is - * {@link BigInteger } - * */ - public BigInteger getMapToUnit() { - return mapToUnit; + public int getStart() + { + return start; } /** - * Sets the value of the mapToUnit property. + * Sets the value of the start property. * - * @param value - * allowed object is - * {@link BigInteger } - * */ - public void setMapToUnit(BigInteger value) { - this.mapToUnit = value; + public void setStart(int value) + { + this.start = value; } - /** - * <p>Java class for anonymous complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * &lt;complexType&gt; - * &lt;complexContent&gt; - * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt; - * &lt;attribute name="start" use="required" type="{http://www.w3.org/2001/XMLSchema}int" /&gt; - * &lt;attribute name="end" use="required" type="{http://www.w3.org/2001/XMLSchema}int" /&gt; - * &lt;/restriction&gt; - * &lt;/complexContent&gt; - * &lt;/complexType&gt; - * </pre> - * + * Gets the value of the end property. * */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "") - public static class MapListFrom { - - @XmlAttribute(name = "start", required = true) - protected int start; - @XmlAttribute(name = "end", required = true) - protected int end; - - /** - * Gets the value of the start property. - * - */ - public int getStart() { - return start; - } - - /** - * Sets the value of the start property. - * - */ - public void setStart(int value) { - this.start = value; - } - - /** - * Gets the value of the end property. - * - */ - public int getEnd() { - return end; - } - - /** - * Sets the value of the end property. - * - */ - public void setEnd(int value) { - this.end = value; - } - + public int getEnd() + { + return end; } - /** - * <p>Java class for anonymous complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * - * <pre> - * &lt;complexType&gt; - * &lt;complexContent&gt; - * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt; - * &lt;attribute name="start" use="required" type="{http://www.w3.org/2001/XMLSchema}int" /&gt; - * &lt;attribute name="end" use="required" type="{http://www.w3.org/2001/XMLSchema}int" /&gt; - * &lt;/restriction&gt; - * &lt;/complexContent&gt; - * &lt;/complexType&gt; - * </pre> - * + * Sets the value of the end property. * */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "") - public static class MapListTo { - - @XmlAttribute(name = "start", required = true) - protected int start; - @XmlAttribute(name = "end", required = true) - protected int end; - - /** - * Gets the value of the start property. - * - */ - public int getStart() { - return start; - } - - /** - * Sets the value of the start property. - * - */ - public void setStart(int value) { - this.start = value; - } - - /** - * Gets the value of the end property. - * - */ - public int getEnd() { - return end; - } - - /** - * Sets the value of the end property. - * - */ - public void setEnd(int value) { - this.end = value; - } - + public void setEnd(int value) + { + this.end = value; } + } + }