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
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.XmlType;
18 * Describes different types of citations. Equivalent to the flat file RX-, RG-,
19 * RA-, RT- and RL-lines.
22 * Java class for citationType complex type.
25 * The following schema fragment specifies the expected content contained within
29 * <complexType name="citationType">
31 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
33 * <element name="title" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
34 * <element name="editorList" type="{http://uniprot.org/uniprot}nameListType" minOccurs="0"/>
35 * <element name="authorList" type="{http://uniprot.org/uniprot}nameListType" minOccurs="0"/>
36 * <element name="locator" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
37 * <element name="dbReference" type="{http://uniprot.org/uniprot}dbReferenceType" maxOccurs="unbounded" minOccurs="0"/>
39 * <attribute name="type" use="required">
41 * <restriction base="{http://www.w3.org/2001/XMLSchema}string">
42 * <enumeration value="book"/>
43 * <enumeration value="journal article"/>
44 * <enumeration value="online journal article"/>
45 * <enumeration value="patent"/>
46 * <enumeration value="submission"/>
47 * <enumeration value="thesis"/>
48 * <enumeration value="unpublished observations"/>
52 * <attribute name="date">
54 * <union memberTypes=" {http://www.w3.org/2001/XMLSchema}date {http://www.w3.org/2001/XMLSchema}gYearMonth {http://www.w3.org/2001/XMLSchema}gYear">
58 * <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
59 * <attribute name="volume" type="{http://www.w3.org/2001/XMLSchema}string" />
60 * <attribute name="first" type="{http://www.w3.org/2001/XMLSchema}string" />
61 * <attribute name="last" type="{http://www.w3.org/2001/XMLSchema}string" />
62 * <attribute name="publisher" type="{http://www.w3.org/2001/XMLSchema}string" />
63 * <attribute name="city" type="{http://www.w3.org/2001/XMLSchema}string" />
64 * <attribute name="db" type="{http://www.w3.org/2001/XMLSchema}string" />
65 * <attribute name="number" type="{http://www.w3.org/2001/XMLSchema}string" />
66 * <attribute name="institute" type="{http://www.w3.org/2001/XMLSchema}string" />
67 * <attribute name="country" type="{http://www.w3.org/2001/XMLSchema}string" />
69 * </complexContent>
75 @XmlAccessorType(XmlAccessType.FIELD)
77 name = "citationType",
79 { "title", "editorList", "authorList", "locator", "dbReference" })
80 public class CitationType
83 protected String title;
85 protected NameListType editorList;
87 protected NameListType authorList;
89 protected String locator;
91 protected List<DbReferenceType> dbReference;
93 @XmlAttribute(name = "type", required = true)
94 protected String type;
96 @XmlAttribute(name = "date")
97 protected String date;
99 @XmlAttribute(name = "name")
100 protected String name;
102 @XmlAttribute(name = "volume")
103 protected String volume;
105 @XmlAttribute(name = "first")
106 protected String first;
108 @XmlAttribute(name = "last")
109 protected String last;
111 @XmlAttribute(name = "publisher")
112 protected String publisher;
114 @XmlAttribute(name = "city")
115 protected String city;
117 @XmlAttribute(name = "db")
120 @XmlAttribute(name = "number")
121 protected String number;
123 @XmlAttribute(name = "institute")
124 protected String institute;
126 @XmlAttribute(name = "country")
127 protected String country;
130 * Gets the value of the title property.
132 * @return possible object is {@link String }
135 public String getTitle()
141 * Sets the value of the title property.
144 * allowed object is {@link String }
147 public void setTitle(String value)
153 * Gets the value of the editorList property.
155 * @return possible object is {@link NameListType }
158 public NameListType getEditorList()
164 * Sets the value of the editorList property.
167 * allowed object is {@link NameListType }
170 public void setEditorList(NameListType value)
172 this.editorList = value;
176 * Gets the value of the authorList property.
178 * @return possible object is {@link NameListType }
181 public NameListType getAuthorList()
187 * Sets the value of the authorList property.
190 * allowed object is {@link NameListType }
193 public void setAuthorList(NameListType value)
195 this.authorList = value;
199 * Gets the value of the locator property.
201 * @return possible object is {@link String }
204 public String getLocator()
210 * Sets the value of the locator property.
213 * allowed object is {@link String }
216 public void setLocator(String value)
218 this.locator = value;
222 * Gets the value of the dbReference property.
225 * This accessor method returns a reference to the live list, not a snapshot.
226 * Therefore any modification you make to the returned list will be present
227 * inside the JAXB object. This is why there is not a <CODE>set</CODE> method
228 * for the dbReference property.
231 * For example, to add a new item, do as follows:
234 * getDbReference().add(newItem);
239 * Objects of the following type(s) are allowed in the list
240 * {@link DbReferenceType }
244 public List<DbReferenceType> getDbReference()
246 if (dbReference == null)
248 dbReference = new ArrayList<DbReferenceType>();
250 return this.dbReference;
254 * Gets the value of the type property.
256 * @return possible object is {@link String }
259 public String getType()
265 * Sets the value of the type property.
268 * allowed object is {@link String }
271 public void setType(String value)
277 * Gets the value of the date property.
279 * @return possible object is {@link String }
282 public String getDate()
288 * Sets the value of the date property.
291 * allowed object is {@link String }
294 public void setDate(String value)
300 * Gets the value of the name property.
302 * @return possible object is {@link String }
305 public String getName()
311 * Sets the value of the name property.
314 * allowed object is {@link String }
317 public void setName(String value)
323 * Gets the value of the volume property.
325 * @return possible object is {@link String }
328 public String getVolume()
334 * Sets the value of the volume property.
337 * allowed object is {@link String }
340 public void setVolume(String value)
346 * Gets the value of the first property.
348 * @return possible object is {@link String }
351 public String getFirst()
357 * Sets the value of the first property.
360 * allowed object is {@link String }
363 public void setFirst(String value)
369 * Gets the value of the last property.
371 * @return possible object is {@link String }
374 public String getLast()
380 * Sets the value of the last property.
383 * allowed object is {@link String }
386 public void setLast(String value)
392 * Gets the value of the publisher property.
394 * @return possible object is {@link String }
397 public String getPublisher()
403 * Sets the value of the publisher property.
406 * allowed object is {@link String }
409 public void setPublisher(String value)
411 this.publisher = value;
415 * Gets the value of the city property.
417 * @return possible object is {@link String }
420 public String getCity()
426 * Sets the value of the city property.
429 * allowed object is {@link String }
432 public void setCity(String value)
438 * Gets the value of the db property.
440 * @return possible object is {@link String }
443 public String getDb()
449 * Sets the value of the db property.
452 * allowed object is {@link String }
455 public void setDb(String value)
461 * Gets the value of the number property.
463 * @return possible object is {@link String }
466 public String getNumber()
472 * Sets the value of the number property.
475 * allowed object is {@link String }
478 public void setNumber(String value)
484 * Gets the value of the institute property.
486 * @return possible object is {@link String }
489 public String getInstitute()
495 * Sets the value of the institute property.
498 * allowed object is {@link String }
501 public void setInstitute(String value)
503 this.institute = value;
507 * Gets the value of the country property.
509 * @return possible object is {@link String }
512 public String getCountry()
518 * Sets the value of the country property.
521 * allowed object is {@link String }
524 public void setCountry(String value)
526 this.country = value;