JAL-3438 spotless for 2.11.2.0
[jalview.git] / src / jalview / xml / binding / embl / XrefType.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: 2018.09.14 at 02:46:00 PM BST 
6 //
7
8 package jalview.xml.binding.embl;
9
10 import javax.xml.bind.annotation.XmlAccessType;
11 import javax.xml.bind.annotation.XmlAccessorType;
12 import javax.xml.bind.annotation.XmlAttribute;
13 import javax.xml.bind.annotation.XmlType;
14
15 /**
16  * Database cross-reference.
17  * 
18  * <p>
19  * Java class for XrefType complex type.
20  * 
21  * <p>
22  * The following schema fragment specifies the expected content contained within
23  * this class.
24  * 
25  * <pre>
26  * &lt;complexType name="XrefType">
27  *   &lt;complexContent>
28  *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
29  *       &lt;attribute name="db" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
30  *       &lt;attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
31  *       &lt;attribute name="secondaryId" type="{http://www.w3.org/2001/XMLSchema}string" />
32  *     &lt;/restriction>
33  *   &lt;/complexContent>
34  * &lt;/complexType>
35  * </pre>
36  * 
37  * 
38  */
39 @XmlAccessorType(XmlAccessType.FIELD)
40 @XmlType(name = "XrefType")
41 public class XrefType
42 {
43
44   @XmlAttribute(name = "db", required = true)
45   protected String db;
46
47   @XmlAttribute(name = "id", required = true)
48   protected String id;
49
50   @XmlAttribute(name = "secondaryId")
51   protected String secondaryId;
52
53   /**
54    * Gets the value of the db property.
55    * 
56    * @return possible object is {@link String }
57    * 
58    */
59   public String getDb()
60   {
61     return db;
62   }
63
64   /**
65    * Sets the value of the db property.
66    * 
67    * @param value
68    *          allowed object is {@link String }
69    * 
70    */
71   public void setDb(String value)
72   {
73     this.db = value;
74   }
75
76   /**
77    * Gets the value of the id property.
78    * 
79    * @return possible object is {@link String }
80    * 
81    */
82   public String getId()
83   {
84     return id;
85   }
86
87   /**
88    * Sets the value of the id property.
89    * 
90    * @param value
91    *          allowed object is {@link String }
92    * 
93    */
94   public void setId(String value)
95   {
96     this.id = value;
97   }
98
99   /**
100    * Gets the value of the secondaryId property.
101    * 
102    * @return possible object is {@link String }
103    * 
104    */
105   public String getSecondaryId()
106   {
107     return secondaryId;
108   }
109
110   /**
111    * Sets the value of the secondaryId property.
112    * 
113    * @param value
114    *          allowed object is {@link String }
115    * 
116    */
117   public void setSecondaryId(String value)
118   {
119     this.secondaryId = value;
120   }
121
122 }