5751e61b93bc949dcdd3a88905c4d8a43b9baefd
[jalview.git] / src / jalview / xml / binding / uniprot / Uniprot.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.XmlElement;
16 import javax.xml.bind.annotation.XmlRootElement;
17 import javax.xml.bind.annotation.XmlType;
18
19
20 /**
21  * <p>Java class for anonymous complex type.
22  * 
23  * <p>The following schema fragment specifies the expected content contained within this class.
24  * 
25  * <pre>
26  * &lt;complexType>
27  *   &lt;complexContent>
28  *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
29  *       &lt;sequence>
30  *         &lt;element ref="{http://uniprot.org/uniprot}entry" maxOccurs="unbounded"/>
31  *         &lt;element ref="{http://uniprot.org/uniprot}copyright" minOccurs="0"/>
32  *       &lt;/sequence>
33  *     &lt;/restriction>
34  *   &lt;/complexContent>
35  * &lt;/complexType>
36  * </pre>
37  * 
38  * 
39  */
40 @XmlAccessorType(XmlAccessType.FIELD)
41 @XmlType(name = "", propOrder = {
42     "entry",
43     "copyright"
44 })
45 @XmlRootElement(name = "uniprot")
46 public class Uniprot {
47
48     @XmlElement(required = true)
49     protected List<Entry> entry;
50     protected String copyright;
51
52     /**
53      * Gets the value of the entry property.
54      * 
55      * <p>
56      * This accessor method returns a reference to the live list,
57      * not a snapshot. Therefore any modification you make to the
58      * returned list will be present inside the JAXB object.
59      * This is why there is not a <CODE>set</CODE> method for the entry property.
60      * 
61      * <p>
62      * For example, to add a new item, do as follows:
63      * <pre>
64      *    getEntry().add(newItem);
65      * </pre>
66      * 
67      * 
68      * <p>
69      * Objects of the following type(s) are allowed in the list
70      * {@link Entry }
71      * 
72      * 
73      */
74     public List<Entry> getEntry() {
75         if (entry == null) {
76             entry = new ArrayList<Entry>();
77         }
78         return this.entry;
79     }
80
81     /**
82      * Gets the value of the copyright property.
83      * 
84      * @return
85      *     possible object is
86      *     {@link String }
87      *     
88      */
89     public String getCopyright() {
90         return copyright;
91     }
92
93     /**
94      * Sets the value of the copyright property.
95      * 
96      * @param value
97      *     allowed object is
98      *     {@link String }
99      *     
100      */
101     public void setCopyright(String value) {
102         this.copyright = value;
103     }
104
105 }