X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fxml%2Fbinding%2Funiprot%2FSubcellularLocationType.java;h=c9dbdf84bc0bb5f6c89011bcf9feaf15d8e600c6;hb=beb2fee66dde629e3bbb7febb38d0116e1a64df2;hp=18da1a766d29f0c3fa0092c167bb934c90bec22b;hpb=f3d6a13271e3f34dfb4e40d6a2a7df1d392f8014;p=jalview.git diff --git a/src/jalview/xml/binding/uniprot/SubcellularLocationType.java b/src/jalview/xml/binding/uniprot/SubcellularLocationType.java index 18da1a7..f8adfde 100644 --- a/src/jalview/xml/binding/uniprot/SubcellularLocationType.java +++ b/src/jalview/xml/binding/uniprot/SubcellularLocationType.java @@ -5,7 +5,6 @@ // Generated on: 2023.05.13 at 06:58:42 PM 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 Listlocation; + + 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; + } }