// // This file was generated by the Eclipse Implementation of JAXB, v2.3.3 // See https://eclipse-ee4j.github.io/jaxb-ri // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2022.02.07 at 04:44:21 PM GMT // package jalview.xml.binding.uniprot; import java.util.ArrayList; import java.util.List; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlSchemaType; import javax.xml.bind.annotation.XmlType; import javax.xml.datatype.XMLGregorianCalendar; /** * <p>Java class for anonymous complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * &lt;complexType&gt; * &lt;complexContent&gt; * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt; * &lt;sequence&gt; * &lt;element name="accession" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded"/&gt; * &lt;element name="name" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded"/&gt; * &lt;element name="protein" type="{http://uniprot.org/uniprot}proteinType"/&gt; * &lt;element name="gene" type="{http://uniprot.org/uniprot}geneType" maxOccurs="unbounded" minOccurs="0"/&gt; * &lt;element name="organism" type="{http://uniprot.org/uniprot}organismType"/&gt; * &lt;element name="organismHost" type="{http://uniprot.org/uniprot}organismType" maxOccurs="unbounded" minOccurs="0"/&gt; * &lt;element name="geneLocation" type="{http://uniprot.org/uniprot}geneLocationType" maxOccurs="unbounded" minOccurs="0"/&gt; * &lt;element name="reference" type="{http://uniprot.org/uniprot}referenceType" maxOccurs="unbounded"/&gt; * &lt;element name="comment" type="{http://uniprot.org/uniprot}commentType" maxOccurs="unbounded" minOccurs="0"/&gt; * &lt;element name="dbReference" type="{http://uniprot.org/uniprot}dbReferenceType" maxOccurs="unbounded" minOccurs="0"/&gt; * &lt;element name="proteinExistence" type="{http://uniprot.org/uniprot}proteinExistenceType"/&gt; * &lt;element name="keyword" type="{http://uniprot.org/uniprot}keywordType" maxOccurs="unbounded" minOccurs="0"/&gt; * &lt;element name="feature" type="{http://uniprot.org/uniprot}featureType" maxOccurs="unbounded" minOccurs="0"/&gt; * &lt;element name="evidence" type="{http://uniprot.org/uniprot}evidenceType" maxOccurs="unbounded" minOccurs="0"/&gt; * &lt;element name="sequence" type="{http://uniprot.org/uniprot}sequenceType"/&gt; * &lt;/sequence&gt; * &lt;attribute name="dataset" use="required"&gt; * &lt;simpleType&gt; * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string"&gt; * &lt;enumeration value="Swiss-Prot"/&gt; * &lt;enumeration value="TrEMBL"/&gt; * &lt;/restriction&gt; * &lt;/simpleType&gt; * &lt;/attribute&gt; * &lt;attribute name="created" use="required" type="{http://www.w3.org/2001/XMLSchema}date" /&gt; * &lt;attribute name="modified" use="required" type="{http://www.w3.org/2001/XMLSchema}date" /&gt; * &lt;attribute name="version" use="required" type="{http://www.w3.org/2001/XMLSchema}int" /&gt; * &lt;/restriction&gt; * &lt;/complexContent&gt; * &lt;/complexType&gt; * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @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 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. * * <p> * 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 <CODE>set</CODE> method for the accession property. * * <p> * For example, to add a new item, do as follows: * <pre> * getAccession().add(newItem); * </pre> * * * <p> * 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; } /** * Gets the value of the name property. * * <p> * 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 <CODE>set</CODE> method for the name property. * * <p> * For example, to add a new item, do as follows: * <pre> * getName().add(newItem); * </pre> * * * <p> * 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; } /** * 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. * * <p> * 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 <CODE>set</CODE> method for the gene property. * * <p> * For example, to add a new item, do as follows: * <pre> * getGene().add(newItem); * </pre> * * * <p> * 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; } /** * 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. * * <p> * 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 <CODE>set</CODE> method for the organismHost property. * * <p> * For example, to add a new item, do as follows: * <pre> * getOrganismHost().add(newItem); * </pre> * * * <p> * 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; } /** * Gets the value of the geneLocation property. * * <p> * 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 <CODE>set</CODE> method for the geneLocation property. * * <p> * For example, to add a new item, do as follows: * <pre> * getGeneLocation().add(newItem); * </pre> * * * <p> * 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; } /** * Gets the value of the reference property. * * <p> * 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 <CODE>set</CODE> method for the reference property. * * <p> * For example, to add a new item, do as follows: * <pre> * getReference().add(newItem); * </pre> * * * <p> * 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; } /** * Gets the value of the comment property. * * <p> * 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 <CODE>set</CODE> method for the comment property. * * <p> * For example, to add a new item, do as follows: * <pre> * getComment().add(newItem); * </pre> * * * <p> * 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. * * <p> * 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 <CODE>set</CODE> method for the dbReference property. * * <p> * For example, to add a new item, do as follows: * <pre> * getDbReference().add(newItem); * </pre> * * * <p> * 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. * * <p> * 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 <CODE>set</CODE> method for the keyword property. * * <p> * For example, to add a new item, do as follows: * <pre> * getKeyword().add(newItem); * </pre> * * * <p> * 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. * * <p> * 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 <CODE>set</CODE> method for the feature property. * * <p> * For example, to add a new item, do as follows: * <pre> * getFeature().add(newItem); * </pre> * * * <p> * 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. * * <p> * 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 <CODE>set</CODE> method for the evidence property. * * <p> * For example, to add a new item, do as follows: * <pre> * getEvidence().add(newItem); * </pre> * * * <p> * 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; } }