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