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