2 // This file was generated by the Eclipse Implementation of JAXB, v2.3.3
3 // See https://eclipse-ee4j.github.io/jaxb-ri
4 // Any modifications to this file will be lost upon recompilation of the source schema.
5 // Generated on: 2022.02.07 at 04:44:21 PM GMT
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.XmlType;
20 * Describes different types of citations.
21 * Equivalent to the flat file RX-, RG-, RA-, RT- and RL-lines.
23 * <p>Java class for citationType complex type.
25 * <p>The following schema fragment specifies the expected content contained within this class.
28 * &lt;complexType name="citationType"&gt;
29 * &lt;complexContent&gt;
30 * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
31 * &lt;sequence&gt;
32 * &lt;element name="title" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/&gt;
33 * &lt;element name="editorList" type="{http://uniprot.org/uniprot}nameListType" minOccurs="0"/&gt;
34 * &lt;element name="authorList" type="{http://uniprot.org/uniprot}nameListType" minOccurs="0"/&gt;
35 * &lt;element name="locator" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/&gt;
36 * &lt;element name="dbReference" type="{http://uniprot.org/uniprot}dbReferenceType" maxOccurs="unbounded" minOccurs="0"/&gt;
37 * &lt;/sequence&gt;
38 * &lt;attribute name="type" use="required"&gt;
39 * &lt;simpleType&gt;
40 * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string"&gt;
41 * &lt;enumeration value="book"/&gt;
42 * &lt;enumeration value="journal article"/&gt;
43 * &lt;enumeration value="online journal article"/&gt;
44 * &lt;enumeration value="patent"/&gt;
45 * &lt;enumeration value="submission"/&gt;
46 * &lt;enumeration value="thesis"/&gt;
47 * &lt;enumeration value="unpublished observations"/&gt;
48 * &lt;/restriction&gt;
49 * &lt;/simpleType&gt;
50 * &lt;/attribute&gt;
51 * &lt;attribute name="date"&gt;
52 * &lt;simpleType&gt;
53 * &lt;union memberTypes=" {http://www.w3.org/2001/XMLSchema}date {http://www.w3.org/2001/XMLSchema}gYearMonth {http://www.w3.org/2001/XMLSchema}gYear"&gt;
54 * &lt;/union&gt;
55 * &lt;/simpleType&gt;
56 * &lt;/attribute&gt;
57 * &lt;attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
58 * &lt;attribute name="volume" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
59 * &lt;attribute name="first" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
60 * &lt;attribute name="last" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
61 * &lt;attribute name="publisher" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
62 * &lt;attribute name="city" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
63 * &lt;attribute name="db" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
64 * &lt;attribute name="number" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
65 * &lt;attribute name="institute" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
66 * &lt;attribute name="country" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
67 * &lt;/restriction&gt;
68 * &lt;/complexContent&gt;
69 * &lt;/complexType&gt;
74 @XmlAccessorType(XmlAccessType.FIELD)
75 @XmlType(name = "citationType", propOrder = {
82 public class CitationType {
84 protected String title;
85 protected NameListType editorList;
86 protected NameListType authorList;
87 protected String locator;
88 protected List<DbReferenceType> dbReference;
89 @XmlAttribute(name = "type", required = true)
90 protected String type;
91 @XmlAttribute(name = "date")
92 protected String date;
93 @XmlAttribute(name = "name")
94 protected String name;
95 @XmlAttribute(name = "volume")
96 protected String volume;
97 @XmlAttribute(name = "first")
98 protected String first;
99 @XmlAttribute(name = "last")
100 protected String last;
101 @XmlAttribute(name = "publisher")
102 protected String publisher;
103 @XmlAttribute(name = "city")
104 protected String city;
105 @XmlAttribute(name = "db")
107 @XmlAttribute(name = "number")
108 protected String number;
109 @XmlAttribute(name = "institute")
110 protected String institute;
111 @XmlAttribute(name = "country")
112 protected String country;
115 * Gets the value of the title property.
122 public String getTitle() {
127 * Sets the value of the title property.
134 public void setTitle(String value) {
139 * Gets the value of the editorList property.
143 * {@link NameListType }
146 public NameListType getEditorList() {
151 * Sets the value of the editorList property.
155 * {@link NameListType }
158 public void setEditorList(NameListType value) {
159 this.editorList = value;
163 * Gets the value of the authorList property.
167 * {@link NameListType }
170 public NameListType getAuthorList() {
175 * Sets the value of the authorList property.
179 * {@link NameListType }
182 public void setAuthorList(NameListType value) {
183 this.authorList = value;
187 * Gets the value of the locator property.
194 public String getLocator() {
199 * Sets the value of the locator property.
206 public void setLocator(String value) {
207 this.locator = value;
211 * Gets the value of the dbReference property.
214 * This accessor method returns a reference to the live list,
215 * not a snapshot. Therefore any modification you make to the
216 * returned list will be present inside the JAXB object.
217 * This is why there is not a <CODE>set</CODE> method for the dbReference property.
220 * For example, to add a new item, do as follows:
222 * getDbReference().add(newItem);
227 * Objects of the following type(s) are allowed in the list
228 * {@link DbReferenceType }
232 public List<DbReferenceType> getDbReference() {
233 if (dbReference == null) {
234 dbReference = new ArrayList<DbReferenceType>();
236 return this.dbReference;
240 * Gets the value of the type property.
247 public String getType() {
252 * Sets the value of the type property.
259 public void setType(String value) {
264 * Gets the value of the date property.
271 public String getDate() {
276 * Sets the value of the date property.
283 public void setDate(String value) {
288 * Gets the value of the name property.
295 public String getName() {
300 * Sets the value of the name property.
307 public void setName(String value) {
312 * Gets the value of the volume property.
319 public String getVolume() {
324 * Sets the value of the volume property.
331 public void setVolume(String value) {
336 * Gets the value of the first property.
343 public String getFirst() {
348 * Sets the value of the first property.
355 public void setFirst(String value) {
360 * Gets the value of the last property.
367 public String getLast() {
372 * Sets the value of the last property.
379 public void setLast(String value) {
384 * Gets the value of the publisher property.
391 public String getPublisher() {
396 * Sets the value of the publisher property.
403 public void setPublisher(String value) {
404 this.publisher = value;
408 * Gets the value of the city property.
415 public String getCity() {
420 * Sets the value of the city property.
427 public void setCity(String value) {
432 * Gets the value of the db property.
439 public String getDb() {
444 * Sets the value of the db property.
451 public void setDb(String value) {
456 * Gets the value of the number property.
463 public String getNumber() {
468 * Sets the value of the number property.
475 public void setNumber(String value) {
480 * Gets the value of the institute property.
487 public String getInstitute() {
492 * Sets the value of the institute property.
499 public void setInstitute(String value) {
500 this.institute = value;
504 * Gets the value of the country property.
511 public String getCountry() {
516 * Sets the value of the country property.
523 public void setCountry(String value) {
524 this.country = value;