X-Git-Url: http://source.jalview.org/gitweb/?p=jalview.git;a=blobdiff_plain;f=src%2Fjalview%2Fxml%2Fbinding%2Funiprot%2FSourceDataType.java;h=3b71bae25b8908b01a6306aa9e89b9f31f1c6cda;hp=c3838ec7a5e7d65f69c7ec900f9a137adaba3804;hb=57738a1f3c19b1c3a00bd3ac5108f8cd0af32f99;hpb=e7338a61f3ce96dadf44ac80b2b32cc5ba4b94c8 diff --git a/src/jalview/xml/binding/uniprot/SourceDataType.java b/src/jalview/xml/binding/uniprot/SourceDataType.java index c3838ec..3b71bae 100644 --- a/src/jalview/xml/binding/uniprot/SourceDataType.java +++ b/src/jalview/xml/binding/uniprot/SourceDataType.java @@ -5,7 +5,6 @@ // Generated on: 2019.04.05 at 08:01:44 AM BST // - package jalview.xml.binding.uniprot; import java.util.ArrayList; @@ -18,14 +17,16 @@ 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">
@@ -77,385 +78,401 @@ 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;
+@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; + } /** - * Gets the value of the strainOrPlasmidOrTransposon property. + * 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 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. * *

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

-     *    getStrainOrPlasmidOrTransposon().add(newItem);
+     * getEvidence().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 } + * 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; /** - *

Java class for anonymous complex type. + * Gets the value of the value property. * - *

The following schema fragment specifies the expected content contained within this class. + * @return possible object is {@link String } * - *

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

- * 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; - } - + public void setValue(String value) + { + this.value = value; } - /** - *

Java class for anonymous complex type. + * Gets the value of the evidence property. * - *

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

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

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

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

Java class for anonymous complex type. + * Gets the value of the evidence property. * - *

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

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

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

Java class for anonymous complex type. + * Gets the value of the evidence property. * - *

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

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

-     * <complexType>
-     *   <simpleContent>
-     *     <extension base="<http://www.w3.org/2001/XMLSchema>string">
-     *       <attribute name="evidence" type="{http://uniprot.org/uniprot}intListType" />
-     *     </extension>
-     *   </simpleContent>
-     * </complexType>
+     * 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 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; - } - + public List getEvidence() + { + if (evidence == null) + { + evidence = new ArrayList(); + } + return this.evidence; } + } + }