07adace46adafcaf89f36a19c44208daa3b6f122
[jalview.git] / src / jalview / xml / binding / uniprot / CitationType.java
1 //
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 
6 //
7
8
9 package jalview.xml.binding.uniprot;
10
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;
17
18
19 /**
20  * Describes different types of citations.
21  *             Equivalent to the flat file RX-, RG-, RA-, RT- and RL-lines.
22  * 
23  * <p>Java class for citationType complex type.
24  * 
25  * <p>The following schema fragment specifies the expected content contained within this class.
26  * 
27  * <pre>
28  * &lt;complexType name="citationType">
29  *   &lt;complexContent>
30  *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
31  *       &lt;sequence>
32  *         &lt;element name="title" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
33  *         &lt;element name="editorList" type="{http://uniprot.org/uniprot}nameListType" minOccurs="0"/>
34  *         &lt;element name="authorList" type="{http://uniprot.org/uniprot}nameListType" minOccurs="0"/>
35  *         &lt;element name="locator" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
36  *         &lt;element name="dbReference" type="{http://uniprot.org/uniprot}dbReferenceType" maxOccurs="unbounded" minOccurs="0"/>
37  *       &lt;/sequence>
38  *       &lt;attribute name="type" use="required">
39  *         &lt;simpleType>
40  *           &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
41  *             &lt;enumeration value="book"/>
42  *             &lt;enumeration value="journal article"/>
43  *             &lt;enumeration value="online journal article"/>
44  *             &lt;enumeration value="patent"/>
45  *             &lt;enumeration value="submission"/>
46  *             &lt;enumeration value="thesis"/>
47  *             &lt;enumeration value="unpublished observations"/>
48  *           &lt;/restriction>
49  *         &lt;/simpleType>
50  *       &lt;/attribute>
51  *       &lt;attribute name="date">
52  *         &lt;simpleType>
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">
54  *           &lt;/union>
55  *         &lt;/simpleType>
56  *       &lt;/attribute>
57  *       &lt;attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
58  *       &lt;attribute name="volume" type="{http://www.w3.org/2001/XMLSchema}string" />
59  *       &lt;attribute name="first" type="{http://www.w3.org/2001/XMLSchema}string" />
60  *       &lt;attribute name="last" type="{http://www.w3.org/2001/XMLSchema}string" />
61  *       &lt;attribute name="publisher" type="{http://www.w3.org/2001/XMLSchema}string" />
62  *       &lt;attribute name="city" type="{http://www.w3.org/2001/XMLSchema}string" />
63  *       &lt;attribute name="db" type="{http://www.w3.org/2001/XMLSchema}string" />
64  *       &lt;attribute name="number" type="{http://www.w3.org/2001/XMLSchema}string" />
65  *       &lt;attribute name="institute" type="{http://www.w3.org/2001/XMLSchema}string" />
66  *       &lt;attribute name="country" type="{http://www.w3.org/2001/XMLSchema}string" />
67  *     &lt;/restriction>
68  *   &lt;/complexContent>
69  * &lt;/complexType>
70  * </pre>
71  * 
72  * 
73  */
74 @XmlAccessorType(XmlAccessType.FIELD)
75 @XmlType(name = "citationType", propOrder = {
76     "title",
77     "editorList",
78     "authorList",
79     "locator",
80     "dbReference"
81 })
82 public class CitationType {
83
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")
106     protected String 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;
113
114     /**
115      * Gets the value of the title property.
116      * 
117      * @return
118      *     possible object is
119      *     {@link String }
120      *     
121      */
122     public String getTitle() {
123         return title;
124     }
125
126     /**
127      * Sets the value of the title property.
128      * 
129      * @param value
130      *     allowed object is
131      *     {@link String }
132      *     
133      */
134     public void setTitle(String value) {
135         this.title = value;
136     }
137
138     /**
139      * Gets the value of the editorList property.
140      * 
141      * @return
142      *     possible object is
143      *     {@link NameListType }
144      *     
145      */
146     public NameListType getEditorList() {
147         return editorList;
148     }
149
150     /**
151      * Sets the value of the editorList property.
152      * 
153      * @param value
154      *     allowed object is
155      *     {@link NameListType }
156      *     
157      */
158     public void setEditorList(NameListType value) {
159         this.editorList = value;
160     }
161
162     /**
163      * Gets the value of the authorList property.
164      * 
165      * @return
166      *     possible object is
167      *     {@link NameListType }
168      *     
169      */
170     public NameListType getAuthorList() {
171         return authorList;
172     }
173
174     /**
175      * Sets the value of the authorList property.
176      * 
177      * @param value
178      *     allowed object is
179      *     {@link NameListType }
180      *     
181      */
182     public void setAuthorList(NameListType value) {
183         this.authorList = value;
184     }
185
186     /**
187      * Gets the value of the locator property.
188      * 
189      * @return
190      *     possible object is
191      *     {@link String }
192      *     
193      */
194     public String getLocator() {
195         return locator;
196     }
197
198     /**
199      * Sets the value of the locator property.
200      * 
201      * @param value
202      *     allowed object is
203      *     {@link String }
204      *     
205      */
206     public void setLocator(String value) {
207         this.locator = value;
208     }
209
210     /**
211      * Gets the value of the dbReference property.
212      * 
213      * <p>
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.
218      * 
219      * <p>
220      * For example, to add a new item, do as follows:
221      * <pre>
222      *    getDbReference().add(newItem);
223      * </pre>
224      * 
225      * 
226      * <p>
227      * Objects of the following type(s) are allowed in the list
228      * {@link DbReferenceType }
229      * 
230      * 
231      */
232     public List<DbReferenceType> getDbReference() {
233         if (dbReference == null) {
234             dbReference = new ArrayList<DbReferenceType>();
235         }
236         return this.dbReference;
237     }
238
239     /**
240      * Gets the value of the type property.
241      * 
242      * @return
243      *     possible object is
244      *     {@link String }
245      *     
246      */
247     public String getType() {
248         return type;
249     }
250
251     /**
252      * Sets the value of the type property.
253      * 
254      * @param value
255      *     allowed object is
256      *     {@link String }
257      *     
258      */
259     public void setType(String value) {
260         this.type = value;
261     }
262
263     /**
264      * Gets the value of the date property.
265      * 
266      * @return
267      *     possible object is
268      *     {@link String }
269      *     
270      */
271     public String getDate() {
272         return date;
273     }
274
275     /**
276      * Sets the value of the date property.
277      * 
278      * @param value
279      *     allowed object is
280      *     {@link String }
281      *     
282      */
283     public void setDate(String value) {
284         this.date = value;
285     }
286
287     /**
288      * Gets the value of the name property.
289      * 
290      * @return
291      *     possible object is
292      *     {@link String }
293      *     
294      */
295     public String getName() {
296         return name;
297     }
298
299     /**
300      * Sets the value of the name property.
301      * 
302      * @param value
303      *     allowed object is
304      *     {@link String }
305      *     
306      */
307     public void setName(String value) {
308         this.name = value;
309     }
310
311     /**
312      * Gets the value of the volume property.
313      * 
314      * @return
315      *     possible object is
316      *     {@link String }
317      *     
318      */
319     public String getVolume() {
320         return volume;
321     }
322
323     /**
324      * Sets the value of the volume property.
325      * 
326      * @param value
327      *     allowed object is
328      *     {@link String }
329      *     
330      */
331     public void setVolume(String value) {
332         this.volume = value;
333     }
334
335     /**
336      * Gets the value of the first property.
337      * 
338      * @return
339      *     possible object is
340      *     {@link String }
341      *     
342      */
343     public String getFirst() {
344         return first;
345     }
346
347     /**
348      * Sets the value of the first property.
349      * 
350      * @param value
351      *     allowed object is
352      *     {@link String }
353      *     
354      */
355     public void setFirst(String value) {
356         this.first = value;
357     }
358
359     /**
360      * Gets the value of the last property.
361      * 
362      * @return
363      *     possible object is
364      *     {@link String }
365      *     
366      */
367     public String getLast() {
368         return last;
369     }
370
371     /**
372      * Sets the value of the last property.
373      * 
374      * @param value
375      *     allowed object is
376      *     {@link String }
377      *     
378      */
379     public void setLast(String value) {
380         this.last = value;
381     }
382
383     /**
384      * Gets the value of the publisher property.
385      * 
386      * @return
387      *     possible object is
388      *     {@link String }
389      *     
390      */
391     public String getPublisher() {
392         return publisher;
393     }
394
395     /**
396      * Sets the value of the publisher property.
397      * 
398      * @param value
399      *     allowed object is
400      *     {@link String }
401      *     
402      */
403     public void setPublisher(String value) {
404         this.publisher = value;
405     }
406
407     /**
408      * Gets the value of the city property.
409      * 
410      * @return
411      *     possible object is
412      *     {@link String }
413      *     
414      */
415     public String getCity() {
416         return city;
417     }
418
419     /**
420      * Sets the value of the city property.
421      * 
422      * @param value
423      *     allowed object is
424      *     {@link String }
425      *     
426      */
427     public void setCity(String value) {
428         this.city = value;
429     }
430
431     /**
432      * Gets the value of the db property.
433      * 
434      * @return
435      *     possible object is
436      *     {@link String }
437      *     
438      */
439     public String getDb() {
440         return db;
441     }
442
443     /**
444      * Sets the value of the db property.
445      * 
446      * @param value
447      *     allowed object is
448      *     {@link String }
449      *     
450      */
451     public void setDb(String value) {
452         this.db = value;
453     }
454
455     /**
456      * Gets the value of the number property.
457      * 
458      * @return
459      *     possible object is
460      *     {@link String }
461      *     
462      */
463     public String getNumber() {
464         return number;
465     }
466
467     /**
468      * Sets the value of the number property.
469      * 
470      * @param value
471      *     allowed object is
472      *     {@link String }
473      *     
474      */
475     public void setNumber(String value) {
476         this.number = value;
477     }
478
479     /**
480      * Gets the value of the institute property.
481      * 
482      * @return
483      *     possible object is
484      *     {@link String }
485      *     
486      */
487     public String getInstitute() {
488         return institute;
489     }
490
491     /**
492      * Sets the value of the institute property.
493      * 
494      * @param value
495      *     allowed object is
496      *     {@link String }
497      *     
498      */
499     public void setInstitute(String value) {
500         this.institute = value;
501     }
502
503     /**
504      * Gets the value of the country property.
505      * 
506      * @return
507      *     possible object is
508      *     {@link String }
509      *     
510      */
511     public String getCountry() {
512         return country;
513     }
514
515     /**
516      * Sets the value of the country property.
517      * 
518      * @param value
519      *     allowed object is
520      *     {@link String }
521      *     
522      */
523     public void setCountry(String value) {
524         this.country = value;
525     }
526
527 }