X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fxml%2Fbinding%2Funiprot%2FSubcellularLocationType.java;fp=src%2Fjalview%2Fxml%2Fbinding%2Funiprot%2FSubcellularLocationType.java;h=77765a7994dfc50b516760b37e5885f248545a62;hb=a327fd39320e482fad4b57f256f3e3c8ebcf015b;hp=f1a06ef0192c56cd1596f93b5e432fe7276ba0fb;hpb=75509b3431c75337de94bb92c74d0cc35701ee52;p=jalview.git diff --git a/src/jalview/xml/binding/uniprot/SubcellularLocationType.java b/src/jalview/xml/binding/uniprot/SubcellularLocationType.java index f1a06ef..77765a7 100644 --- a/src/jalview/xml/binding/uniprot/SubcellularLocationType.java +++ b/src/jalview/xml/binding/uniprot/SubcellularLocationType.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.01.31 at 04:07:10 PM GMT // + package jalview.xml.binding.uniprot; import java.util.ArrayList; @@ -14,16 +15,13 @@ import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlType; + /** - * Describes the subcellular location and optionally the topology and - * orientation of a molecule. + * Describes the subcellular location and optionally the topology and orientation of a molecule. * - *

- * Java class for subcellularLocationType complex type. + *

Java class for subcellularLocationType 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="subcellularLocationType">
@@ -42,114 +40,103 @@ import javax.xml.bind.annotation.XmlType;
  * 
  */
 @XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(
-  name = "subcellularLocationType",
-  propOrder =
-  { "location", "topology", "orientation" })
-public class SubcellularLocationType
-{
-
-  @XmlElement(required = true)
-  protected List location;
-
-  protected List topology;
+@XmlType(name = "subcellularLocationType", propOrder = {
+    "location",
+    "topology",
+    "orientation"
+})
+public class SubcellularLocationType {
 
-  protected List orientation;
+    @XmlElement(required = true)
+    protected List location;
+    protected List topology;
+    protected List orientation;
 
-  /**
-   * Gets the value of the location 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 location property. - * - *

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

-   * getLocation().add(newItem);
-   * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link EvidencedStringType } - * - * - */ - public List getLocation() - { - if (location == null) - { - location = new ArrayList(); + /** + * Gets the value of the location 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 location property. + * + *

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

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

+ * Objects of the following type(s) are allowed in the list + * {@link EvidencedStringType } + * + * + */ + public List getLocation() { + if (location == null) { + location = new ArrayList(); + } + return this.location; } - return this.location; - } - /** - * Gets the value of the topology 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 topology property. - * - *

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

-   * getTopology().add(newItem);
-   * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link EvidencedStringType } - * - * - */ - public List getTopology() - { - if (topology == null) - { - topology = new ArrayList(); + /** + * Gets the value of the topology 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 topology property. + * + *

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

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

+ * Objects of the following type(s) are allowed in the list + * {@link EvidencedStringType } + * + * + */ + public List getTopology() { + if (topology == null) { + topology = new ArrayList(); + } + return this.topology; } - return this.topology; - } - /** - * Gets the value of the orientation 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 orientation property. - * - *

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

-   * getOrientation().add(newItem);
-   * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link EvidencedStringType } - * - * - */ - public List getOrientation() - { - if (orientation == null) - { - orientation = new ArrayList(); + /** + * Gets the value of the orientation 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 orientation property. + * + *

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

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

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