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: 2019.04.05 at 08:01:44 AM BST
9 package jalview.xml.binding.uniprot;
11 import java.util.ArrayList;
12 import java.util.List;
13 import javax.xml.bind.annotation.XmlAccessType;
14 import javax.xml.bind.annotation.XmlAccessorType;
15 import javax.xml.bind.annotation.XmlAttribute;
16 import javax.xml.bind.annotation.XmlElement;
17 import javax.xml.bind.annotation.XmlRootElement;
18 import javax.xml.bind.annotation.XmlSchemaType;
19 import javax.xml.bind.annotation.XmlType;
20 import javax.xml.datatype.XMLGregorianCalendar;
24 * <p>Java class for anonymous complex type.
26 * <p>The following schema fragment specifies the expected content contained within this class.
31 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
33 * <element name="accession" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded"/>
34 * <element name="name" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded"/>
35 * <element name="protein" type="{http://uniprot.org/uniprot}proteinType"/>
36 * <element name="gene" type="{http://uniprot.org/uniprot}geneType" maxOccurs="unbounded" minOccurs="0"/>
37 * <element name="organism" type="{http://uniprot.org/uniprot}organismType"/>
38 * <element name="organismHost" type="{http://uniprot.org/uniprot}organismType" maxOccurs="unbounded" minOccurs="0"/>
39 * <element name="geneLocation" type="{http://uniprot.org/uniprot}geneLocationType" maxOccurs="unbounded" minOccurs="0"/>
40 * <element name="reference" type="{http://uniprot.org/uniprot}referenceType" maxOccurs="unbounded"/>
41 * <element name="comment" type="{http://uniprot.org/uniprot}commentType" maxOccurs="unbounded" minOccurs="0"/>
42 * <element name="dbReference" type="{http://uniprot.org/uniprot}dbReferenceType" maxOccurs="unbounded" minOccurs="0"/>
43 * <element name="proteinExistence" type="{http://uniprot.org/uniprot}proteinExistenceType"/>
44 * <element name="keyword" type="{http://uniprot.org/uniprot}keywordType" maxOccurs="unbounded" minOccurs="0"/>
45 * <element name="feature" type="{http://uniprot.org/uniprot}featureType" maxOccurs="unbounded" minOccurs="0"/>
46 * <element name="evidence" type="{http://uniprot.org/uniprot}evidenceType" maxOccurs="unbounded" minOccurs="0"/>
47 * <element name="sequence" type="{http://uniprot.org/uniprot}sequenceType"/>
49 * <attribute name="dataset" use="required">
51 * <restriction base="{http://www.w3.org/2001/XMLSchema}string">
52 * <enumeration value="Swiss-Prot"/>
53 * <enumeration value="TrEMBL"/>
57 * <attribute name="created" use="required" type="{http://www.w3.org/2001/XMLSchema}date" />
58 * <attribute name="modified" use="required" type="{http://www.w3.org/2001/XMLSchema}date" />
59 * <attribute name="version" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
61 * </complexContent>
67 @XmlAccessorType(XmlAccessType.FIELD)
68 @XmlType(name = "", propOrder = {
85 @XmlRootElement(name = "entry")
88 @XmlElement(required = true)
89 protected List<String> accession;
90 @XmlElement(required = true)
91 protected List<String> name;
92 @XmlElement(required = true)
93 protected ProteinType protein;
94 protected List<GeneType> gene;
95 @XmlElement(required = true)
96 protected OrganismType organism;
97 protected List<OrganismType> organismHost;
98 protected List<GeneLocationType> geneLocation;
99 @XmlElement(required = true)
100 protected List<ReferenceType> reference;
101 @XmlElement(nillable = true)
102 protected List<CommentType> comment;
103 protected List<DbReferenceType> dbReference;
104 @XmlElement(required = true)
105 protected ProteinExistenceType proteinExistence;
106 protected List<KeywordType> keyword;
107 protected List<FeatureType> feature;
108 protected List<EvidenceType> evidence;
109 @XmlElement(required = true)
110 protected SequenceType sequence;
111 @XmlAttribute(name = "dataset", required = true)
112 protected String dataset;
113 @XmlAttribute(name = "created", required = true)
114 @XmlSchemaType(name = "date")
115 protected XMLGregorianCalendar created;
116 @XmlAttribute(name = "modified", required = true)
117 @XmlSchemaType(name = "date")
118 protected XMLGregorianCalendar modified;
119 @XmlAttribute(name = "version", required = true)
120 protected int version;
123 * Gets the value of the accession property.
126 * This accessor method returns a reference to the live list,
127 * not a snapshot. Therefore any modification you make to the
128 * returned list will be present inside the JAXB object.
129 * This is why there is not a <CODE>set</CODE> method for the accession property.
132 * For example, to add a new item, do as follows:
134 * getAccession().add(newItem);
139 * Objects of the following type(s) are allowed in the list
144 public List<String> getAccession() {
145 if (accession == null) {
146 accession = new ArrayList<String>();
148 return this.accession;
152 * Gets the value of the name property.
155 * This accessor method returns a reference to the live list,
156 * not a snapshot. Therefore any modification you make to the
157 * returned list will be present inside the JAXB object.
158 * This is why there is not a <CODE>set</CODE> method for the name property.
161 * For example, to add a new item, do as follows:
163 * getName().add(newItem);
168 * Objects of the following type(s) are allowed in the list
173 public List<String> getName() {
175 name = new ArrayList<String>();
181 * Gets the value of the protein property.
185 * {@link ProteinType }
188 public ProteinType getProtein() {
193 * Sets the value of the protein property.
197 * {@link ProteinType }
200 public void setProtein(ProteinType value) {
201 this.protein = value;
205 * Gets the value of the gene property.
208 * This accessor method returns a reference to the live list,
209 * not a snapshot. Therefore any modification you make to the
210 * returned list will be present inside the JAXB object.
211 * This is why there is not a <CODE>set</CODE> method for the gene property.
214 * For example, to add a new item, do as follows:
216 * getGene().add(newItem);
221 * Objects of the following type(s) are allowed in the list
226 public List<GeneType> getGene() {
228 gene = new ArrayList<GeneType>();
234 * Gets the value of the organism property.
238 * {@link OrganismType }
241 public OrganismType getOrganism() {
246 * Sets the value of the organism property.
250 * {@link OrganismType }
253 public void setOrganism(OrganismType value) {
254 this.organism = value;
258 * Gets the value of the organismHost property.
261 * This accessor method returns a reference to the live list,
262 * not a snapshot. Therefore any modification you make to the
263 * returned list will be present inside the JAXB object.
264 * This is why there is not a <CODE>set</CODE> method for the organismHost property.
267 * For example, to add a new item, do as follows:
269 * getOrganismHost().add(newItem);
274 * Objects of the following type(s) are allowed in the list
275 * {@link OrganismType }
279 public List<OrganismType> getOrganismHost() {
280 if (organismHost == null) {
281 organismHost = new ArrayList<OrganismType>();
283 return this.organismHost;
287 * Gets the value of the geneLocation property.
290 * This accessor method returns a reference to the live list,
291 * not a snapshot. Therefore any modification you make to the
292 * returned list will be present inside the JAXB object.
293 * This is why there is not a <CODE>set</CODE> method for the geneLocation property.
296 * For example, to add a new item, do as follows:
298 * getGeneLocation().add(newItem);
303 * Objects of the following type(s) are allowed in the list
304 * {@link GeneLocationType }
308 public List<GeneLocationType> getGeneLocation() {
309 if (geneLocation == null) {
310 geneLocation = new ArrayList<GeneLocationType>();
312 return this.geneLocation;
316 * Gets the value of the reference property.
319 * This accessor method returns a reference to the live list,
320 * not a snapshot. Therefore any modification you make to the
321 * returned list will be present inside the JAXB object.
322 * This is why there is not a <CODE>set</CODE> method for the reference property.
325 * For example, to add a new item, do as follows:
327 * getReference().add(newItem);
332 * Objects of the following type(s) are allowed in the list
333 * {@link ReferenceType }
337 public List<ReferenceType> getReference() {
338 if (reference == null) {
339 reference = new ArrayList<ReferenceType>();
341 return this.reference;
345 * Gets the value of the comment property.
348 * This accessor method returns a reference to the live list,
349 * not a snapshot. Therefore any modification you make to the
350 * returned list will be present inside the JAXB object.
351 * This is why there is not a <CODE>set</CODE> method for the comment property.
354 * For example, to add a new item, do as follows:
356 * getComment().add(newItem);
361 * Objects of the following type(s) are allowed in the list
362 * {@link CommentType }
366 public List<CommentType> getComment() {
367 if (comment == null) {
368 comment = new ArrayList<CommentType>();
374 * Gets the value of the dbReference property.
377 * This accessor method returns a reference to the live list,
378 * not a snapshot. Therefore any modification you make to the
379 * returned list will be present inside the JAXB object.
380 * This is why there is not a <CODE>set</CODE> method for the dbReference property.
383 * For example, to add a new item, do as follows:
385 * getDbReference().add(newItem);
390 * Objects of the following type(s) are allowed in the list
391 * {@link DbReferenceType }
395 public List<DbReferenceType> getDbReference() {
396 if (dbReference == null) {
397 dbReference = new ArrayList<DbReferenceType>();
399 return this.dbReference;
403 * Gets the value of the proteinExistence property.
407 * {@link ProteinExistenceType }
410 public ProteinExistenceType getProteinExistence() {
411 return proteinExistence;
415 * Sets the value of the proteinExistence property.
419 * {@link ProteinExistenceType }
422 public void setProteinExistence(ProteinExistenceType value) {
423 this.proteinExistence = value;
427 * Gets the value of the keyword property.
430 * This accessor method returns a reference to the live list,
431 * not a snapshot. Therefore any modification you make to the
432 * returned list will be present inside the JAXB object.
433 * This is why there is not a <CODE>set</CODE> method for the keyword property.
436 * For example, to add a new item, do as follows:
438 * getKeyword().add(newItem);
443 * Objects of the following type(s) are allowed in the list
444 * {@link KeywordType }
448 public List<KeywordType> getKeyword() {
449 if (keyword == null) {
450 keyword = new ArrayList<KeywordType>();
456 * Gets the value of the feature property.
459 * This accessor method returns a reference to the live list,
460 * not a snapshot. Therefore any modification you make to the
461 * returned list will be present inside the JAXB object.
462 * This is why there is not a <CODE>set</CODE> method for the feature property.
465 * For example, to add a new item, do as follows:
467 * getFeature().add(newItem);
472 * Objects of the following type(s) are allowed in the list
473 * {@link FeatureType }
477 public List<FeatureType> getFeature() {
478 if (feature == null) {
479 feature = new ArrayList<FeatureType>();
485 * Gets the value of the evidence property.
488 * This accessor method returns a reference to the live list,
489 * not a snapshot. Therefore any modification you make to the
490 * returned list will be present inside the JAXB object.
491 * This is why there is not a <CODE>set</CODE> method for the evidence property.
494 * For example, to add a new item, do as follows:
496 * getEvidence().add(newItem);
501 * Objects of the following type(s) are allowed in the list
502 * {@link EvidenceType }
506 public List<EvidenceType> getEvidence() {
507 if (evidence == null) {
508 evidence = new ArrayList<EvidenceType>();
510 return this.evidence;
514 * Gets the value of the sequence property.
518 * {@link SequenceType }
521 public SequenceType getSequence() {
526 * Sets the value of the sequence property.
530 * {@link SequenceType }
533 public void setSequence(SequenceType value) {
534 this.sequence = value;
538 * Gets the value of the dataset property.
545 public String getDataset() {
550 * Sets the value of the dataset property.
557 public void setDataset(String value) {
558 this.dataset = value;
562 * Gets the value of the created property.
566 * {@link XMLGregorianCalendar }
569 public XMLGregorianCalendar getCreated() {
574 * Sets the value of the created property.
578 * {@link XMLGregorianCalendar }
581 public void setCreated(XMLGregorianCalendar value) {
582 this.created = value;
586 * Gets the value of the modified property.
590 * {@link XMLGregorianCalendar }
593 public XMLGregorianCalendar getModified() {
598 * Sets the value of the modified property.
602 * {@link XMLGregorianCalendar }
605 public void setModified(XMLGregorianCalendar value) {
606 this.modified = value;
610 * Gets the value of the version property.
613 public int getVersion() {
618 * Sets the value of the version property.
621 public void setVersion(int value) {
622 this.version = value;