X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Fjalview%2Fxml%2Fbinding%2Funiprot%2FEntry.java;h=8ca1da7ee136b5ea655006ffdfd8cddae59496a6;hb=8479d86d490c841168c9eed1ac80960ce4191c78;hp=65bbd88f360054c7fb290c55b81adada60defc86;hpb=57738a1f3c19b1c3a00bd3ac5108f8cd0af32f99;p=jalview.git diff --git a/src/jalview/xml/binding/uniprot/Entry.java b/src/jalview/xml/binding/uniprot/Entry.java index 65bbd88..8ca1da7 100644 --- a/src/jalview/xml/binding/uniprot/Entry.java +++ b/src/jalview/xml/binding/uniprot/Entry.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; @@ -18,13 +19,11 @@ import javax.xml.bind.annotation.XmlSchemaType; import javax.xml.bind.annotation.XmlType; import javax.xml.datatype.XMLGregorianCalendar; + /** - *
- * Java class for anonymous complex type. + *
Java class for anonymous 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> @@ -66,594 +65,561 @@ import javax.xml.datatype.XMLGregorianCalendar; * */ @XmlAccessorType(XmlAccessType.FIELD) -@XmlType( - name = "", - propOrder = - { "accession", "name", "protein", "gene", "organism", "organismHost", - "geneLocation", "reference", "comment", "dbReference", - "proteinExistence", "keyword", "feature", "evidence", "sequence" }) +@XmlType(name = "", propOrder = { + "accession", + "name", + "protein", + "gene", + "organism", + "organismHost", + "geneLocation", + "reference", + "comment", + "dbReference", + "proteinExistence", + "keyword", + "feature", + "evidence", + "sequence" +}) @XmlRootElement(name = "entry") -public class Entry -{ - - @XmlElement(required = true) - protected Listaccession; - - @XmlElement(required = true) - protected List name; - - @XmlElement(required = true) - protected ProteinType protein; - - protected List gene; +public class Entry { + + @XmlElement(required = true) + protected List accession; + @XmlElement(required = true) + protected List name; + @XmlElement(required = true) + protected ProteinType protein; + protected List gene; + @XmlElement(required = true) + protected OrganismType organism; + protected List organismHost; + protected List geneLocation; + @XmlElement(required = true) + protected List reference; + @XmlElement(nillable = true) + protected List comment; + protected List dbReference; + @XmlElement(required = true) + protected ProteinExistenceType proteinExistence; + protected List keyword; + protected List feature; + protected List evidence; + @XmlElement(required = true) + protected SequenceType sequence; + @XmlAttribute(name = "dataset", required = true) + protected String dataset; + @XmlAttribute(name = "created", required = true) + @XmlSchemaType(name = "date") + protected XMLGregorianCalendar created; + @XmlAttribute(name = "modified", required = true) + @XmlSchemaType(name = "date") + protected XMLGregorianCalendar modified; + @XmlAttribute(name = "version", required = true) + protected int version; + + /** + * Gets the value of the accession 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 accession property. + * + *+ * For example, to add a new item, do as follows: + *
+ * getAccession().add(newItem); + *+ * + * + *+ * Objects of the following type(s) are allowed in the list + * {@link String } + * + * + */ + public List
getAccession() { + if (accession == null) { + accession = new ArrayList (); + } + return this.accession; + } - @XmlElement(required = true) - protected OrganismType organism; + /** + * 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 String } + * + * + */ + public List
getName() { + if (name == null) { + name = new ArrayList (); + } + return this.name; + } - protected List organismHost; + /** + * Gets the value of the protein property. + * + * @return + * possible object is + * {@link ProteinType } + * + */ + public ProteinType getProtein() { + return protein; + } - protected List geneLocation; + /** + * Sets the value of the protein property. + * + * @param value + * allowed object is + * {@link ProteinType } + * + */ + public void setProtein(ProteinType value) { + this.protein = value; + } - @XmlElement(required = true) - protected List reference; + /** + * Gets the value of the gene 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 gene property. + * + *+ * For example, to add a new item, do as follows: + *
+ * getGene().add(newItem); + *+ * + * + *+ * Objects of the following type(s) are allowed in the list + * {@link GeneType } + * + * + */ + public List
getGene() { + if (gene == null) { + gene = new ArrayList (); + } + return this.gene; + } - @XmlElement(nillable = true) - protected List comment; + /** + * Gets the value of the organism property. + * + * @return + * possible object is + * {@link OrganismType } + * + */ + public OrganismType getOrganism() { + return organism; + } - protected List dbReference; + /** + * Sets the value of the organism property. + * + * @param value + * allowed object is + * {@link OrganismType } + * + */ + public void setOrganism(OrganismType value) { + this.organism = value; + } - @XmlElement(required = true) - protected ProteinExistenceType proteinExistence; + /** + * Gets the value of the organismHost 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 organismHost property. + * + *+ * For example, to add a new item, do as follows: + *
+ * getOrganismHost().add(newItem); + *+ * + * + *+ * Objects of the following type(s) are allowed in the list + * {@link OrganismType } + * + * + */ + public List
getOrganismHost() { + if (organismHost == null) { + organismHost = new ArrayList (); + } + return this.organismHost; + } - protected List keyword; + /** + * Gets the value of the geneLocation 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 geneLocation property. + * + *+ * For example, to add a new item, do as follows: + *
+ * getGeneLocation().add(newItem); + *+ * + * + *+ * Objects of the following type(s) are allowed in the list + * {@link GeneLocationType } + * + * + */ + public List
getGeneLocation() { + if (geneLocation == null) { + geneLocation = new ArrayList (); + } + return this.geneLocation; + } - protected List feature; + /** + * Gets the value of the reference 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 reference property. + * + *+ * For example, to add a new item, do as follows: + *
+ * getReference().add(newItem); + *+ * + * + *+ * Objects of the following type(s) are allowed in the list + * {@link ReferenceType } + * + * + */ + public List
getReference() { + if (reference == null) { + reference = new ArrayList (); + } + return this.reference; + } - protected List evidence; + /** + * Gets the value of the comment 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 comment property. + * + *+ * For example, to add a new item, do as follows: + *
+ * getComment().add(newItem); + *+ * + * + *+ * Objects of the following type(s) are allowed in the list + * {@link CommentType } + * + * + */ + public List
getComment() { + if (comment == null) { + comment = new ArrayList (); + } + return this.comment; + } - @XmlElement(required = true) - protected SequenceType sequence; + /** + * Gets the value of the dbReference 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 dbReference property. + * + *+ * For example, to add a new item, do as follows: + *
+ * getDbReference().add(newItem); + *+ * + * + *+ * Objects of the following type(s) are allowed in the list + * {@link DbReferenceType } + * + * + */ + public List
getDbReference() { + if (dbReference == null) { + dbReference = new ArrayList (); + } + return this.dbReference; + } - @XmlAttribute(name = "dataset", required = true) - protected String dataset; + /** + * Gets the value of the proteinExistence property. + * + * @return + * possible object is + * {@link ProteinExistenceType } + * + */ + public ProteinExistenceType getProteinExistence() { + return proteinExistence; + } - @XmlAttribute(name = "created", required = true) - @XmlSchemaType(name = "date") - protected XMLGregorianCalendar created; + /** + * Sets the value of the proteinExistence property. + * + * @param value + * allowed object is + * {@link ProteinExistenceType } + * + */ + public void setProteinExistence(ProteinExistenceType value) { + this.proteinExistence = value; + } - @XmlAttribute(name = "modified", required = true) - @XmlSchemaType(name = "date") - protected XMLGregorianCalendar modified; + /** + * Gets the value of the keyword 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 keyword property. + * + *+ * For example, to add a new item, do as follows: + *
+ * getKeyword().add(newItem); + *+ * + * + *+ * Objects of the following type(s) are allowed in the list + * {@link KeywordType } + * + * + */ + public List
getKeyword() { + if (keyword == null) { + keyword = new ArrayList (); + } + return this.keyword; + } - @XmlAttribute(name = "version", required = true) - protected int version; + /** + * Gets the value of the feature 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 feature property. + * + *+ * For example, to add a new item, do as follows: + *
+ * getFeature().add(newItem); + *+ * + * + *+ * Objects of the following type(s) are allowed in the list + * {@link FeatureType } + * + * + */ + public List
getFeature() { + if (feature == null) { + feature = new ArrayList (); + } + return this.feature; + } - /** - * Gets the value of the accession 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 accession property. - * - *- * For example, to add a new item, do as follows: - * - *
- * getAccession().add(newItem); - *- * - * - *- * Objects of the following type(s) are allowed in the list {@link String } - * - * - */ - public List
getAccession() - { - if (accession == null) - { - accession = new ArrayList (); + /** + * 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 EvidenceType } + * + * + */ + public List
getEvidence() { + if (evidence == null) { + evidence = new ArrayList (); + } + return this.evidence; } - return this.accession; - } - - /** - * 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 String } - * - * - */ - public List
getName() - { - if (name == null) - { - name = new ArrayList (); + + /** + * Gets the value of the sequence property. + * + * @return + * possible object is + * {@link SequenceType } + * + */ + public SequenceType getSequence() { + return sequence; } - return this.name; - } - - /** - * Gets the value of the protein property. - * - * @return possible object is {@link ProteinType } - * - */ - public ProteinType getProtein() - { - return protein; - } - - /** - * Sets the value of the protein property. - * - * @param value - * allowed object is {@link ProteinType } - * - */ - public void setProtein(ProteinType value) - { - this.protein = value; - } - - /** - * Gets the value of the gene 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 gene property. - * - *- * For example, to add a new item, do as follows: - * - *
- * getGene().add(newItem); - *- * - * - *- * Objects of the following type(s) are allowed in the list {@link GeneType } - * - * - */ - public List
getGene() - { - if (gene == null) - { - gene = new ArrayList (); + + /** + * Sets the value of the sequence property. + * + * @param value + * allowed object is + * {@link SequenceType } + * + */ + public void setSequence(SequenceType value) { + this.sequence = value; } - return this.gene; - } - - /** - * Gets the value of the organism property. - * - * @return possible object is {@link OrganismType } - * - */ - public OrganismType getOrganism() - { - return organism; - } - - /** - * Sets the value of the organism property. - * - * @param value - * allowed object is {@link OrganismType } - * - */ - public void setOrganism(OrganismType value) - { - this.organism = value; - } - - /** - * Gets the value of the organismHost 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 organismHost property. - * - *- * For example, to add a new item, do as follows: - * - *
- * getOrganismHost().add(newItem); - *- * - * - *- * Objects of the following type(s) are allowed in the list - * {@link OrganismType } - * - * - */ - public List
getOrganismHost() - { - if (organismHost == null) - { - organismHost = new ArrayList (); + + /** + * Gets the value of the dataset property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getDataset() { + return dataset; } - return this.organismHost; - } - - /** - * Gets the value of the geneLocation 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 geneLocation property. - * - *- * For example, to add a new item, do as follows: - * - *
- * getGeneLocation().add(newItem); - *- * - * - *- * Objects of the following type(s) are allowed in the list - * {@link GeneLocationType } - * - * - */ - public List
getGeneLocation() - { - if (geneLocation == null) - { - geneLocation = new ArrayList (); + + /** + * Sets the value of the dataset property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setDataset(String value) { + this.dataset = value; } - return this.geneLocation; - } - - /** - * Gets the value of the reference 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 reference property. - * - *- * For example, to add a new item, do as follows: - * - *
- * getReference().add(newItem); - *- * - * - *- * Objects of the following type(s) are allowed in the list - * {@link ReferenceType } - * - * - */ - public List
getReference() - { - if (reference == null) - { - reference = new ArrayList (); + + /** + * Gets the value of the created property. + * + * @return + * possible object is + * {@link XMLGregorianCalendar } + * + */ + public XMLGregorianCalendar getCreated() { + return created; } - return this.reference; - } - - /** - * Gets the value of the comment 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 comment property. - * - *- * For example, to add a new item, do as follows: - * - *
- * getComment().add(newItem); - *- * - * - *- * Objects of the following type(s) are allowed in the list {@link CommentType - * } - * - * - */ - public List
getComment() - { - if (comment == null) - { - comment = new ArrayList (); + + /** + * Sets the value of the created property. + * + * @param value + * allowed object is + * {@link XMLGregorianCalendar } + * + */ + public void setCreated(XMLGregorianCalendar value) { + this.created = value; } - return this.comment; - } - - /** - * Gets the value of the dbReference 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 dbReference property. - * - *- * For example, to add a new item, do as follows: - * - *
- * getDbReference().add(newItem); - *- * - * - *- * Objects of the following type(s) are allowed in the list - * {@link DbReferenceType } - * - * - */ - public List
getDbReference() - { - if (dbReference == null) - { - dbReference = new ArrayList (); + + /** + * Gets the value of the modified property. + * + * @return + * possible object is + * {@link XMLGregorianCalendar } + * + */ + public XMLGregorianCalendar getModified() { + return modified; } - return this.dbReference; - } - - /** - * Gets the value of the proteinExistence property. - * - * @return possible object is {@link ProteinExistenceType } - * - */ - public ProteinExistenceType getProteinExistence() - { - return proteinExistence; - } - - /** - * Sets the value of the proteinExistence property. - * - * @param value - * allowed object is {@link ProteinExistenceType } - * - */ - public void setProteinExistence(ProteinExistenceType value) - { - this.proteinExistence = value; - } - - /** - * Gets the value of the keyword 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 keyword property. - * - *- * For example, to add a new item, do as follows: - * - *
- * getKeyword().add(newItem); - *- * - * - *- * Objects of the following type(s) are allowed in the list {@link KeywordType - * } - * - * - */ - public List
getKeyword() - { - if (keyword == null) - { - keyword = new ArrayList (); + + /** + * Sets the value of the modified property. + * + * @param value + * allowed object is + * {@link XMLGregorianCalendar } + * + */ + public void setModified(XMLGregorianCalendar value) { + this.modified = value; } - return this.keyword; - } - - /** - * Gets the value of the feature 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 feature property. - * - *- * For example, to add a new item, do as follows: - * - *
- * getFeature().add(newItem); - *- * - * - *- * Objects of the following type(s) are allowed in the list {@link FeatureType - * } - * - * - */ - public List
getFeature() - { - if (feature == null) - { - feature = new ArrayList (); + + /** + * Gets the value of the version property. + * + */ + public int getVersion() { + return version; } - return this.feature; - } - - /** - * 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 EvidenceType } - * - * - */ - public List
getEvidence() - { - if (evidence == null) - { - evidence = new ArrayList (); + + /** + * Sets the value of the version property. + * + */ + public void setVersion(int value) { + this.version = value; } - return this.evidence; - } - - /** - * Gets the value of the sequence property. - * - * @return possible object is {@link SequenceType } - * - */ - public SequenceType getSequence() - { - return sequence; - } - - /** - * Sets the value of the sequence property. - * - * @param value - * allowed object is {@link SequenceType } - * - */ - public void setSequence(SequenceType value) - { - this.sequence = value; - } - - /** - * Gets the value of the dataset property. - * - * @return possible object is {@link String } - * - */ - public String getDataset() - { - return dataset; - } - - /** - * Sets the value of the dataset property. - * - * @param value - * allowed object is {@link String } - * - */ - public void setDataset(String value) - { - this.dataset = value; - } - - /** - * Gets the value of the created property. - * - * @return possible object is {@link XMLGregorianCalendar } - * - */ - public XMLGregorianCalendar getCreated() - { - return created; - } - - /** - * Sets the value of the created property. - * - * @param value - * allowed object is {@link XMLGregorianCalendar } - * - */ - public void setCreated(XMLGregorianCalendar value) - { - this.created = value; - } - - /** - * Gets the value of the modified property. - * - * @return possible object is {@link XMLGregorianCalendar } - * - */ - public XMLGregorianCalendar getModified() - { - return modified; - } - - /** - * Sets the value of the modified property. - * - * @param value - * allowed object is {@link XMLGregorianCalendar } - * - */ - public void setModified(XMLGregorianCalendar value) - { - this.modified = value; - } - - /** - * Gets the value of the version property. - * - */ - public int getVersion() - { - return version; - } - - /** - * Sets the value of the version property. - * - */ - public void setVersion(int value) - { - this.version = value; - } }