X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fxml%2Fbinding%2Fjalview%2FSequence.java;h=15893d8ce06a9d6726e419b821533725c92c6b41;hb=4b7d3640209c4434d569c746672cf9eed4250ace;hp=d5e1d33d3b68732dfc38b8550b971842ff8cac30;hpb=85ed72a5a52344d202f671eb6892dc74656c29ea;p=jalview.git diff --git a/src/jalview/xml/binding/jalview/Sequence.java b/src/jalview/xml/binding/jalview/Sequence.java index d5e1d33..15893d8 100644 --- a/src/jalview/xml/binding/jalview/Sequence.java +++ b/src/jalview/xml/binding/jalview/Sequence.java @@ -2,10 +2,9 @@ // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802 // See http://java.sun.com/xml/jaxb // Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2018.09.18 at 02:23:07 PM BST +// Generated on: 2023.03.17 at 05:31:44 PM GMT // - package jalview.xml.binding.jalview; import java.util.ArrayList; @@ -17,11 +16,13 @@ import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlType; - /** - *

Java class for anonymous complex type. + *

+ * Java class for anonymous complex type. * - *

The following schema fragment specifies the expected content contained within this class. + *

+ * The following schema fragment specifies the expected content contained within + * this class. * *

  * <complexType>
@@ -38,12 +39,15 @@ import javax.xml.bind.annotation.XmlType;
  *                 <attribute name="source" type="{http://www.w3.org/2001/XMLSchema}string" />
  *                 <attribute name="version" type="{http://www.w3.org/2001/XMLSchema}string" />
  *                 <attribute name="accessionId" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *                 <attribute name="locus" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
+ *                 <attribute name="canonical" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
  *               </restriction>
  *             </complexContent>
  *           </complexType>
  *         </element>
  *       </sequence>
  *       <attribute name="dsseqid" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *       <attribute name="biotype" type="{http://www.w3.org/2001/XMLSchema}string" />
  *     </extension>
  *   </complexContent>
  * </complexType>
@@ -52,206 +56,300 @@ import javax.xml.bind.annotation.XmlType;
  * 
  */
 @XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "", propOrder = {
-    "dbRef"
-})
+@XmlType(name = "", propOrder = { "dbRef" })
 @XmlRootElement(name = "Sequence")
-public class Sequence
-    extends SequenceType
+public class Sequence extends SequenceType
 {
 
-    @XmlElement(name = "DBRef")
-    protected List dbRef;
-    @XmlAttribute(name = "dsseqid")
-    protected String dsseqid;
+  @XmlElement(name = "DBRef")
+  protected List dbRef;
+
+  @XmlAttribute(name = "dsseqid")
+  protected String dsseqid;
+
+  @XmlAttribute(name = "biotype")
+  protected String biotype;
+
+  /**
+   * Gets the value of the dbRef property.
+   * 
+   * 

+ * This accessor method returns a reference to the live list, not a snapshot. + * Therefore any modification you make to the returned list will be present + * inside the JAXB object. This is why there is not a set method + * for the dbRef property. + * + *

+ * For example, to add a new item, do as follows: + * + *

+   * getDBRef().add(newItem);
+   * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link Sequence.DBRef } + * + * + */ + public List getDBRef() + { + if (dbRef == null) + { + dbRef = new ArrayList(); + } + return this.dbRef; + } + + /** + * Gets the value of the dsseqid property. + * + * @return possible object is {@link String } + * + */ + public String getDsseqid() + { + return dsseqid; + } + + /** + * Sets the value of the dsseqid property. + * + * @param value + * allowed object is {@link String } + * + */ + public void setDsseqid(String value) + { + this.dsseqid = value; + } + + /** + * Gets the value of the biotype property. + * + * @return possible object is {@link String } + * + */ + public String getBiotype() + { + return biotype; + } + + /** + * Sets the value of the biotype property. + * + * @param value + * allowed object is {@link String } + * + */ + public void setBiotype(String value) + { + this.biotype = value; + } + + /** + *

+ * Java class for anonymous complex type. + * + *

+ * The following schema fragment specifies the expected content contained + * within this class. + * + *

+   * <complexType>
+   *   <complexContent>
+   *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+   *       <sequence>
+   *         <element ref="{www.vamsas.ac.uk/jalview/version2}Mapping" minOccurs="0"/>
+   *       </sequence>
+   *       <attribute name="source" type="{http://www.w3.org/2001/XMLSchema}string" />
+   *       <attribute name="version" type="{http://www.w3.org/2001/XMLSchema}string" />
+   *       <attribute name="accessionId" type="{http://www.w3.org/2001/XMLSchema}string" />
+   *       <attribute name="locus" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
+   *       <attribute name="canonical" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
+   *     </restriction>
+   *   </complexContent>
+   * </complexType>
+   * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { "mapping" }) + public static class DBRef + { + + @XmlElement(name = "Mapping") + protected Mapping mapping; + + @XmlAttribute(name = "source") + protected String source; + + @XmlAttribute(name = "version") + protected String version; + + @XmlAttribute(name = "accessionId") + protected String accessionId; + + @XmlAttribute(name = "locus") + protected Boolean locus; + + @XmlAttribute(name = "canonical") + protected Boolean canonical; /** - * Gets the value of the dbRef property. + * Gets the value of the mapping property. * - *

- * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the dbRef property. + * @return possible object is {@link Mapping } * - *

- * For example, to add a new item, do as follows: - *

-     *    getDBRef().add(newItem);
-     * 
+ */ + public Mapping getMapping() + { + return mapping; + } + + /** + * Sets the value of the mapping property. * + * @param value + * allowed object is {@link Mapping } * - *

- * Objects of the following type(s) are allowed in the list - * {@link Sequence.DBRef } + */ + public void setMapping(Mapping value) + { + this.mapping = value; + } + + /** + * Gets the value of the source property. * + * @return possible object is {@link String } * */ - public List getDBRef() { - if (dbRef == null) { - dbRef = new ArrayList(); - } - return this.dbRef; + public String getSource() + { + return source; } /** - * Gets the value of the dsseqid property. + * Sets the value of the source property. + * + * @param value + * allowed object is {@link String } * - * @return - * possible object is - * {@link String } - * */ - public String getDsseqid() { - return dsseqid; + public void setSource(String value) + { + this.source = value; } /** - * Sets the value of the dsseqid property. + * Gets the value of the version property. + * + * @return possible object is {@link String } + * + */ + public String getVersion() + { + return version; + } + + /** + * Sets the value of the version property. + * + * @param value + * allowed object is {@link String } + * + */ + public void setVersion(String value) + { + this.version = value; + } + + /** + * Gets the value of the accessionId property. + * + * @return possible object is {@link String } + * + */ + public String getAccessionId() + { + return accessionId; + } + + /** + * Sets the value of the accessionId property. * * @param value - * allowed object is - * {@link String } - * + * allowed object is {@link String } + * */ - public void setDsseqid(String value) { - this.dsseqid = value; + public void setAccessionId(String value) + { + this.accessionId = value; } + /** + * Gets the value of the locus property. + * + * @return possible object is {@link Boolean } + * + */ + public boolean isLocus() + { + if (locus == null) + { + return false; + } + else + { + return locus; + } + } /** - *

Java class for anonymous complex type. + * Sets the value of the locus property. * - *

The following schema fragment specifies the expected content contained within this class. + * @param value + * allowed object is {@link Boolean } * - *

-     * <complexType>
-     *   <complexContent>
-     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-     *       <sequence>
-     *         <element ref="{www.vamsas.ac.uk/jalview/version2}Mapping" minOccurs="0"/>
-     *       </sequence>
-     *       <attribute name="source" type="{http://www.w3.org/2001/XMLSchema}string" />
-     *       <attribute name="version" type="{http://www.w3.org/2001/XMLSchema}string" />
-     *       <attribute name="accessionId" type="{http://www.w3.org/2001/XMLSchema}string" />
-     *     </restriction>
-     *   </complexContent>
-     * </complexType>
-     * 
+ */ + public void setLocus(Boolean value) + { + this.locus = value; + } + + /** + * Gets the value of the canonical property. * + * @return possible object is {@link Boolean } * */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "mapping" - }) - public static class DBRef { - - @XmlElement(name = "Mapping") - protected Mapping mapping; - @XmlAttribute(name = "source") - protected String source; - @XmlAttribute(name = "version") - protected String version; - @XmlAttribute(name = "accessionId") - protected String accessionId; - - /** - * Gets the value of the mapping property. - * - * @return - * possible object is - * {@link Mapping } - * - */ - public Mapping getMapping() { - return mapping; - } - - /** - * Sets the value of the mapping property. - * - * @param value - * allowed object is - * {@link Mapping } - * - */ - public void setMapping(Mapping value) { - this.mapping = value; - } - - /** - * Gets the value of the source property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getSource() { - return source; - } - - /** - * Sets the value of the source property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setSource(String value) { - this.source = value; - } - - /** - * Gets the value of the version property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getVersion() { - return version; - } - - /** - * Sets the value of the version property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setVersion(String value) { - this.version = value; - } - - /** - * Gets the value of the accessionId property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getAccessionId() { - return accessionId; - } - - /** - * Sets the value of the accessionId property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setAccessionId(String value) { - this.accessionId = value; - } + public boolean isCanonical() + { + if (canonical == null) + { + return false; + } + else + { + return canonical; + } + } + /** + * Sets the value of the canonical property. + * + * @param value + * allowed object is {@link Boolean } + * + */ + public void setCanonical(Boolean value) + { + this.canonical = value; } + } + }