2 // This file was generated by the Eclipse Implementation of JAXB, v2.3.3
3 // See https://eclipse-ee4j.github.io/jaxb-ri
4 // Any modifications to this file will be lost upon recompilation of the source schema.
5 // Generated on: 2021.08.30 at 11:05:22 AM BST
9 package jalview.xml.binding.jalview;
11 import java.util.ArrayList;
12 import java.util.List;
13 import javax.xml.bind.annotation.XmlAccessType;
14 import javax.xml.bind.annotation.XmlAccessorType;
15 import javax.xml.bind.annotation.XmlAttribute;
16 import javax.xml.bind.annotation.XmlElement;
17 import javax.xml.bind.annotation.XmlRootElement;
18 import javax.xml.bind.annotation.XmlType;
22 * <p>Java class for anonymous complex type.
24 * <p>The following schema fragment specifies the expected content contained within this class.
27 * &lt;complexType&gt;
28 * &lt;complexContent&gt;
29 * &lt;extension base="{www.vamsas.ac.uk/jalview/version2}SequenceType"&gt;
30 * &lt;sequence&gt;
31 * &lt;element name="DBRef" maxOccurs="unbounded" minOccurs="0"&gt;
32 * &lt;complexType&gt;
33 * &lt;complexContent&gt;
34 * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
35 * &lt;sequence&gt;
36 * &lt;element ref="{www.vamsas.ac.uk/jalview/version2}Mapping" minOccurs="0"/&gt;
37 * &lt;/sequence&gt;
38 * &lt;attribute name="source" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
39 * &lt;attribute name="version" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
40 * &lt;attribute name="accessionId" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
41 * &lt;attribute name="locus" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /&gt;
42 * &lt;attribute name="canonical" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /&gt;
43 * &lt;/restriction&gt;
44 * &lt;/complexContent&gt;
45 * &lt;/complexType&gt;
46 * &lt;/element&gt;
47 * &lt;/sequence&gt;
48 * &lt;attribute name="dsseqid" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
49 * &lt;attribute name="biotype" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
50 * &lt;/extension&gt;
51 * &lt;/complexContent&gt;
52 * &lt;/complexType&gt;
57 @XmlAccessorType(XmlAccessType.FIELD)
58 @XmlType(name = "", propOrder = {
61 @XmlRootElement(name = "Sequence")
66 @XmlElement(name = "DBRef")
67 protected List<Sequence.DBRef> dbRef;
68 @XmlAttribute(name = "dsseqid")
69 protected String dsseqid;
70 @XmlAttribute(name = "biotype")
71 protected String biotype;
74 * Gets the value of the dbRef property.
77 * This accessor method returns a reference to the live list,
78 * not a snapshot. Therefore any modification you make to the
79 * returned list will be present inside the JAXB object.
80 * This is why there is not a <CODE>set</CODE> method for the dbRef property.
83 * For example, to add a new item, do as follows:
85 * getDBRef().add(newItem);
90 * Objects of the following type(s) are allowed in the list
91 * {@link Sequence.DBRef }
95 public List<Sequence.DBRef> getDBRef() {
97 dbRef = new ArrayList<Sequence.DBRef>();
103 * Gets the value of the dsseqid property.
110 public String getDsseqid() {
115 * Sets the value of the dsseqid property.
122 public void setDsseqid(String value) {
123 this.dsseqid = value;
127 * Gets the value of the biotype property.
134 public String getBiotype() {
139 * Sets the value of the biotype property.
146 public void setBiotype(String value) {
147 this.biotype = value;
152 * <p>Java class for anonymous complex type.
154 * <p>The following schema fragment specifies the expected content contained within this class.
157 * &lt;complexType&gt;
158 * &lt;complexContent&gt;
159 * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
160 * &lt;sequence&gt;
161 * &lt;element ref="{www.vamsas.ac.uk/jalview/version2}Mapping" minOccurs="0"/&gt;
162 * &lt;/sequence&gt;
163 * &lt;attribute name="source" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
164 * &lt;attribute name="version" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
165 * &lt;attribute name="accessionId" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
166 * &lt;attribute name="locus" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /&gt;
167 * &lt;attribute name="canonical" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /&gt;
168 * &lt;/restriction&gt;
169 * &lt;/complexContent&gt;
170 * &lt;/complexType&gt;
175 @XmlAccessorType(XmlAccessType.FIELD)
176 @XmlType(name = "", propOrder = {
179 public static class DBRef {
181 @XmlElement(name = "Mapping")
182 protected Mapping mapping;
183 @XmlAttribute(name = "source")
184 protected String source;
185 @XmlAttribute(name = "version")
186 protected String version;
187 @XmlAttribute(name = "accessionId")
188 protected String accessionId;
189 @XmlAttribute(name = "locus")
190 protected Boolean locus;
191 @XmlAttribute(name = "canonical")
192 protected Boolean canonical;
195 * Gets the value of the mapping property.
202 public Mapping getMapping() {
207 * Sets the value of the mapping property.
214 public void setMapping(Mapping value) {
215 this.mapping = value;
219 * Gets the value of the source property.
226 public String getSource() {
231 * Sets the value of the source property.
238 public void setSource(String value) {
243 * Gets the value of the version property.
250 public String getVersion() {
255 * Sets the value of the version property.
262 public void setVersion(String value) {
263 this.version = value;
267 * Gets the value of the accessionId property.
274 public String getAccessionId() {
279 * Sets the value of the accessionId property.
286 public void setAccessionId(String value) {
287 this.accessionId = value;
291 * Gets the value of the locus property.
298 public boolean isLocus() {
307 * Sets the value of the locus property.
314 public void setLocus(Boolean value) {
319 * Gets the value of the canonical property.
326 public boolean isCanonical() {
327 if (canonical == null) {
335 * Sets the value of the canonical property.
342 public void setCanonical(Boolean value) {
343 this.canonical = value;