X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fxml%2Fbinding%2Funiprot%2FSourceDataType.java;h=5fa8cd6b0504e11672209e0379abd8f67ae6c6b2;hb=4b7d3640209c4434d569c746672cf9eed4250ace;hp=aad1a5f8bd32c0de471d305621889b57ba8f26b6;hpb=7b32d373b60d0af55481cfd6d377b2cc1ec035c0;p=jalview.git diff --git a/src/jalview/xml/binding/uniprot/SourceDataType.java b/src/jalview/xml/binding/uniprot/SourceDataType.java index aad1a5f..5fa8cd6 100644 --- a/src/jalview/xml/binding/uniprot/SourceDataType.java +++ b/src/jalview/xml/binding/uniprot/SourceDataType.java @@ -1,11 +1,10 @@ // -// 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: 2022.02.07 at 04:44:21 PM GMT +// Generated on: 2023.03.17 at 05:31:46 PM GMT // - package jalview.xml.binding.uniprot; import java.util.ArrayList; @@ -18,444 +17,462 @@ import javax.xml.bind.annotation.XmlElements; import javax.xml.bind.annotation.XmlType; import javax.xml.bind.annotation.XmlValue; - /** - * Describes the source of the sequence according to the citation. - * Equivalent to the flat file RC-line. + * Describes the source of the sequence according to the citation. Equivalent to + * the flat file RC-line. * - * <p>Java class for sourceDataType complex type. + *

+ * Java class for sourceDataType complex type. * - * <p>The following schema fragment specifies the expected content contained within this class. + *

+ * The following schema fragment specifies the expected content contained within + * this class. * - * <pre> - * &lt;complexType name="sourceDataType"&gt; - * &lt;complexContent&gt; - * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt; - * &lt;choice maxOccurs="unbounded"&gt; - * &lt;element name="strain"&gt; - * &lt;complexType&gt; - * &lt;simpleContent&gt; - * &lt;extension base="&lt;http://www.w3.org/2001/XMLSchema&gt;string"&gt; - * &lt;attribute name="evidence" type="{http://uniprot.org/uniprot}intListType" /&gt; - * &lt;/extension&gt; - * &lt;/simpleContent&gt; - * &lt;/complexType&gt; - * &lt;/element&gt; - * &lt;element name="plasmid"&gt; - * &lt;complexType&gt; - * &lt;simpleContent&gt; - * &lt;extension base="&lt;http://www.w3.org/2001/XMLSchema&gt;string"&gt; - * &lt;attribute name="evidence" type="{http://uniprot.org/uniprot}intListType" /&gt; - * &lt;/extension&gt; - * &lt;/simpleContent&gt; - * &lt;/complexType&gt; - * &lt;/element&gt; - * &lt;element name="transposon"&gt; - * &lt;complexType&gt; - * &lt;simpleContent&gt; - * &lt;extension base="&lt;http://www.w3.org/2001/XMLSchema&gt;string"&gt; - * &lt;attribute name="evidence" type="{http://uniprot.org/uniprot}intListType" /&gt; - * &lt;/extension&gt; - * &lt;/simpleContent&gt; - * &lt;/complexType&gt; - * &lt;/element&gt; - * &lt;element name="tissue"&gt; - * &lt;complexType&gt; - * &lt;simpleContent&gt; - * &lt;extension base="&lt;http://www.w3.org/2001/XMLSchema&gt;string"&gt; - * &lt;attribute name="evidence" type="{http://uniprot.org/uniprot}intListType" /&gt; - * &lt;/extension&gt; - * &lt;/simpleContent&gt; - * &lt;/complexType&gt; - * &lt;/element&gt; - * &lt;/choice&gt; - * &lt;/restriction&gt; - * &lt;/complexContent&gt; - * &lt;/complexType&gt; - * </pre> + *

+ * <complexType name="sourceDataType">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <choice maxOccurs="unbounded">
+ *         <element name="strain">
+ *           <complexType>
+ *             <simpleContent>
+ *               <extension base="<http://www.w3.org/2001/XMLSchema>string">
+ *                 <attribute name="evidence" type="{http://uniprot.org/uniprot}intListType" />
+ *               </extension>
+ *             </simpleContent>
+ *           </complexType>
+ *         </element>
+ *         <element name="plasmid">
+ *           <complexType>
+ *             <simpleContent>
+ *               <extension base="<http://www.w3.org/2001/XMLSchema>string">
+ *                 <attribute name="evidence" type="{http://uniprot.org/uniprot}intListType" />
+ *               </extension>
+ *             </simpleContent>
+ *           </complexType>
+ *         </element>
+ *         <element name="transposon">
+ *           <complexType>
+ *             <simpleContent>
+ *               <extension base="<http://www.w3.org/2001/XMLSchema>string">
+ *                 <attribute name="evidence" type="{http://uniprot.org/uniprot}intListType" />
+ *               </extension>
+ *             </simpleContent>
+ *           </complexType>
+ *         </element>
+ *         <element name="tissue">
+ *           <complexType>
+ *             <simpleContent>
+ *               <extension base="<http://www.w3.org/2001/XMLSchema>string">
+ *                 <attribute name="evidence" type="{http://uniprot.org/uniprot}intListType" />
+ *               </extension>
+ *             </simpleContent>
+ *           </complexType>
+ *         </element>
+ *       </choice>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "sourceDataType", propOrder = { - "strainOrPlasmidOrTransposon" -}) -public class SourceDataType { - - @XmlElements({ - @XmlElement(name = "strain", type = SourceDataType.Strain.class), - @XmlElement(name = "plasmid", type = SourceDataType.Plasmid.class), - @XmlElement(name = "transposon", type = SourceDataType.Transposon.class), - @XmlElement(name = "tissue", type = SourceDataType.Tissue.class) - }) - protected List strainOrPlasmidOrTransposon; +@XmlType( + name = "sourceDataType", + propOrder = + { "strainOrPlasmidOrTransposon" }) +public class SourceDataType +{ + + @XmlElements({ + @XmlElement(name = "strain", type = SourceDataType.Strain.class), + @XmlElement(name = "plasmid", type = SourceDataType.Plasmid.class), + @XmlElement( + name = "transposon", + type = SourceDataType.Transposon.class), + @XmlElement(name = "tissue", type = SourceDataType.Tissue.class) }) + protected List strainOrPlasmidOrTransposon; + + /** + * Gets the value of the strainOrPlasmidOrTransposon property. + * + *

+ * 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 strainOrPlasmidOrTransposon property. + * + *

+ * For example, to add a new item, do as follows: + * + *

+   * getStrainOrPlasmidOrTransposon().add(newItem);
+   * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link SourceDataType.Strain } {@link SourceDataType.Plasmid } + * {@link SourceDataType.Transposon } {@link SourceDataType.Tissue } + * + * + */ + public List getStrainOrPlasmidOrTransposon() + { + if (strainOrPlasmidOrTransposon == null) + { + strainOrPlasmidOrTransposon = new ArrayList(); + } + return this.strainOrPlasmidOrTransposon; + } + + /** + *

+ * Java class for anonymous complex type. + * + *

+ * The following schema fragment specifies the expected content contained + * within this class. + * + *

+   * <complexType>
+   *   <simpleContent>
+   *     <extension base="<http://www.w3.org/2001/XMLSchema>string">
+   *       <attribute name="evidence" type="{http://uniprot.org/uniprot}intListType" />
+   *     </extension>
+   *   </simpleContent>
+   * </complexType>
+   * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { "value" }) + public static class Plasmid + { + + @XmlValue + protected String value; + + @XmlAttribute(name = "evidence") + protected List evidence; + + /** + * Gets the value of the value property. + * + * @return possible object is {@link String } + * + */ + public String getValue() + { + return value; + } + + /** + * Sets the value of the value property. + * + * @param value + * allowed object is {@link String } + * + */ + public void setValue(String value) + { + this.value = value; + } /** - * Gets the value of the strainOrPlasmidOrTransposon property. + * Gets the value of the evidence 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 strainOrPlasmidOrTransposon property. + *

+ * 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 evidence property. * - * <p> + *

* For example, to add a new item, do as follows: - * <pre> - * getStrainOrPlasmidOrTransposon().add(newItem); - * </pre> * + *

+     * getEvidence().add(newItem);
+     * 
* - * <p> - * Objects of the following type(s) are allowed in the list - * {@link SourceDataType.Strain } - * {@link SourceDataType.Plasmid } - * {@link SourceDataType.Transposon } - * {@link SourceDataType.Tissue } + * + *

+ * Objects of the following type(s) are allowed in the list {@link Integer } * * */ - public List getStrainOrPlasmidOrTransposon() { - if (strainOrPlasmidOrTransposon == null) { - strainOrPlasmidOrTransposon = new ArrayList(); - } - return this.strainOrPlasmidOrTransposon; + public List getEvidence() + { + if (evidence == null) + { + evidence = new ArrayList(); + } + return this.evidence; } + } + + /** + *

+ * Java class for anonymous complex type. + * + *

+ * The following schema fragment specifies the expected content contained + * within this class. + * + *

+   * <complexType>
+   *   <simpleContent>
+   *     <extension base="<http://www.w3.org/2001/XMLSchema>string">
+   *       <attribute name="evidence" type="{http://uniprot.org/uniprot}intListType" />
+   *     </extension>
+   *   </simpleContent>
+   * </complexType>
+   * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { "value" }) + public static class Strain + { + + @XmlValue + protected String value; + + @XmlAttribute(name = "evidence") + protected List evidence; /** - * <p>Java class for anonymous complex type. + * Gets the value of the value property. * - * <p>The following schema fragment specifies the expected content contained within this class. + * @return possible object is {@link String } * - * <pre> - * &lt;complexType&gt; - * &lt;simpleContent&gt; - * &lt;extension base="&lt;http://www.w3.org/2001/XMLSchema&gt;string"&gt; - * &lt;attribute name="evidence" type="{http://uniprot.org/uniprot}intListType" /&gt; - * &lt;/extension&gt; - * &lt;/simpleContent&gt; - * &lt;/complexType&gt; - * </pre> + */ + public String getValue() + { + return value; + } + + /** + * Sets the value of the value property. * + * @param value + * allowed object is {@link String } * */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "value" - }) - public static class Plasmid { - - @XmlValue - protected String value; - @XmlAttribute(name = "evidence") - protected List evidence; - - /** - * Gets the value of the value property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getValue() { - return value; - } - - /** - * Sets the value of the value property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setValue(String value) { - this.value = value; - } - - /** - * Gets the value of the evidence 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 evidence property. - * - * <p> - * For example, to add a new item, do as follows: - * <pre> - * getEvidence().add(newItem); - * </pre> - * - * - * <p> - * Objects of the following type(s) are allowed in the list - * {@link Integer } - * - * - */ - public List getEvidence() { - if (evidence == null) { - evidence = new ArrayList(); - } - return this.evidence; - } - + public void setValue(String value) + { + this.value = value; } - /** - * <p>Java class for anonymous complex type. + * Gets the value of the evidence property. * - * <p>The following schema fragment specifies the expected content contained within this class. + *

+ * 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 evidence property. * - * <pre> - * &lt;complexType&gt; - * &lt;simpleContent&gt; - * &lt;extension base="&lt;http://www.w3.org/2001/XMLSchema&gt;string"&gt; - * &lt;attribute name="evidence" type="{http://uniprot.org/uniprot}intListType" /&gt; - * &lt;/extension&gt; - * &lt;/simpleContent&gt; - * &lt;/complexType&gt; - * </pre> + *

+ * For example, to add a new item, do as follows: + * + *

+     * getEvidence().add(newItem);
+     * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list {@link Integer } * * */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "value" - }) - public static class Strain { - - @XmlValue - protected String value; - @XmlAttribute(name = "evidence") - protected List evidence; - - /** - * Gets the value of the value property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getValue() { - return value; - } - - /** - * Sets the value of the value property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setValue(String value) { - this.value = value; - } - - /** - * Gets the value of the evidence 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 evidence property. - * - * <p> - * For example, to add a new item, do as follows: - * <pre> - * getEvidence().add(newItem); - * </pre> - * - * - * <p> - * Objects of the following type(s) are allowed in the list - * {@link Integer } - * - * - */ - public List getEvidence() { - if (evidence == null) { - evidence = new ArrayList(); - } - return this.evidence; - } - + public List getEvidence() + { + if (evidence == null) + { + evidence = new ArrayList(); + } + return this.evidence; } + } + + /** + *

+ * Java class for anonymous complex type. + * + *

+ * The following schema fragment specifies the expected content contained + * within this class. + * + *

+   * <complexType>
+   *   <simpleContent>
+   *     <extension base="<http://www.w3.org/2001/XMLSchema>string">
+   *       <attribute name="evidence" type="{http://uniprot.org/uniprot}intListType" />
+   *     </extension>
+   *   </simpleContent>
+   * </complexType>
+   * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { "value" }) + public static class Tissue + { + + @XmlValue + protected String value; + + @XmlAttribute(name = "evidence") + protected List evidence; /** - * <p>Java class for anonymous complex type. + * Gets the value of the value property. * - * <p>The following schema fragment specifies the expected content contained within this class. + * @return possible object is {@link String } * - * <pre> - * &lt;complexType&gt; - * &lt;simpleContent&gt; - * &lt;extension base="&lt;http://www.w3.org/2001/XMLSchema&gt;string"&gt; - * &lt;attribute name="evidence" type="{http://uniprot.org/uniprot}intListType" /&gt; - * &lt;/extension&gt; - * &lt;/simpleContent&gt; - * &lt;/complexType&gt; - * </pre> + */ + public String getValue() + { + return value; + } + + /** + * Sets the value of the value property. * + * @param value + * allowed object is {@link String } * */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "value" - }) - public static class Tissue { - - @XmlValue - protected String value; - @XmlAttribute(name = "evidence") - protected List evidence; - - /** - * Gets the value of the value property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getValue() { - return value; - } - - /** - * Sets the value of the value property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setValue(String value) { - this.value = value; - } - - /** - * Gets the value of the evidence 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 evidence property. - * - * <p> - * For example, to add a new item, do as follows: - * <pre> - * getEvidence().add(newItem); - * </pre> - * - * - * <p> - * Objects of the following type(s) are allowed in the list - * {@link Integer } - * - * - */ - public List getEvidence() { - if (evidence == null) { - evidence = new ArrayList(); - } - return this.evidence; - } + public void setValue(String value) + { + this.value = value; + } + /** + * Gets the value of the evidence property. + * + *

+ * 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 evidence property. + * + *

+ * For example, to add a new item, do as follows: + * + *

+     * getEvidence().add(newItem);
+     * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list {@link Integer } + * + * + */ + public List getEvidence() + { + if (evidence == null) + { + evidence = new ArrayList(); + } + return this.evidence; } + } + + /** + *

+ * Java class for anonymous complex type. + * + *

+ * The following schema fragment specifies the expected content contained + * within this class. + * + *

+   * <complexType>
+   *   <simpleContent>
+   *     <extension base="<http://www.w3.org/2001/XMLSchema>string">
+   *       <attribute name="evidence" type="{http://uniprot.org/uniprot}intListType" />
+   *     </extension>
+   *   </simpleContent>
+   * </complexType>
+   * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { "value" }) + public static class Transposon + { + + @XmlValue + protected String value; + + @XmlAttribute(name = "evidence") + protected List evidence; /** - * <p>Java class for anonymous complex type. + * Gets the value of the value property. * - * <p>The following schema fragment specifies the expected content contained within this class. + * @return possible object is {@link String } * - * <pre> - * &lt;complexType&gt; - * &lt;simpleContent&gt; - * &lt;extension base="&lt;http://www.w3.org/2001/XMLSchema&gt;string"&gt; - * &lt;attribute name="evidence" type="{http://uniprot.org/uniprot}intListType" /&gt; - * &lt;/extension&gt; - * &lt;/simpleContent&gt; - * &lt;/complexType&gt; - * </pre> + */ + public String getValue() + { + return value; + } + + /** + * Sets the value of the value property. * + * @param value + * allowed object is {@link String } * */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "value" - }) - public static class Transposon { - - @XmlValue - protected String value; - @XmlAttribute(name = "evidence") - protected List evidence; - - /** - * Gets the value of the value property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getValue() { - return value; - } - - /** - * Sets the value of the value property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setValue(String value) { - this.value = value; - } - - /** - * Gets the value of the evidence 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 evidence property. - * - * <p> - * For example, to add a new item, do as follows: - * <pre> - * getEvidence().add(newItem); - * </pre> - * - * - * <p> - * Objects of the following type(s) are allowed in the list - * {@link Integer } - * - * - */ - public List getEvidence() { - if (evidence == null) { - evidence = new ArrayList(); - } - return this.evidence; - } + public void setValue(String value) + { + this.value = value; + } + /** + * Gets the value of the evidence property. + * + *

+ * 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 evidence property. + * + *

+ * For example, to add a new item, do as follows: + * + *

+     * getEvidence().add(newItem);
+     * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list {@link Integer } + * + * + */ + public List getEvidence() + { + if (evidence == null) + { + evidence = new ArrayList(); + } + return this.evidence; } + } + }