X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fxml%2Fbinding%2Funiprot%2FIsoformType.java;h=20fbbb57195be8e92849249a8a84943eda9e0cdf;hb=beb2fee66dde629e3bbb7febb38d0116e1a64df2;hp=9d218cfd218b4c821f0090431748f04045f8210b;hpb=cb16a5e1595755bf28fdf82f4cc17bbd48638902;p=jalview.git diff --git a/src/jalview/xml/binding/uniprot/IsoformType.java b/src/jalview/xml/binding/uniprot/IsoformType.java index 9d218cf..c3f1d0a 100644 --- a/src/jalview/xml/binding/uniprot/IsoformType.java +++ b/src/jalview/xml/binding/uniprot/IsoformType.java @@ -2,10 +2,9 @@ // 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.05.13 at 06:58:42 PM BST // - 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 Listid; - @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 Listevidence; /** - * 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 Listevidence; - - /** - * 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; } + } + }