X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fxml%2Fbinding%2Funiprot%2FIsoformType.java;fp=src%2Fjalview%2Fxml%2Fbinding%2Funiprot%2FIsoformType.java;h=33710ef838c67034e07745e9d80bbf0827ce6721;hb=3659ecfe7bb17dd25a0a6b5c94a7d9dab4525136;hp=631ab01d8df01b50938d7bbb1243cac846ef6426;hpb=dbdd2bd3493e0aef8aa3c0fe054c6bceedc31316;p=jalview.git diff --git a/src/jalview/xml/binding/uniprot/IsoformType.java b/src/jalview/xml/binding/uniprot/IsoformType.java index 631ab01..33710ef 100644 --- a/src/jalview/xml/binding/uniprot/IsoformType.java +++ b/src/jalview/xml/binding/uniprot/IsoformType.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.01.31 at 04:07:10 PM GMT // + package jalview.xml.binding.uniprot; import java.util.ArrayList; @@ -16,15 +17,13 @@ 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"> @@ -70,316 +69,302 @@ import javax.xml.bind.annotation.XmlValue; * */ @XmlAccessorType(XmlAccessType.FIELD) -@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; - - /** - * 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; - } +@XmlType(name = "isoformType", propOrder = { + "id", + "name", + "sequence", + "text" +}) +public class IsoformType { - /** - * 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; + @XmlElement(required = true) + protected List id; + @XmlElement(required = true) + protected List name; + @XmlElement(required = true) + protected IsoformType.Sequence sequence; + protected List text; /** - * Gets the value of the value property. + * Gets the value of the id property. * - * @return possible object is {@link String } + * + * 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. * - */ - public String getValue() - { - return value; - } - - /** - * Sets the value of the value 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 } * - * @param value - * allowed object is {@link String } * */ - public void setValue(String value) - { - this.value = value; + public List
getId() { + if (id == null) { + id = new ArrayList (); + } + return this.id; } /** - * Gets the value of the evidence property. + * 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 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 aset
method for the name property. * ** For example, to add a new item, do as follows: - * *
- * getEvidence().add(newItem); + * getName().add(newItem); ** * *- * Objects of the following type(s) are allowed in the list {@link Integer } + * Objects of the following type(s) are allowed in the list + * {@link IsoformType.Name } * * */ - public List
getEvidence() - { - if (evidence == null) - { - evidence = new ArrayList (); - } - return this.evidence; + public List getName() { + if (name == null) { + name = new ArrayList (); + } + return this.name; } - } - - /** - * - * 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; - /** - * Gets the value of the type property. - * - * @return possible object is {@link String } + * Gets the value of the sequence property. * + * @return + * possible object is + * {@link IsoformType.Sequence } + * */ - public String getType() - { - return type; + public IsoformType.Sequence getSequence() { + return sequence; } /** - * Sets the value of the type property. + * Sets the value of the sequence property. * * @param value - * allowed object is {@link String } - * + * allowed object is + * {@link IsoformType.Sequence } + * */ - public void setType(String value) - { - this.type = value; + public void setSequence(IsoformType.Sequence value) { + this.sequence = value; } /** - * Gets the value of the ref property. + * 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 } * - * @return possible object is {@link String } * */ - public String getRef() - { - return ref; + public List
getText() { + if (text == null) { + text = new ArrayList (); + } + return this.text; } + /** - * Sets the value of the ref property. + * 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> + ** - * @param value - * allowed object is {@link String } * */ - public void setRef(String value) - { - this.ref = value; + @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; + } + } - } + + /** + * 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; + + /** + * 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; + } + + } }