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.03.17 at 05:31:44 PM GMT
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.
29 * <extension base="{www.vamsas.ac.uk/jalview/version2}SequenceType">
31 * <element name="DBRef" maxOccurs="unbounded" minOccurs="0">
34 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
36 * <element ref="{www.vamsas.ac.uk/jalview/version2}Mapping" minOccurs="0"/>
38 * <attribute name="source" type="{http://www.w3.org/2001/XMLSchema}string" />
39 * <attribute name="version" type="{http://www.w3.org/2001/XMLSchema}string" />
40 * <attribute name="accessionId" type="{http://www.w3.org/2001/XMLSchema}string" />
41 * <attribute name="locus" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
42 * <attribute name="canonical" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
44 * </complexContent>
48 * <attribute name="dsseqid" type="{http://www.w3.org/2001/XMLSchema}string" />
49 * <attribute name="biotype" type="{http://www.w3.org/2001/XMLSchema}string" />
51 * </complexContent>
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.
158 * <complexContent>
159 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
161 * <element ref="{www.vamsas.ac.uk/jalview/version2}Mapping" minOccurs="0"/>
163 * <attribute name="source" type="{http://www.w3.org/2001/XMLSchema}string" />
164 * <attribute name="version" type="{http://www.w3.org/2001/XMLSchema}string" />
165 * <attribute name="accessionId" type="{http://www.w3.org/2001/XMLSchema}string" />
166 * <attribute name="locus" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
167 * <attribute name="canonical" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
169 * </complexContent>
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;