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