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: 2023.05.13 at 06:58:41 PM 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;
21 * Java class for anonymous complex type.
24 * The following schema fragment specifies the expected content contained within
30 * <extension base="{www.vamsas.ac.uk/jalview/version2}SequenceType">
32 * <element name="DBRef" maxOccurs="unbounded" minOccurs="0">
35 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
37 * <element ref="{www.vamsas.ac.uk/jalview/version2}Mapping" minOccurs="0"/>
39 * <attribute name="source" type="{http://www.w3.org/2001/XMLSchema}string" />
40 * <attribute name="version" type="{http://www.w3.org/2001/XMLSchema}string" />
41 * <attribute name="accessionId" type="{http://www.w3.org/2001/XMLSchema}string" />
42 * <attribute name="locus" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
43 * <attribute name="canonical" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
45 * </complexContent>
49 * <attribute name="dsseqid" type="{http://www.w3.org/2001/XMLSchema}string" />
50 * <attribute name="biotype" type="{http://www.w3.org/2001/XMLSchema}string" />
52 * </complexContent>
58 @XmlAccessorType(XmlAccessType.FIELD)
59 @XmlType(name = "", propOrder = { "dbRef" })
60 @XmlRootElement(name = "Sequence")
61 public class Sequence extends SequenceType
64 @XmlElement(name = "DBRef")
65 protected List<Sequence.DBRef> dbRef;
67 @XmlAttribute(name = "dsseqid")
68 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, not a snapshot.
78 * Therefore any modification you make to the returned list will be present
79 * inside the JAXB object. This is why there is not a <CODE>set</CODE> method
80 * for the dbRef property.
83 * For example, to add a new item, do as follows:
86 * getDBRef().add(newItem);
91 * Objects of the following type(s) are allowed in the list
92 * {@link Sequence.DBRef }
96 public List<Sequence.DBRef> getDBRef()
100 dbRef = new ArrayList<Sequence.DBRef>();
106 * Gets the value of the dsseqid property.
108 * @return possible object is {@link String }
111 public String getDsseqid()
117 * Sets the value of the dsseqid property.
120 * allowed object is {@link String }
123 public void setDsseqid(String value)
125 this.dsseqid = value;
129 * Gets the value of the biotype property.
131 * @return possible object is {@link String }
134 public String getBiotype()
140 * Sets the value of the biotype property.
143 * allowed object is {@link String }
146 public void setBiotype(String value)
148 this.biotype = value;
153 * Java class for anonymous complex type.
156 * The following schema fragment specifies the expected content contained
161 * <complexContent>
162 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
164 * <element ref="{www.vamsas.ac.uk/jalview/version2}Mapping" minOccurs="0"/>
166 * <attribute name="source" type="{http://www.w3.org/2001/XMLSchema}string" />
167 * <attribute name="version" type="{http://www.w3.org/2001/XMLSchema}string" />
168 * <attribute name="accessionId" type="{http://www.w3.org/2001/XMLSchema}string" />
169 * <attribute name="locus" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
170 * <attribute name="canonical" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
172 * </complexContent>
178 @XmlAccessorType(XmlAccessType.FIELD)
179 @XmlType(name = "", propOrder = { "mapping" })
180 public static class DBRef
183 @XmlElement(name = "Mapping")
184 protected Mapping mapping;
186 @XmlAttribute(name = "source")
187 protected String source;
189 @XmlAttribute(name = "version")
190 protected String version;
192 @XmlAttribute(name = "accessionId")
193 protected String accessionId;
195 @XmlAttribute(name = "locus")
196 protected Boolean locus;
198 @XmlAttribute(name = "canonical")
199 protected Boolean canonical;
202 * Gets the value of the mapping property.
204 * @return possible object is {@link Mapping }
207 public Mapping getMapping()
213 * Sets the value of the mapping property.
216 * allowed object is {@link Mapping }
219 public void setMapping(Mapping value)
221 this.mapping = value;
225 * Gets the value of the source property.
227 * @return possible object is {@link String }
230 public String getSource()
236 * Sets the value of the source property.
239 * allowed object is {@link String }
242 public void setSource(String value)
248 * Gets the value of the version property.
250 * @return possible object is {@link String }
253 public String getVersion()
259 * Sets the value of the version property.
262 * allowed object is {@link String }
265 public void setVersion(String value)
267 this.version = value;
271 * Gets the value of the accessionId property.
273 * @return possible object is {@link String }
276 public String getAccessionId()
282 * Sets the value of the accessionId property.
285 * allowed object is {@link String }
288 public void setAccessionId(String value)
290 this.accessionId = value;
294 * Gets the value of the locus property.
296 * @return possible object is {@link Boolean }
299 public boolean isLocus()
312 * Sets the value of the locus property.
315 * allowed object is {@link Boolean }
318 public void setLocus(Boolean value)
324 * Gets the value of the canonical property.
326 * @return possible object is {@link Boolean }
329 public boolean isCanonical()
331 if (canonical == null)
342 * Sets the value of the canonical property.
345 * allowed object is {@link Boolean }
348 public void setCanonical(Boolean value)
350 this.canonical = value;