X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fxml%2Fbinding%2Fjalview%2FMapListType.java;h=99c5b4b14a666b1aca0dcb02e3aa3c3b4324a315;hb=9d9ad2a9237a50e305349a63eb01bb5548d028d0;hp=edc69b4ec987956aa7dfc01ce7e6b547e6d88326;hpb=57738a1f3c19b1c3a00bd3ac5108f8cd0af32f99;p=jalview.git diff --git a/src/jalview/xml/binding/jalview/MapListType.java b/src/jalview/xml/binding/jalview/MapListType.java index edc69b4..99c5b4b 100644 --- a/src/jalview/xml/binding/jalview/MapListType.java +++ b/src/jalview/xml/binding/jalview/MapListType.java @@ -1,10 +1,11 @@ // -// This file was generated by the Eclipse Implementation of JAXB, v2.3.3 -// See https://eclipse-ee4j.github.io/jaxb-ri +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802 +// See http://java.sun.com/xml/jaxb // Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2021.08.30 at 11:05:22 AM BST +// Generated on: 2023.01.31 at 04:07:08 PM GMT // + package jalview.xml.binding.jalview; import java.math.BigInteger; @@ -17,291 +18,298 @@ 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 + * * + *
Java class for mapListType complex type. * - * <p>Java class for mapListType complex type. + *
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> <complexType name="mapListType"> - * <complexContent> <restriction - * base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <sequence> <element name="mapListFrom" - * maxOccurs="unbounded" minOccurs="0"> <complexType> - * <complexContent> <restriction - * base="{http://www.w3.org/2001/XMLSchema}anyType"> <attribute - * name="start" use="required" type="{http://www.w3.org/2001/XMLSchema}int" - * /> <attribute name="end" use="required" - * type="{http://www.w3.org/2001/XMLSchema}int" /> - * </restriction> </complexContent> - * </complexType> </element> <element - * name="mapListTo" maxOccurs="unbounded" minOccurs="0"> - * <complexType> <complexContent> - * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <attribute name="start" use="required" - * type="{http://www.w3.org/2001/XMLSchema}int" /> <attribute - * name="end" use="required" type="{http://www.w3.org/2001/XMLSchema}int" - * /> </restriction> </complexContent> - * </complexType> </element> - * </sequence> <attribute name="mapFromUnit" use="required" - * type="{http://www.w3.org/2001/XMLSchema}positiveInteger" /> - * <attribute name="mapToUnit" use="required" - * type="{http://www.w3.org/2001/XMLSchema}positiveInteger" /> - * </restriction> </complexContent> - * </complexType> </pre> + *
+ * <complexType name="mapListType"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="mapListFrom" maxOccurs="unbounded" minOccurs="0"> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <attribute name="start" use="required" type="{http://www.w3.org/2001/XMLSchema}int" /> + * <attribute name="end" use="required" type="{http://www.w3.org/2001/XMLSchema}int" /> + * </restriction> + * </complexContent> + * </complexType> + * </element> + * <element name="mapListTo" maxOccurs="unbounded" minOccurs="0"> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <attribute name="start" use="required" type="{http://www.w3.org/2001/XMLSchema}int" /> + * <attribute name="end" use="required" type="{http://www.w3.org/2001/XMLSchema}int" /> + * </restriction> + * </complexContent> + * </complexType> + * </element> + * </sequence> + * <attribute name="mapFromUnit" use="required" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" /> + * <attribute name="mapToUnit" use="required" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" /> + * </restriction> + * </complexContent> + * </complexType> + ** * */ @XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "mapListType", propOrder = { "mapListFrom", "mapListTo" }) -@XmlSeeAlso({ Mapping.class }) -public class MapListType -{ - - protected List
+ * 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 set
method for the mapListFrom property.
+ *
+ *
+ * For example, to add a new item, do as follows: + *
+ * getMapListFrom().add(newItem); + *+ * + * + *
+ * Objects of the following type(s) are allowed in the list
+ * {@link MapListType.MapListFrom }
+ *
*
*/
- public int getStart()
- {
- return start;
+ public List
+ * 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
+ * For example, to add a new item, do as follows:
+ *
+ * Objects of the following type(s) are allowed in the list
+ * {@link MapListType.MapListTo }
+ *
*
*/
- public void setStart(int value)
- {
- this.start = value;
+ public List Java class for anonymous complex type.
+ *
+ * The following schema fragment specifies the expected content contained within this class.
+ *
+ * Java class for anonymous complex type.
+ *
+ * The following schema fragment specifies the expected content contained within this class.
+ *
+ * set
method for the mapListTo property.
+ *
+ *
+ * getMapListTo().add(newItem);
+ *
+ *
+ *
+ *
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <attribute name="start" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
+ * <attribute name="end" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ *
+ *
*
*/
- public int getEnd()
- {
- return end;
+ @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;
+ }
+
}
+
/**
- * Sets the value of the end property.
+ *
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <attribute name="start" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
+ * <attribute name="end" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ *
+ *
*
*/
- public void setEnd(int value)
- {
- this.end = value;
- }
+ @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;
+ }
+
+ }
}