X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fxml%2Fbinding%2Funiprot%2FNameListType.java;h=c638af73248884f75f6d07e06f0a70e9a7e22574;hb=1f41372a2bda3efcc27abaed092495548135b6b4;hp=947f2f4eb83105f75cc920d0f421a46ea07e8e27;hpb=57738a1f3c19b1c3a00bd3ac5108f8cd0af32f99;p=jalview.git diff --git a/src/jalview/xml/binding/uniprot/NameListType.java b/src/jalview/xml/binding/uniprot/NameListType.java index 947f2f4..c638af7 100644 --- a/src/jalview/xml/binding/uniprot/NameListType.java +++ b/src/jalview/xml/binding/uniprot/NameListType.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; @@ -15,13 +16,11 @@ import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlElements; import javax.xml.bind.annotation.XmlType; + /** - *

- * Java class for nameListType complex type. + *

Java class for nameListType 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="nameListType">
@@ -39,45 +38,45 @@ import javax.xml.bind.annotation.XmlType;
  * 
  */
 @XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "nameListType", propOrder = { "consortiumOrPerson" })
-public class NameListType
-{
+@XmlType(name = "nameListType", propOrder = {
+    "consortiumOrPerson"
+})
+public class NameListType {
 
-  @XmlElements({
-      @XmlElement(name = "consortium", type = ConsortiumType.class),
-      @XmlElement(name = "person", type = PersonType.class) })
-  protected List consortiumOrPerson;
+    @XmlElements({
+        @XmlElement(name = "consortium", type = ConsortiumType.class),
+        @XmlElement(name = "person", type = PersonType.class)
+    })
+    protected List consortiumOrPerson;
 
-  /**
-   * Gets the value of the consortiumOrPerson 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 consortiumOrPerson property. - * - *

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

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

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

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

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

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