X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fxml%2Fbinding%2Funiprot%2FIsoformType.java;h=20fbbb57195be8e92849249a8a84943eda9e0cdf;hb=4b7d3640209c4434d569c746672cf9eed4250ace;hp=ea55664acdbbdff4fc88cb4502c0e6f2e742dc80;hpb=b3fb6325a8bc315c5c938faf10ffd2e73d965f16;p=jalview.git diff --git a/src/jalview/xml/binding/uniprot/IsoformType.java b/src/jalview/xml/binding/uniprot/IsoformType.java index ea55664..20fbbb5 100644 --- a/src/jalview/xml/binding/uniprot/IsoformType.java +++ b/src/jalview/xml/binding/uniprot/IsoformType.java @@ -5,7 +5,6 @@ // Generated on: 2023.03.17 at 05:31:46 PM GMT // - package jalview.xml.binding.uniprot; import java.util.ArrayList; @@ -17,13 +16,15 @@ import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlType; import javax.xml.bind.annotation.XmlValue; - /** * Describes isoforms in 'alternative products' annotations. * - *

Java class for isoformType complex type. + *

+ * Java class for isoformType 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="isoformType">
@@ -69,302 +70,316 @@ import javax.xml.bind.annotation.XmlValue;
  * 
  */
 @XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "isoformType", propOrder = {
-    "id",
-    "name",
-    "sequence",
-    "text"
-})
-public class IsoformType {
+@XmlType(
+  name = "isoformType",
+  propOrder =
+  { "id", "name", "sequence", "text" })
+public class IsoformType
+{
 
-    @XmlElement(required = true)
-    protected List id;
-    @XmlElement(required = true)
-    protected List name;
-    @XmlElement(required = true)
-    protected IsoformType.Sequence sequence;
-    protected List text;
+  @XmlElement(required = true)
+  protected List id;
 
-    /**
-     * Gets the value of the id 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 id property. - * - *

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

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

- * Objects of the following type(s) are allowed in the list - * {@link String } - * - * - */ - public List getId() { - if (id == null) { - id = new ArrayList(); - } - return this.id; + @XmlElement(required = true) + protected List name; + + @XmlElement(required = true) + protected IsoformType.Sequence sequence; + + protected List text; + + /** + * Gets the value of the id 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 id property. + * + *

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

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

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

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

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

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

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

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

+ * Objects of the following type(s) are allowed in the list + * {@link IsoformType.Name } + * + * + */ + public List getName() + { + if (name == null) + { + name = new ArrayList(); + } + return this.name; + } + + /** + * Gets the value of the sequence property. + * + * @return possible object is {@link IsoformType.Sequence } + * + */ + public IsoformType.Sequence getSequence() + { + return sequence; + } + + /** + * Sets the value of the sequence property. + * + * @param value + * allowed object is {@link IsoformType.Sequence } + * + */ + public void setSequence(IsoformType.Sequence value) + { + this.sequence = value; + } + + /** + * Gets the value of the text 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 text property. + * + *

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

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

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

+ * 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 Name + { + + @XmlValue + protected String value; + + @XmlAttribute(name = "evidence") + protected List evidence; /** - * Gets the value of the sequence property. + * Gets the value of the value property. + * + * @return possible object is {@link String } * - * @return - * possible object is - * {@link IsoformType.Sequence } - * */ - public IsoformType.Sequence getSequence() { - return sequence; + public String getValue() + { + return value; } /** - * Sets the value of the sequence property. + * Sets the value of the value property. * * @param value - * allowed object is - * {@link IsoformType.Sequence } - * + * allowed object is {@link String } + * */ - public void setSequence(IsoformType.Sequence value) { - this.sequence = value; + public void setValue(String value) + { + this.value = value; } /** - * Gets the value of the text property. + * 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 text 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: + * *

-     *    getText().add(newItem);
+     * getEvidence().add(newItem);
      * 
* * *

- * Objects of the following type(s) are allowed in the list - * {@link EvidencedStringType } + * Objects of the following type(s) are allowed in the list {@link Integer } * * */ - public List getText() { - if (text == null) { - text = new ArrayList(); - } - return this.text; + 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>
+   *   <complexContent>
+   *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+   *       <attribute name="type" use="required">
+   *         <simpleType>
+   *           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+   *             <enumeration value="not described"/>
+   *             <enumeration value="described"/>
+   *             <enumeration value="displayed"/>
+   *             <enumeration value="external"/>
+   *           </restriction>
+   *         </simpleType>
+   *       </attribute>
+   *       <attribute name="ref" type="{http://www.w3.org/2001/XMLSchema}string" />
+   *     </restriction>
+   *   </complexContent>
+   * </complexType>
+   * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "") + public static class Sequence + { + + @XmlAttribute(name = "type", required = true) + protected String type; + + @XmlAttribute(name = "ref") + protected String ref; /** - *

Java class for anonymous complex type. + * Gets the value of the type 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 getType() + { + return type; + } + + /** + * Sets the value of the type property. * + * @param value + * allowed object is {@link String } * */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "value" - }) - public static class Name { - - @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 setType(String value) + { + this.type = value; } - /** - *

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

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

-     * <complexType>
-     *   <complexContent>
-     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-     *       <attribute name="type" use="required">
-     *         <simpleType>
-     *           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
-     *             <enumeration value="not described"/>
-     *             <enumeration value="described"/>
-     *             <enumeration value="displayed"/>
-     *             <enumeration value="external"/>
-     *           </restriction>
-     *         </simpleType>
-     *       </attribute>
-     *       <attribute name="ref" type="{http://www.w3.org/2001/XMLSchema}string" />
-     *     </restriction>
-     *   </complexContent>
-     * </complexType>
-     * 
+ */ + public String getRef() + { + return ref; + } + + /** + * Sets the value of the ref property. * + * @param value + * allowed object is {@link String } * */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "") - public static class Sequence { - - @XmlAttribute(name = "type", required = true) - protected String type; - @XmlAttribute(name = "ref") - protected String ref; - - /** - * Gets the value of the type property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getType() { - return type; - } - - /** - * Sets the value of the type property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setType(String value) { - this.type = value; - } - - /** - * Gets the value of the ref property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getRef() { - return ref; - } - - /** - * Sets the value of the ref property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setRef(String value) { - this.ref = value; - } - + public void setRef(String value) + { + this.ref = value; } + } + }