2814911660e8fedc4a3960ec5dfceb640fe8d15d
[jalview.git] / src / jalview / xml / binding / uniprot / SourceType.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 source of the data using a database cross-reference (or a 'ref' attribute when the source cannot be found in a public data source, such as PubMed, and is cited only within the UniProtKB entry).
20  * 
21  * <p>Java class for sourceType complex type.
22  * 
23  * <p>The following schema fragment specifies the expected content contained within this class.
24  * 
25  * <pre>
26  * &lt;complexType name="sourceType">
27  *   &lt;complexContent>
28  *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
29  *       &lt;sequence>
30  *         &lt;element name="dbReference" type="{http://uniprot.org/uniprot}dbReferenceType" minOccurs="0"/>
31  *       &lt;/sequence>
32  *       &lt;attribute name="ref" type="{http://www.w3.org/2001/XMLSchema}integer" />
33  *     &lt;/restriction>
34  *   &lt;/complexContent>
35  * &lt;/complexType>
36  * </pre>
37  * 
38  * 
39  */
40 @XmlAccessorType(XmlAccessType.FIELD)
41 @XmlType(name = "sourceType", propOrder = {
42     "dbReference"
43 })
44 public class SourceType {
45
46     protected DbReferenceType dbReference;
47     @XmlAttribute(name = "ref")
48     protected BigInteger ref;
49
50     /**
51      * Gets the value of the dbReference property.
52      * 
53      * @return
54      *     possible object is
55      *     {@link DbReferenceType }
56      *     
57      */
58     public DbReferenceType getDbReference() {
59         return dbReference;
60     }
61
62     /**
63      * Sets the value of the dbReference property.
64      * 
65      * @param value
66      *     allowed object is
67      *     {@link DbReferenceType }
68      *     
69      */
70     public void setDbReference(DbReferenceType value) {
71         this.dbReference = value;
72     }
73
74     /**
75      * Gets the value of the ref property.
76      * 
77      * @return
78      *     possible object is
79      *     {@link BigInteger }
80      *     
81      */
82     public BigInteger getRef() {
83         return ref;
84     }
85
86     /**
87      * Sets the value of the ref property.
88      * 
89      * @param value
90      *     allowed object is
91      *     {@link BigInteger }
92      *     
93      */
94     public void setRef(BigInteger value) {
95         this.ref = value;
96     }
97
98 }