JAL-3438 spotless for 2.11.2.0
[jalview.git] / src / jalview / xml / binding / uniprot / EvidenceType.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.math.BigInteger;
11 import javax.xml.bind.annotation.XmlAccessType;
12 import javax.xml.bind.annotation.XmlAccessorType;
13 import javax.xml.bind.annotation.XmlAttribute;
14 import javax.xml.bind.annotation.XmlType;
15
16 /**
17  * Describes the evidence for an annotation. No flat file equivalent.
18  * 
19  * <p>
20  * Java class for evidenceType 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="evidenceType">
28  *   &lt;complexContent>
29  *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
30  *       &lt;sequence>
31  *         &lt;element name="source" type="{http://uniprot.org/uniprot}sourceType" minOccurs="0"/>
32  *         &lt;element name="importedFrom" type="{http://uniprot.org/uniprot}importedFromType" minOccurs="0"/>
33  *       &lt;/sequence>
34  *       &lt;attribute name="type" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
35  *       &lt;attribute name="key" use="required" type="{http://www.w3.org/2001/XMLSchema}integer" />
36  *     &lt;/restriction>
37  *   &lt;/complexContent>
38  * &lt;/complexType>
39  * </pre>
40  * 
41  * 
42  */
43 @XmlAccessorType(XmlAccessType.FIELD)
44 @XmlType(name = "evidenceType", propOrder = { "source", "importedFrom" })
45 public class EvidenceType
46 {
47
48   protected SourceType source;
49
50   protected ImportedFromType importedFrom;
51
52   @XmlAttribute(name = "type", required = true)
53   protected String type;
54
55   @XmlAttribute(name = "key", required = true)
56   protected BigInteger key;
57
58   /**
59    * Gets the value of the source property.
60    * 
61    * @return possible object is {@link SourceType }
62    * 
63    */
64   public SourceType getSource()
65   {
66     return source;
67   }
68
69   /**
70    * Sets the value of the source property.
71    * 
72    * @param value
73    *          allowed object is {@link SourceType }
74    * 
75    */
76   public void setSource(SourceType value)
77   {
78     this.source = value;
79   }
80
81   /**
82    * Gets the value of the importedFrom property.
83    * 
84    * @return possible object is {@link ImportedFromType }
85    * 
86    */
87   public ImportedFromType getImportedFrom()
88   {
89     return importedFrom;
90   }
91
92   /**
93    * Sets the value of the importedFrom property.
94    * 
95    * @param value
96    *          allowed object is {@link ImportedFromType }
97    * 
98    */
99   public void setImportedFrom(ImportedFromType value)
100   {
101     this.importedFrom = value;
102   }
103
104   /**
105    * Gets the value of the type property.
106    * 
107    * @return possible object is {@link String }
108    * 
109    */
110   public String getType()
111   {
112     return type;
113   }
114
115   /**
116    * Sets the value of the type property.
117    * 
118    * @param value
119    *          allowed object is {@link String }
120    * 
121    */
122   public void setType(String value)
123   {
124     this.type = value;
125   }
126
127   /**
128    * Gets the value of the key property.
129    * 
130    * @return possible object is {@link BigInteger }
131    * 
132    */
133   public BigInteger getKey()
134   {
135     return key;
136   }
137
138   /**
139    * Sets the value of the key property.
140    * 
141    * @param value
142    *          allowed object is {@link BigInteger }
143    * 
144    */
145   public void setKey(BigInteger value)
146   {
147     this.key = value;
148   }
149
150 }