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=f1a06ef0192c56cd1596f93b5e432fe7276ba0fb;hb=afbff636fa2dfa01daa1f4ec4e8a936e61e3cf16;hp=b9ff7d38ddb62c464351c548d981aa4e65d22648;hpb=c6df3928336440918d23b4e7cb579f134e2f48dd;p=jalview.git diff --git a/src/jalview/xml/binding/uniprot/SubcellularLocationType.java b/src/jalview/xml/binding/uniprot/SubcellularLocationType.java index b9ff7d3..f1a06ef 100644 --- a/src/jalview/xml/binding/uniprot/SubcellularLocationType.java +++ b/src/jalview/xml/binding/uniprot/SubcellularLocationType.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; @@ -15,13 +14,16 @@ 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">
@@ -40,103 +42,114 @@ import javax.xml.bind.annotation.XmlType;
  * 
  */
 @XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "subcellularLocationType", propOrder = {
-    "location",
-    "topology",
-    "orientation"
-})
-public class SubcellularLocationType {
+@XmlType(
+  name = "subcellularLocationType",
+  propOrder =
+  { "location", "topology", "orientation" })
+public class SubcellularLocationType
+{
+
+  @XmlElement(required = true)
+  protected List location;
+
+  protected List topology;
 
-    @XmlElement(required = true)
-    protected List location;
-    protected List topology;
-    protected List orientation;
+  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(); - } - return this.location; + /** + * 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; + } - /** - * 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; + /** + * 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; + } - /** - * 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; + /** + * 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; + } }