X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fxml%2Fbinding%2Funiprot%2FSourceDataType.java;h=959897653a11616feba6101559c2e33e71210fec;hb=ae447a3691fb85aaf4e27cd6af8a6e0eb3d50530;hp=3b71bae25b8908b01a6306aa9e89b9f31f1c6cda;hpb=57738a1f3c19b1c3a00bd3ac5108f8cd0af32f99;p=jalview.git diff --git a/src/jalview/xml/binding/uniprot/SourceDataType.java b/src/jalview/xml/binding/uniprot/SourceDataType.java index 3b71bae..9598976 100644 --- a/src/jalview/xml/binding/uniprot/SourceDataType.java +++ b/src/jalview/xml/binding/uniprot/SourceDataType.java @@ -2,9 +2,10 @@ // 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: 2019.04.05 at 08:01:44 AM BST +// Generated on: 2023.02.22 at 10:08:58 PM GMT // + package jalview.xml.binding.uniprot; import java.util.ArrayList; @@ -17,16 +18,14 @@ 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. * - *

- * Java class for sourceDataType complex type. + *

Java class for sourceDataType complex type. * - *

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

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

  * <complexType name="sourceDataType">
@@ -78,401 +77,385 @@ import javax.xml.bind.annotation.XmlValue;
  * 
  */
 @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;
-
-  /**
-   * 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; - } +@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; /** - * 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. + * 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 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 strainOrPlasmidOrTransposon property. * *

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

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

- * Objects of the following type(s) are allowed in the list {@link Integer } + * 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 getEvidence() - { - if (evidence == null) - { - evidence = new ArrayList(); - } - return this.evidence; + 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 Strain - { - - @XmlValue - protected String value; - - @XmlAttribute(name = "evidence") - protected List evidence; /** - * Gets the value of the value property. + *

Java class for anonymous complex type. * - * @return possible object is {@link String } + *

The following schema fragment specifies the expected content contained within this class. * - */ - public String getValue() - { - return value; - } - - /** - * Sets the value of the value property. + *

+     * <complexType>
+     *   <simpleContent>
+     *     <extension base="<http://www.w3.org/2001/XMLSchema>string">
+     *       <attribute name="evidence" type="{http://uniprot.org/uniprot}intListType" />
+     *     </extension>
+     *   </simpleContent>
+     * </complexType>
+     * 
* - * @param value - * allowed object is {@link String } * */ - public void setValue(String value) - { - this.value = value; + @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. + * + *

+ * 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; + } + } + /** - * Gets the value of the evidence property. + *

Java class for anonymous complex type. * - *

- * 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: + *

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

-     * getEvidence().add(newItem);
+     * <complexType>
+     *   <simpleContent>
+     *     <extension base="<http://www.w3.org/2001/XMLSchema>string">
+     *       <attribute name="evidence" type="{http://uniprot.org/uniprot}intListType" />
+     *     </extension>
+     *   </simpleContent>
+     * </complexType>
      * 
* * - *

- * 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 Tissue - { - - @XmlValue - protected String value; - - @XmlAttribute(name = "evidence") - protected List evidence; + @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. + * + *

+ * 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; + } - /** - * 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. + *

Java class for anonymous complex type. * - *

- * 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: + *

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

-     * getEvidence().add(newItem);
+     * <complexType>
+     *   <simpleContent>
+     *     <extension base="<http://www.w3.org/2001/XMLSchema>string">
+     *       <attribute name="evidence" type="{http://uniprot.org/uniprot}intListType" />
+     *     </extension>
+     *   </simpleContent>
+     * </complexType>
      * 
* * - *

- * 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; - } + @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. + * + *

+ * 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; - - /** - * 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. + *

Java class for anonymous complex type. * - *

- * 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: + *

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

-     * getEvidence().add(newItem);
+     * <complexType>
+     *   <simpleContent>
+     *     <extension base="<http://www.w3.org/2001/XMLSchema>string">
+     *       <attribute name="evidence" type="{http://uniprot.org/uniprot}intListType" />
+     *     </extension>
+     *   </simpleContent>
+     * </complexType>
      * 
* * - *

- * 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; - } + @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. + * + *

+ * 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; + } - } + } }