Merge branch 'develop' into features/JAL-4134_use_annotation_row_for_colours_and_groups
[jalview.git] / src / jalview / xml / binding / uniprot / OrganismType.java
index de53629..b053df8 100644 (file)
@@ -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 <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
 // 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.05.13 at 06:58:42 PM BST 
 //
 
-
 package jalview.xml.binding.uniprot;
 
 import java.util.ArrayList;
@@ -16,226 +15,241 @@ import javax.xml.bind.annotation.XmlAttribute;
 import javax.xml.bind.annotation.XmlElement;
 import javax.xml.bind.annotation.XmlType;
 
-
 /**
  * Describes the source organism.
  * 
- * &lt;p&gt;Java class for organismType complex type.
+ * <p>
+ * Java class for organismType complex type.
  * 
- * &lt;p&gt;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.
  * 
- * &lt;pre&gt;
- * &amp;lt;complexType name="organismType"&amp;gt;
- *   &amp;lt;complexContent&amp;gt;
- *     &amp;lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&amp;gt;
- *       &amp;lt;sequence&amp;gt;
- *         &amp;lt;element name="name" type="{http://uniprot.org/uniprot}organismNameType" maxOccurs="unbounded"/&amp;gt;
- *         &amp;lt;element name="dbReference" type="{http://uniprot.org/uniprot}dbReferenceType" maxOccurs="unbounded"/&amp;gt;
- *         &amp;lt;element name="lineage" minOccurs="0"&amp;gt;
- *           &amp;lt;complexType&amp;gt;
- *             &amp;lt;complexContent&amp;gt;
- *               &amp;lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&amp;gt;
- *                 &amp;lt;sequence&amp;gt;
- *                   &amp;lt;element name="taxon" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded"/&amp;gt;
- *                 &amp;lt;/sequence&amp;gt;
- *               &amp;lt;/restriction&amp;gt;
- *             &amp;lt;/complexContent&amp;gt;
- *           &amp;lt;/complexType&amp;gt;
- *         &amp;lt;/element&amp;gt;
- *       &amp;lt;/sequence&amp;gt;
- *       &amp;lt;attribute name="evidence" type="{http://uniprot.org/uniprot}intListType" /&amp;gt;
- *     &amp;lt;/restriction&amp;gt;
- *   &amp;lt;/complexContent&amp;gt;
- * &amp;lt;/complexType&amp;gt;
- * &lt;/pre&gt;
+ * <pre>
+ * &lt;complexType name="organismType">
+ *   &lt;complexContent>
+ *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       &lt;sequence>
+ *         &lt;element name="name" type="{http://uniprot.org/uniprot}organismNameType" maxOccurs="unbounded"/>
+ *         &lt;element name="dbReference" type="{http://uniprot.org/uniprot}dbReferenceType" maxOccurs="unbounded"/>
+ *         &lt;element name="lineage" minOccurs="0">
+ *           &lt;complexType>
+ *             &lt;complexContent>
+ *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 &lt;sequence>
+ *                   &lt;element name="taxon" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded"/>
+ *                 &lt;/sequence>
+ *               &lt;/restriction>
+ *             &lt;/complexContent>
+ *           &lt;/complexType>
+ *         &lt;/element>
+ *       &lt;/sequence>
+ *       &lt;attribute name="evidence" type="{http://uniprot.org/uniprot}intListType" />
+ *     &lt;/restriction>
+ *   &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
  * 
  * 
  */
 @XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "organismType", propOrder = {
-    "name",
-    "dbReference",
-    "lineage"
-})
-public class OrganismType {
-
-    @XmlElement(required = true)
-    protected List<OrganismNameType> name;
-    @XmlElement(required = true)
-    protected List<DbReferenceType> dbReference;
-    protected OrganismType.Lineage lineage;
-    @XmlAttribute(name = "evidence")
-    protected List<Integer> evidence;
-
-    /**
-     * Gets the value of the name property.
-     * 
-     * &lt;p&gt;
-     * 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 &lt;CODE&gt;set&lt;/CODE&gt; method for the name property.
-     * 
-     * &lt;p&gt;
-     * For example, to add a new item, do as follows:
-     * &lt;pre&gt;
-     *    getName().add(newItem);
-     * &lt;/pre&gt;
-     * 
-     * 
-     * &lt;p&gt;
-     * Objects of the following type(s) are allowed in the list
-     * {@link OrganismNameType }
-     * 
-     * 
-     */
-    public List<OrganismNameType> getName() {
-        if (name == null) {
-            name = new ArrayList<OrganismNameType>();
-        }
-        return this.name;
+@XmlType(
+  name = "organismType",
+  propOrder =
+  { "name", "dbReference", "lineage" })
+public class OrganismType
+{
+
+  @XmlElement(required = true)
+  protected List<OrganismNameType> name;
+
+  @XmlElement(required = true)
+  protected List<DbReferenceType> dbReference;
+
+  protected OrganismType.Lineage lineage;
+
+  @XmlAttribute(name = "evidence")
+  protected List<Integer> evidence;
+
+  /**
+   * Gets the value of the name 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 name property.
+   * 
+   * <p>
+   * For example, to add a new item, do as follows:
+   * 
+   * <pre>
+   * getName().add(newItem);
+   * </pre>
+   * 
+   * 
+   * <p>
+   * Objects of the following type(s) are allowed in the list
+   * {@link OrganismNameType }
+   * 
+   * 
+   */
+  public List<OrganismNameType> getName()
+  {
+    if (name == null)
+    {
+      name = new ArrayList<OrganismNameType>();
     }
-
-    /**
-     * Gets the value of the dbReference property.
-     * 
-     * &lt;p&gt;
-     * 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 &lt;CODE&gt;set&lt;/CODE&gt; method for the dbReference property.
-     * 
-     * &lt;p&gt;
-     * For example, to add a new item, do as follows:
-     * &lt;pre&gt;
-     *    getDbReference().add(newItem);
-     * &lt;/pre&gt;
-     * 
-     * 
-     * &lt;p&gt;
-     * Objects of the following type(s) are allowed in the list
-     * {@link DbReferenceType }
-     * 
-     * 
-     */
-    public List<DbReferenceType> getDbReference() {
-        if (dbReference == null) {
-            dbReference = new ArrayList<DbReferenceType>();
-        }
-        return this.dbReference;
+    return this.name;
+  }
+
+  /**
+   * Gets the value of the dbReference 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 dbReference property.
+   * 
+   * <p>
+   * For example, to add a new item, do as follows:
+   * 
+   * <pre>
+   * getDbReference().add(newItem);
+   * </pre>
+   * 
+   * 
+   * <p>
+   * Objects of the following type(s) are allowed in the list
+   * {@link DbReferenceType }
+   * 
+   * 
+   */
+  public List<DbReferenceType> getDbReference()
+  {
+    if (dbReference == null)
+    {
+      dbReference = new ArrayList<DbReferenceType>();
     }
-
-    /**
-     * Gets the value of the lineage property.
-     * 
-     * @return
-     *     possible object is
-     *     {@link OrganismType.Lineage }
-     *     
-     */
-    public OrganismType.Lineage getLineage() {
-        return lineage;
+    return this.dbReference;
+  }
+
+  /**
+   * Gets the value of the lineage property.
+   * 
+   * @return possible object is {@link OrganismType.Lineage }
+   * 
+   */
+  public OrganismType.Lineage getLineage()
+  {
+    return lineage;
+  }
+
+  /**
+   * Sets the value of the lineage property.
+   * 
+   * @param value
+   *          allowed object is {@link OrganismType.Lineage }
+   * 
+   */
+  public void setLineage(OrganismType.Lineage value)
+  {
+    this.lineage = 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<Integer> getEvidence()
+  {
+    if (evidence == null)
+    {
+      evidence = new ArrayList<Integer>();
     }
+    return this.evidence;
+  }
+
+  /**
+   * <p>
+   * Java class for anonymous complex type.
+   * 
+   * <p>
+   * The following schema fragment specifies the expected content contained
+   * within this class.
+   * 
+   * <pre>
+   * &lt;complexType>
+   *   &lt;complexContent>
+   *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+   *       &lt;sequence>
+   *         &lt;element name="taxon" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded"/>
+   *       &lt;/sequence>
+   *     &lt;/restriction>
+   *   &lt;/complexContent>
+   * &lt;/complexType>
+   * </pre>
+   * 
+   * 
+   */
+  @XmlAccessorType(XmlAccessType.FIELD)
+  @XmlType(name = "", propOrder = { "taxon" })
+  public static class Lineage
+  {
 
-    /**
-     * Sets the value of the lineage property.
-     * 
-     * @param value
-     *     allowed object is
-     *     {@link OrganismType.Lineage }
-     *     
-     */
-    public void setLineage(OrganismType.Lineage value) {
-        this.lineage = value;
-    }
+    @XmlElement(required = true)
+    protected List<String> taxon;
 
     /**
-     * Gets the value of the evidence property.
+     * Gets the value of the taxon property.
      * 
-     * &lt;p&gt;
-     * 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 &lt;CODE&gt;set&lt;/CODE&gt; method for 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 taxon property.
      * 
-     * &lt;p&gt;
+     * <p>
      * For example, to add a new item, do as follows:
-     * &lt;pre&gt;
-     *    getEvidence().add(newItem);
-     * &lt;/pre&gt;
      * 
+     * <pre>
+     * getTaxon().add(newItem);
+     * </pre>
      * 
-     * &lt;p&gt;
-     * Objects of the following type(s) are allowed in the list
-     * {@link Integer }
      * 
-     * 
-     */
-    public List<Integer> getEvidence() {
-        if (evidence == null) {
-            evidence = new ArrayList<Integer>();
-        }
-        return this.evidence;
-    }
-
-
-    /**
-     * &lt;p&gt;Java class for anonymous complex type.
-     * 
-     * &lt;p&gt;The following schema fragment specifies the expected content contained within this class.
-     * 
-     * &lt;pre&gt;
-     * &amp;lt;complexType&amp;gt;
-     *   &amp;lt;complexContent&amp;gt;
-     *     &amp;lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&amp;gt;
-     *       &amp;lt;sequence&amp;gt;
-     *         &amp;lt;element name="taxon" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded"/&amp;gt;
-     *       &amp;lt;/sequence&amp;gt;
-     *     &amp;lt;/restriction&amp;gt;
-     *   &amp;lt;/complexContent&amp;gt;
-     * &amp;lt;/complexType&amp;gt;
-     * &lt;/pre&gt;
+     * <p>
+     * Objects of the following type(s) are allowed in the list {@link String }
      * 
      * 
      */
-    @XmlAccessorType(XmlAccessType.FIELD)
-    @XmlType(name = "", propOrder = {
-        "taxon"
-    })
-    public static class Lineage {
-
-        @XmlElement(required = true)
-        protected List<String> taxon;
-
-        /**
-         * Gets the value of the taxon property.
-         * 
-         * &lt;p&gt;
-         * 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 &lt;CODE&gt;set&lt;/CODE&gt; method for the taxon property.
-         * 
-         * &lt;p&gt;
-         * For example, to add a new item, do as follows:
-         * &lt;pre&gt;
-         *    getTaxon().add(newItem);
-         * &lt;/pre&gt;
-         * 
-         * 
-         * &lt;p&gt;
-         * Objects of the following type(s) are allowed in the list
-         * {@link String }
-         * 
-         * 
-         */
-        public List<String> getTaxon() {
-            if (taxon == null) {
-                taxon = new ArrayList<String>();
-            }
-            return this.taxon;
-        }
-
+    public List<String> getTaxon()
+    {
+      if (taxon == null)
+      {
+        taxon = new ArrayList<String>();
+      }
+      return this.taxon;
     }
 
+  }
+
 }