// // 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: 2023.05.13 at 06:58:42 PM BST // 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; /** *

* 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">
 *       <sequence>
 *         <element name="accession" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded"/>
 *         <element name="name" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded"/>
 *         <element name="protein" type="{http://uniprot.org/uniprot}proteinType"/>
 *         <element name="gene" type="{http://uniprot.org/uniprot}geneType" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="organism" type="{http://uniprot.org/uniprot}organismType"/>
 *         <element name="organismHost" type="{http://uniprot.org/uniprot}organismType" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="geneLocation" type="{http://uniprot.org/uniprot}geneLocationType" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="reference" type="{http://uniprot.org/uniprot}referenceType" maxOccurs="unbounded"/>
 *         <element name="comment" type="{http://uniprot.org/uniprot}commentType" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="dbReference" type="{http://uniprot.org/uniprot}dbReferenceType" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="proteinExistence" type="{http://uniprot.org/uniprot}proteinExistenceType"/>
 *         <element name="keyword" type="{http://uniprot.org/uniprot}keywordType" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="feature" type="{http://uniprot.org/uniprot}featureType" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="evidence" type="{http://uniprot.org/uniprot}evidenceType" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="sequence" type="{http://uniprot.org/uniprot}sequenceType"/>
 *       </sequence>
 *       <attribute name="dataset" use="required">
 *         <simpleType>
 *           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
 *             <enumeration value="Swiss-Prot"/>
 *             <enumeration value="TrEMBL"/>
 *           </restriction>
 *         </simpleType>
 *       </attribute>
 *       <attribute name="created" use="required" type="{http://www.w3.org/2001/XMLSchema}date" />
 *       <attribute name="modified" use="required" type="{http://www.w3.org/2001/XMLSchema}date" />
 *       <attribute name="version" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @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. * *

* 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; } /** * 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; } /** * 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(); } 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(); } 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(); } 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(); } 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; } }