X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fxml%2Fbinding%2Funiprot%2FEntry.java;h=3cc0c734379ef8c5d409b7bfc9dd2b44a6667fdc;hb=4b7d3640209c4434d569c746672cf9eed4250ace;hp=21963a8208a531edefa65bcd3c4c7772f38aca9c;hpb=b3fb6325a8bc315c5c938faf10ffd2e73d965f16;p=jalview.git diff --git a/src/jalview/xml/binding/uniprot/Entry.java b/src/jalview/xml/binding/uniprot/Entry.java index 21963a8..3cc0c73 100644 --- a/src/jalview/xml/binding/uniprot/Entry.java +++ b/src/jalview/xml/binding/uniprot/Entry.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; @@ -19,11 +18,13 @@ 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> @@ -65,561 +66,594 @@ 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; - @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; - } +public class Entry +{ - /** - * 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; - } + @XmlElement(required = true) + protected List accession; - /** - * Gets the value of the protein property. - * - * @return - * possible object is - * {@link ProteinType } - * - */ - public ProteinType getProtein() { - return protein; - } + @XmlElement(required = true) + protected List name; - /** - * 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 ProteinType protein; - /** - * 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; - } + protected List gene; - /** - * Gets the value of the organism property. - * - * @return - * possible object is - * {@link OrganismType } - * - */ - public OrganismType getOrganism() { - return organism; - } + @XmlElement(required = true) + protected OrganismType organism; - /** - * Sets the value of the organism property. - * - * @param value - * allowed object is - * {@link OrganismType } - * - */ - public void setOrganism(OrganismType value) { - this.organism = value; - } + protected List organismHost; - /** - * 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 geneLocation; - /** - * 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; - } + @XmlElement(required = true) + protected List reference; - /** - * 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; - } + @XmlElement(nillable = true) + protected List comment; - /** - * 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; - } + protected List dbReference; - /** - * 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; - } + @XmlElement(required = true) + protected ProteinExistenceType proteinExistence; - /** - * Gets the value of the proteinExistence property. - * - * @return - * possible object is - * {@link ProteinExistenceType } - * - */ - public ProteinExistenceType getProteinExistence() { - return proteinExistence; - } + protected List keyword; - /** - * Sets the value of the proteinExistence property. - * - * @param value - * allowed object is - * {@link ProteinExistenceType } - * - */ - public void setProteinExistence(ProteinExistenceType value) { - this.proteinExistence = value; - } + protected List feature; - /** - * 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; - } + protected List evidence; - /** - * 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; - } + @XmlElement(required = true) + protected SequenceType sequence; - /** - * 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; - } + @XmlAttribute(name = "dataset", required = true) + protected String dataset; - /** - * Gets the value of the sequence property. - * - * @return - * possible object is - * {@link SequenceType } - * - */ - public SequenceType getSequence() { - return sequence; - } + @XmlAttribute(name = "created", required = true) + @XmlSchemaType(name = "date") + protected XMLGregorianCalendar created; - /** - * Sets the value of the sequence property. - * - * @param value - * allowed object is - * {@link SequenceType } - * - */ - public void setSequence(SequenceType value) { - this.sequence = value; - } + @XmlAttribute(name = "modified", required = true) + @XmlSchemaType(name = "date") + protected XMLGregorianCalendar modified; - /** - * Gets the value of the dataset property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getDataset() { - return dataset; - } + @XmlAttribute(name = "version", required = true) + protected int version; - /** - * 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 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 created property. - * - * @return - * possible object is - * {@link XMLGregorianCalendar } - * - */ - public XMLGregorianCalendar getCreated() { - return created; + 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 (); } - - /** - * Sets the value of the created property. - * - * @param value - * allowed object is - * {@link XMLGregorianCalendar } - * - */ - public void setCreated(XMLGregorianCalendar value) { - this.created = value; + 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 (); } - - /** - * Gets the value of the modified property. - * - * @return - * possible object is - * {@link XMLGregorianCalendar } - * - */ - public XMLGregorianCalendar getModified() { - return modified; + 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 (); } - - /** - * Sets the value of the modified property. - * - * @param value - * allowed object is - * {@link XMLGregorianCalendar } - * - */ - public void setModified(XMLGregorianCalendar value) { - this.modified = value; + 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 (); } - - /** - * Gets the value of the version property. - * - */ - public int getVersion() { - return version; + 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 (); } - - /** - * Sets the value of the version property. - * - */ - public void setVersion(int value) { - this.version = value; + 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 (); + } + 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 (); + } + 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 (); + } + 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 (); + } + 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 (); } + 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; + } }