21590e4a7bdbc7071454d6b206a79bc41c50493a
[jalview.git] / src / jalview / xml / binding / uniprot / KeywordType.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 import javax.xml.bind.annotation.XmlValue;
18
19
20 /**
21  * <p>Java class for keywordType complex type.
22  * 
23  * <p>The following schema fragment specifies the expected content contained within this class.
24  * 
25  * <pre>
26  * &lt;complexType name="keywordType">
27  *   &lt;simpleContent>
28  *     &lt;extension base="&lt;http://www.w3.org/2001/XMLSchema>string">
29  *       &lt;attribute name="evidence" type="{http://uniprot.org/uniprot}intListType" />
30  *       &lt;attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
31  *     &lt;/extension>
32  *   &lt;/simpleContent>
33  * &lt;/complexType>
34  * </pre>
35  * 
36  * 
37  */
38 @XmlAccessorType(XmlAccessType.FIELD)
39 @XmlType(name = "keywordType", propOrder = {
40     "value"
41 })
42 public class KeywordType {
43
44     @XmlValue
45     protected String value;
46     @XmlAttribute(name = "evidence")
47     protected List<Integer> evidence;
48     @XmlAttribute(name = "id", required = true)
49     protected String id;
50
51     /**
52      * Gets the value of the value property.
53      * 
54      * @return
55      *     possible object is
56      *     {@link String }
57      *     
58      */
59     public String getValue() {
60         return value;
61     }
62
63     /**
64      * Sets the value of the value property.
65      * 
66      * @param value
67      *     allowed object is
68      *     {@link String }
69      *     
70      */
71     public void setValue(String value) {
72         this.value = value;
73     }
74
75     /**
76      * Gets the value of the evidence property.
77      * 
78      * <p>
79      * This accessor method returns a reference to the live list,
80      * not a snapshot. Therefore any modification you make to the
81      * returned list will be present inside the JAXB object.
82      * This is why there is not a <CODE>set</CODE> method for the evidence property.
83      * 
84      * <p>
85      * For example, to add a new item, do as follows:
86      * <pre>
87      *    getEvidence().add(newItem);
88      * </pre>
89      * 
90      * 
91      * <p>
92      * Objects of the following type(s) are allowed in the list
93      * {@link Integer }
94      * 
95      * 
96      */
97     public List<Integer> getEvidence() {
98         if (evidence == null) {
99             evidence = new ArrayList<Integer>();
100         }
101         return this.evidence;
102     }
103
104     /**
105      * Gets the value of the id property.
106      * 
107      * @return
108      *     possible object is
109      *     {@link String }
110      *     
111      */
112     public String getId() {
113         return id;
114     }
115
116     /**
117      * Sets the value of the id property.
118      * 
119      * @param value
120      *     allowed object is
121      *     {@link String }
122      *     
123      */
124     public void setId(String value) {
125         this.id = value;
126     }
127
128 }