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
8 package jalview.xml.binding.jalview;
10 import java.util.ArrayList;
11 import java.util.List;
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.XmlElement;
16 import javax.xml.bind.annotation.XmlRootElement;
17 import javax.xml.bind.annotation.XmlType;
20 * <p>Java class for anonymous complex type.
22 * <p>The following schema fragment specifies the expected content
23 * contained within this class.
25 * <pre> &lt;complexType&gt; &lt;complexContent&gt;
27 * base="{www.vamsas.ac.uk/jalview/version2}SequenceType"&gt;
28 * &lt;sequence&gt; &lt;element name="DBRef" maxOccurs="unbounded"
29 * minOccurs="0"&gt; &lt;complexType&gt;
30 * &lt;complexContent&gt; &lt;restriction
31 * base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
32 * &lt;sequence&gt; &lt;element
33 * ref="{www.vamsas.ac.uk/jalview/version2}Mapping" minOccurs="0"/&gt;
34 * &lt;/sequence&gt; &lt;attribute name="source"
35 * type="{http://www.w3.org/2001/XMLSchema}string" /&gt; &lt;attribute
36 * name="version" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
37 * &lt;attribute name="accessionId"
38 * type="{http://www.w3.org/2001/XMLSchema}string" /&gt; &lt;attribute
39 * name="locus" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false"
40 * /&gt; &lt;attribute name="canonical"
41 * type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /&gt;
42 * &lt;/restriction&gt; &lt;/complexContent&gt;
43 * &lt;/complexType&gt; &lt;/element&gt;
44 * &lt;/sequence&gt; &lt;attribute name="dsseqid"
45 * type="{http://www.w3.org/2001/XMLSchema}string" /&gt; &lt;attribute
46 * name="biotype" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
47 * &lt;/extension&gt; &lt;/complexContent&gt;
48 * &lt;/complexType&gt; </pre>
52 @XmlAccessorType(XmlAccessType.FIELD)
53 @XmlType(name = "", propOrder = { "dbRef" })
54 @XmlRootElement(name = "Sequence")
55 public class Sequence extends SequenceType
58 @XmlElement(name = "DBRef")
59 protected List<Sequence.DBRef> dbRef;
61 @XmlAttribute(name = "dsseqid")
62 protected String dsseqid;
64 @XmlAttribute(name = "biotype")
65 protected String biotype;
68 * Gets the value of the dbRef property.
70 * <p> This accessor method returns a reference to the live list, not a
71 * snapshot. Therefore any modification you make to the returned list will be
72 * present inside the JAXB object. This is why there is not a
73 * <CODE>set</CODE> method for the dbRef property.
75 * <p> For example, to add a new item, do as follows: <pre>
76 * getDBRef().add(newItem); </pre>
79 * <p> Objects of the following type(s) are allowed in the list
80 * {@link Sequence.DBRef }
84 public List<Sequence.DBRef> getDBRef()
88 dbRef = new ArrayList<Sequence.DBRef>();
94 * Gets the value of the dsseqid property.
96 * @return possible object is {@link String }
99 public String getDsseqid()
105 * Sets the value of the dsseqid property.
108 * allowed object is {@link String }
111 public void setDsseqid(String value)
113 this.dsseqid = value;
117 * Gets the value of the biotype property.
119 * @return possible object is {@link String }
122 public String getBiotype()
128 * Sets the value of the biotype property.
131 * allowed object is {@link String }
134 public void setBiotype(String value)
136 this.biotype = value;
140 * <p>Java class for anonymous complex type.
142 * <p>The following schema fragment specifies the expected content
143 * contained within this class.
145 * <pre> &lt;complexType&gt; &lt;complexContent&gt;
146 * &lt;restriction
147 * base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
148 * &lt;sequence&gt; &lt;element
149 * ref="{www.vamsas.ac.uk/jalview/version2}Mapping" minOccurs="0"/&gt;
150 * &lt;/sequence&gt; &lt;attribute name="source"
151 * type="{http://www.w3.org/2001/XMLSchema}string" /&gt; &lt;attribute
152 * name="version" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
153 * &lt;attribute name="accessionId"
154 * type="{http://www.w3.org/2001/XMLSchema}string" /&gt; &lt;attribute
155 * name="locus" type="{http://www.w3.org/2001/XMLSchema}boolean"
156 * default="false" /&gt; &lt;attribute name="canonical"
157 * type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /&gt;
158 * &lt;/restriction&gt; &lt;/complexContent&gt;
159 * &lt;/complexType&gt; </pre>
163 @XmlAccessorType(XmlAccessType.FIELD)
164 @XmlType(name = "", propOrder = { "mapping" })
165 public static class DBRef
168 @XmlElement(name = "Mapping")
169 protected Mapping mapping;
171 @XmlAttribute(name = "source")
172 protected String source;
174 @XmlAttribute(name = "version")
175 protected String version;
177 @XmlAttribute(name = "accessionId")
178 protected String accessionId;
180 @XmlAttribute(name = "locus")
181 protected Boolean locus;
183 @XmlAttribute(name = "canonical")
184 protected Boolean canonical;
187 * Gets the value of the mapping property.
189 * @return possible object is {@link Mapping }
192 public Mapping getMapping()
198 * Sets the value of the mapping property.
201 * allowed object is {@link Mapping }
204 public void setMapping(Mapping value)
206 this.mapping = value;
210 * Gets the value of the source property.
212 * @return possible object is {@link String }
215 public String getSource()
221 * Sets the value of the source property.
224 * allowed object is {@link String }
227 public void setSource(String value)
233 * Gets the value of the version property.
235 * @return possible object is {@link String }
238 public String getVersion()
244 * Sets the value of the version property.
247 * allowed object is {@link String }
250 public void setVersion(String value)
252 this.version = value;
256 * Gets the value of the accessionId property.
258 * @return possible object is {@link String }
261 public String getAccessionId()
267 * Sets the value of the accessionId property.
270 * allowed object is {@link String }
273 public void setAccessionId(String value)
275 this.accessionId = value;
279 * Gets the value of the locus property.
281 * @return possible object is {@link Boolean }
284 public boolean isLocus()
297 * Sets the value of the locus property.
300 * allowed object is {@link Boolean }
303 public void setLocus(Boolean value)
309 * Gets the value of the canonical property.
311 * @return possible object is {@link Boolean }
314 public boolean isCanonical()
316 if (canonical == null)
327 * Sets the value of the canonical property.
330 * allowed object is {@link Boolean }
333 public void setCanonical(Boolean value)
335 this.canonical = value;