2 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
3 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
4 // Any modifications to this file will be lost upon recompilation of the source schema.
5 // Generated on: 2023.05.13 at 06:58:42 PM BST
8 package jalview.xml.binding.uniprot;
10 import java.util.ArrayList;
11 import java.util.List;
12 import javax.xml.bind.annotation.XmlAccessType;
13 import javax.xml.bind.annotation.XmlAccessorType;
14 import javax.xml.bind.annotation.XmlAttribute;
15 import javax.xml.bind.annotation.XmlElement;
16 import javax.xml.bind.annotation.XmlRootElement;
17 import javax.xml.bind.annotation.XmlSchemaType;
18 import javax.xml.bind.annotation.XmlType;
19 import javax.xml.datatype.XMLGregorianCalendar;
23 * Java class for anonymous complex type.
26 * The following schema fragment specifies the expected content contained within
32 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
34 * <element name="accession" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded"/>
35 * <element name="name" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded"/>
36 * <element name="protein" type="{http://uniprot.org/uniprot}proteinType"/>
37 * <element name="gene" type="{http://uniprot.org/uniprot}geneType" maxOccurs="unbounded" minOccurs="0"/>
38 * <element name="organism" type="{http://uniprot.org/uniprot}organismType"/>
39 * <element name="organismHost" type="{http://uniprot.org/uniprot}organismType" maxOccurs="unbounded" minOccurs="0"/>
40 * <element name="geneLocation" type="{http://uniprot.org/uniprot}geneLocationType" maxOccurs="unbounded" minOccurs="0"/>
41 * <element name="reference" type="{http://uniprot.org/uniprot}referenceType" maxOccurs="unbounded"/>
42 * <element name="comment" type="{http://uniprot.org/uniprot}commentType" maxOccurs="unbounded" minOccurs="0"/>
43 * <element name="dbReference" type="{http://uniprot.org/uniprot}dbReferenceType" maxOccurs="unbounded" minOccurs="0"/>
44 * <element name="proteinExistence" type="{http://uniprot.org/uniprot}proteinExistenceType"/>
45 * <element name="keyword" type="{http://uniprot.org/uniprot}keywordType" maxOccurs="unbounded" minOccurs="0"/>
46 * <element name="feature" type="{http://uniprot.org/uniprot}featureType" maxOccurs="unbounded" minOccurs="0"/>
47 * <element name="evidence" type="{http://uniprot.org/uniprot}evidenceType" maxOccurs="unbounded" minOccurs="0"/>
48 * <element name="sequence" type="{http://uniprot.org/uniprot}sequenceType"/>
50 * <attribute name="dataset" use="required">
52 * <restriction base="{http://www.w3.org/2001/XMLSchema}string">
53 * <enumeration value="Swiss-Prot"/>
54 * <enumeration value="TrEMBL"/>
58 * <attribute name="created" use="required" type="{http://www.w3.org/2001/XMLSchema}date" />
59 * <attribute name="modified" use="required" type="{http://www.w3.org/2001/XMLSchema}date" />
60 * <attribute name="version" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
62 * </complexContent>
68 @XmlAccessorType(XmlAccessType.FIELD)
72 { "accession", "name", "protein", "gene", "organism", "organismHost",
73 "geneLocation", "reference", "comment", "dbReference",
74 "proteinExistence", "keyword", "feature", "evidence", "sequence" })
75 @XmlRootElement(name = "entry")
79 @XmlElement(required = true)
80 protected List<String> accession;
82 @XmlElement(required = true)
83 protected List<String> name;
85 @XmlElement(required = true)
86 protected ProteinType protein;
88 protected List<GeneType> gene;
90 @XmlElement(required = true)
91 protected OrganismType organism;
93 protected List<OrganismType> organismHost;
95 protected List<GeneLocationType> geneLocation;
97 @XmlElement(required = true)
98 protected List<ReferenceType> reference;
100 @XmlElement(nillable = true)
101 protected List<CommentType> comment;
103 protected List<DbReferenceType> dbReference;
105 @XmlElement(required = true)
106 protected ProteinExistenceType proteinExistence;
108 protected List<KeywordType> keyword;
110 protected List<FeatureType> feature;
112 protected List<EvidenceType> evidence;
114 @XmlElement(required = true)
115 protected SequenceType sequence;
117 @XmlAttribute(name = "dataset", required = true)
118 protected String dataset;
120 @XmlAttribute(name = "created", required = true)
121 @XmlSchemaType(name = "date")
122 protected XMLGregorianCalendar created;
124 @XmlAttribute(name = "modified", required = true)
125 @XmlSchemaType(name = "date")
126 protected XMLGregorianCalendar modified;
128 @XmlAttribute(name = "version", required = true)
129 protected int version;
132 * Gets the value of the accession property.
135 * This accessor method returns a reference to the live list, not a snapshot.
136 * Therefore any modification you make to the returned list will be present
137 * inside the JAXB object. This is why there is not a <CODE>set</CODE> method
138 * for the accession property.
141 * For example, to add a new item, do as follows:
144 * getAccession().add(newItem);
149 * Objects of the following type(s) are allowed in the list {@link String }
153 public List<String> getAccession()
155 if (accession == null)
157 accession = new ArrayList<String>();
159 return this.accession;
163 * Gets the value of the name property.
166 * This accessor method returns a reference to the live list, not a snapshot.
167 * Therefore any modification you make to the returned list will be present
168 * inside the JAXB object. This is why there is not a <CODE>set</CODE> method
169 * for the name property.
172 * For example, to add a new item, do as follows:
175 * getName().add(newItem);
180 * Objects of the following type(s) are allowed in the list {@link String }
184 public List<String> getName()
188 name = new ArrayList<String>();
194 * Gets the value of the protein property.
196 * @return possible object is {@link ProteinType }
199 public ProteinType getProtein()
205 * Sets the value of the protein property.
208 * allowed object is {@link ProteinType }
211 public void setProtein(ProteinType value)
213 this.protein = value;
217 * Gets the value of the gene property.
220 * This accessor method returns a reference to the live list, not a snapshot.
221 * Therefore any modification you make to the returned list will be present
222 * inside the JAXB object. This is why there is not a <CODE>set</CODE> method
223 * for the gene property.
226 * For example, to add a new item, do as follows:
229 * getGene().add(newItem);
234 * Objects of the following type(s) are allowed in the list {@link GeneType }
238 public List<GeneType> getGene()
242 gene = new ArrayList<GeneType>();
248 * Gets the value of the organism property.
250 * @return possible object is {@link OrganismType }
253 public OrganismType getOrganism()
259 * Sets the value of the organism property.
262 * allowed object is {@link OrganismType }
265 public void setOrganism(OrganismType value)
267 this.organism = value;
271 * Gets the value of the organismHost property.
274 * This accessor method returns a reference to the live list, not a snapshot.
275 * Therefore any modification you make to the returned list will be present
276 * inside the JAXB object. This is why there is not a <CODE>set</CODE> method
277 * for the organismHost property.
280 * For example, to add a new item, do as follows:
283 * getOrganismHost().add(newItem);
288 * Objects of the following type(s) are allowed in the list
289 * {@link OrganismType }
293 public List<OrganismType> getOrganismHost()
295 if (organismHost == null)
297 organismHost = new ArrayList<OrganismType>();
299 return this.organismHost;
303 * Gets the value of the geneLocation property.
306 * This accessor method returns a reference to the live list, not a snapshot.
307 * Therefore any modification you make to the returned list will be present
308 * inside the JAXB object. This is why there is not a <CODE>set</CODE> method
309 * for the geneLocation property.
312 * For example, to add a new item, do as follows:
315 * getGeneLocation().add(newItem);
320 * Objects of the following type(s) are allowed in the list
321 * {@link GeneLocationType }
325 public List<GeneLocationType> getGeneLocation()
327 if (geneLocation == null)
329 geneLocation = new ArrayList<GeneLocationType>();
331 return this.geneLocation;
335 * Gets the value of the reference property.
338 * This accessor method returns a reference to the live list, not a snapshot.
339 * Therefore any modification you make to the returned list will be present
340 * inside the JAXB object. This is why there is not a <CODE>set</CODE> method
341 * for the reference property.
344 * For example, to add a new item, do as follows:
347 * getReference().add(newItem);
352 * Objects of the following type(s) are allowed in the list
353 * {@link ReferenceType }
357 public List<ReferenceType> getReference()
359 if (reference == null)
361 reference = new ArrayList<ReferenceType>();
363 return this.reference;
367 * Gets the value of the comment property.
370 * This accessor method returns a reference to the live list, not a snapshot.
371 * Therefore any modification you make to the returned list will be present
372 * inside the JAXB object. This is why there is not a <CODE>set</CODE> method
373 * for the comment property.
376 * For example, to add a new item, do as follows:
379 * getComment().add(newItem);
384 * Objects of the following type(s) are allowed in the list {@link CommentType
389 public List<CommentType> getComment()
393 comment = new ArrayList<CommentType>();
399 * Gets the value of the dbReference property.
402 * This accessor method returns a reference to the live list, not a snapshot.
403 * Therefore any modification you make to the returned list will be present
404 * inside the JAXB object. This is why there is not a <CODE>set</CODE> method
405 * for the dbReference property.
408 * For example, to add a new item, do as follows:
411 * getDbReference().add(newItem);
416 * Objects of the following type(s) are allowed in the list
417 * {@link DbReferenceType }
421 public List<DbReferenceType> getDbReference()
423 if (dbReference == null)
425 dbReference = new ArrayList<DbReferenceType>();
427 return this.dbReference;
431 * Gets the value of the proteinExistence property.
433 * @return possible object is {@link ProteinExistenceType }
436 public ProteinExistenceType getProteinExistence()
438 return proteinExistence;
442 * Sets the value of the proteinExistence property.
445 * allowed object is {@link ProteinExistenceType }
448 public void setProteinExistence(ProteinExistenceType value)
450 this.proteinExistence = value;
454 * Gets the value of the keyword property.
457 * This accessor method returns a reference to the live list, not a snapshot.
458 * Therefore any modification you make to the returned list will be present
459 * inside the JAXB object. This is why there is not a <CODE>set</CODE> method
460 * for the keyword property.
463 * For example, to add a new item, do as follows:
466 * getKeyword().add(newItem);
471 * Objects of the following type(s) are allowed in the list {@link KeywordType
476 public List<KeywordType> getKeyword()
480 keyword = new ArrayList<KeywordType>();
486 * Gets the value of the feature property.
489 * This accessor method returns a reference to the live list, not a snapshot.
490 * Therefore any modification you make to the returned list will be present
491 * inside the JAXB object. This is why there is not a <CODE>set</CODE> method
492 * for the feature property.
495 * For example, to add a new item, do as follows:
498 * getFeature().add(newItem);
503 * Objects of the following type(s) are allowed in the list {@link FeatureType
508 public List<FeatureType> getFeature()
512 feature = new ArrayList<FeatureType>();
518 * Gets the value of the evidence property.
521 * This accessor method returns a reference to the live list, not a snapshot.
522 * Therefore any modification you make to the returned list will be present
523 * inside the JAXB object. This is why there is not a <CODE>set</CODE> method
524 * for the evidence property.
527 * For example, to add a new item, do as follows:
530 * getEvidence().add(newItem);
535 * Objects of the following type(s) are allowed in the list
536 * {@link EvidenceType }
540 public List<EvidenceType> getEvidence()
542 if (evidence == null)
544 evidence = new ArrayList<EvidenceType>();
546 return this.evidence;
550 * Gets the value of the sequence property.
552 * @return possible object is {@link SequenceType }
555 public SequenceType getSequence()
561 * Sets the value of the sequence property.
564 * allowed object is {@link SequenceType }
567 public void setSequence(SequenceType value)
569 this.sequence = value;
573 * Gets the value of the dataset property.
575 * @return possible object is {@link String }
578 public String getDataset()
584 * Sets the value of the dataset property.
587 * allowed object is {@link String }
590 public void setDataset(String value)
592 this.dataset = value;
596 * Gets the value of the created property.
598 * @return possible object is {@link XMLGregorianCalendar }
601 public XMLGregorianCalendar getCreated()
607 * Sets the value of the created property.
610 * allowed object is {@link XMLGregorianCalendar }
613 public void setCreated(XMLGregorianCalendar value)
615 this.created = value;
619 * Gets the value of the modified property.
621 * @return possible object is {@link XMLGregorianCalendar }
624 public XMLGregorianCalendar getModified()
630 * Sets the value of the modified property.
633 * allowed object is {@link XMLGregorianCalendar }
636 public void setModified(XMLGregorianCalendar value)
638 this.modified = value;
642 * Gets the value of the version property.
645 public int getVersion()
651 * Sets the value of the version property.
654 public void setVersion(int value)
656 this.version = value;