484d42dcb697615823bb5ce6bced0f4602249fe8
[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
9 package jalview.xml.binding.uniprot;
10
11 import java.math.BigInteger;
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
17
18 /**
19  * Describes the evidence for an annotation.
20  *             No flat file equivalent.
21  * 
22  * <p>Java class for evidenceType complex type.
23  * 
24  * <p>The following schema fragment specifies the expected content contained within 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 = {
45     "source",
46     "importedFrom"
47 })
48 public class EvidenceType {
49
50     protected SourceType source;
51     protected ImportedFromType importedFrom;
52     @XmlAttribute(name = "type", required = true)
53     protected String type;
54     @XmlAttribute(name = "key", required = true)
55     protected BigInteger key;
56
57     /**
58      * Gets the value of the source property.
59      * 
60      * @return
61      *     possible object is
62      *     {@link SourceType }
63      *     
64      */
65     public SourceType getSource() {
66         return source;
67     }
68
69     /**
70      * Sets the value of the source property.
71      * 
72      * @param value
73      *     allowed object is
74      *     {@link SourceType }
75      *     
76      */
77     public void setSource(SourceType value) {
78         this.source = value;
79     }
80
81     /**
82      * Gets the value of the importedFrom property.
83      * 
84      * @return
85      *     possible object is
86      *     {@link ImportedFromType }
87      *     
88      */
89     public ImportedFromType getImportedFrom() {
90         return importedFrom;
91     }
92
93     /**
94      * Sets the value of the importedFrom property.
95      * 
96      * @param value
97      *     allowed object is
98      *     {@link ImportedFromType }
99      *     
100      */
101     public void setImportedFrom(ImportedFromType value) {
102         this.importedFrom = value;
103     }
104
105     /**
106      * Gets the value of the type property.
107      * 
108      * @return
109      *     possible object is
110      *     {@link String }
111      *     
112      */
113     public String getType() {
114         return type;
115     }
116
117     /**
118      * Sets the value of the type property.
119      * 
120      * @param value
121      *     allowed object is
122      *     {@link String }
123      *     
124      */
125     public void setType(String value) {
126         this.type = value;
127     }
128
129     /**
130      * Gets the value of the key property.
131      * 
132      * @return
133      *     possible object is
134      *     {@link BigInteger }
135      *     
136      */
137     public BigInteger getKey() {
138         return key;
139     }
140
141     /**
142      * Sets the value of the key property.
143      * 
144      * @param value
145      *     allowed object is
146      *     {@link BigInteger }
147      *     
148      */
149     public void setKey(BigInteger value) {
150         this.key = value;
151     }
152
153 }