X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fxml%2Fbinding%2Fjalview%2FSequence.java;h=5381c3267aa51023ea604ffc0dd4e28e4a7fe44a;hb=de82138757495ad07eb4bcf741fe3dd253c68bcc;hp=70b3994bc744c847fe3c139c3f34c5926a67aa8b;hpb=587d42166f0f5febf2e1c3f14d11540e3cb1452f;p=jalview.git diff --git a/src/jalview/xml/binding/jalview/Sequence.java b/src/jalview/xml/binding/jalview/Sequence.java index 70b3994..5381c32 100644 --- a/src/jalview/xml/binding/jalview/Sequence.java +++ b/src/jalview/xml/binding/jalview/Sequence.java @@ -1,8 +1,8 @@ // -// 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 +// This file was generated by the Eclipse Implementation of JAXB, v2.3.3 +// See https://eclipse-ee4j.github.io/jaxb-ri // Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2018.09.18 at 04:36:20 PM BST +// Generated on: 2021.08.30 at 11:05:22 AM BST // @@ -19,35 +19,38 @@ import javax.xml.bind.annotation.XmlType; /** - *

Java class for anonymous complex type. + * <p>Java class for anonymous complex type. * - *

The following schema fragment specifies the expected content contained within this class. + * <p>The following schema fragment specifies the expected content contained within this class. * - *

- * <complexType>
- *   <complexContent>
- *     <extension base="{www.vamsas.ac.uk/jalview/version2}SequenceType">
- *       <sequence>
- *         <element name="DBRef" maxOccurs="unbounded" minOccurs="0">
- *           <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>
- *         </element>
- *       </sequence>
- *       <attribute name="dsseqid" type="{http://www.w3.org/2001/XMLSchema}string" />
- *     </extension>
- *   </complexContent>
- * </complexType>
- * 
+ * <pre> + * &lt;complexType&gt; + * &lt;complexContent&gt; + * &lt;extension base="{www.vamsas.ac.uk/jalview/version2}SequenceType"&gt; + * &lt;sequence&gt; + * &lt;element name="DBRef" maxOccurs="unbounded" minOccurs="0"&gt; + * &lt;complexType&gt; + * &lt;complexContent&gt; + * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt; + * &lt;sequence&gt; + * &lt;element ref="{www.vamsas.ac.uk/jalview/version2}Mapping" minOccurs="0"/&gt; + * &lt;/sequence&gt; + * &lt;attribute name="source" type="{http://www.w3.org/2001/XMLSchema}string" /&gt; + * &lt;attribute name="version" type="{http://www.w3.org/2001/XMLSchema}string" /&gt; + * &lt;attribute name="accessionId" type="{http://www.w3.org/2001/XMLSchema}string" /&gt; + * &lt;attribute name="locus" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /&gt; + * &lt;attribute name="canonical" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /&gt; + * &lt;/restriction&gt; + * &lt;/complexContent&gt; + * &lt;/complexType&gt; + * &lt;/element&gt; + * &lt;/sequence&gt; + * &lt;attribute name="dsseqid" type="{http://www.w3.org/2001/XMLSchema}string" /&gt; + * &lt;attribute name="biotype" type="{http://www.w3.org/2001/XMLSchema}string" /&gt; + * &lt;/extension&gt; + * &lt;/complexContent&gt; + * &lt;/complexType&gt; + * </pre> * * */ @@ -64,24 +67,26 @@ public class Sequence protected List dbRef; @XmlAttribute(name = "dsseqid") protected String dsseqid; + @XmlAttribute(name = "biotype") + protected String biotype; /** * Gets the value of the dbRef property. * - *

+ * <p> * 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. + * This is why there is not a <CODE>set</CODE> method for the dbRef property. * - *

+ * <p> * For example, to add a new item, do as follows: - *

+     * <pre>
      *    getDBRef().add(newItem);
-     * 
+ * </pre> * * - *

+ * <p> * Objects of the following type(s) are allowed in the list * {@link Sequence.DBRef } * @@ -118,26 +123,52 @@ public class Sequence this.dsseqid = value; } + /** + * Gets the value of the biotype property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getBiotype() { + return biotype; + } /** - *

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

The following schema fragment specifies the expected content contained within this class. + * @param value + * allowed object is + * {@link String } + * + */ + public void setBiotype(String value) { + this.biotype = value; + } + + + /** + * <p>Java class for anonymous complex type. + * + * <p>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" />
-     *     </restriction>
-     *   </complexContent>
-     * </complexType>
-     * 
+ * <pre> + * &lt;complexType&gt; + * &lt;complexContent&gt; + * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt; + * &lt;sequence&gt; + * &lt;element ref="{www.vamsas.ac.uk/jalview/version2}Mapping" minOccurs="0"/&gt; + * &lt;/sequence&gt; + * &lt;attribute name="source" type="{http://www.w3.org/2001/XMLSchema}string" /&gt; + * &lt;attribute name="version" type="{http://www.w3.org/2001/XMLSchema}string" /&gt; + * &lt;attribute name="accessionId" type="{http://www.w3.org/2001/XMLSchema}string" /&gt; + * &lt;attribute name="locus" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /&gt; + * &lt;attribute name="canonical" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /&gt; + * &lt;/restriction&gt; + * &lt;/complexContent&gt; + * &lt;/complexType&gt; + * </pre> * * */ @@ -155,6 +186,10 @@ public class Sequence 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 mapping property. @@ -252,6 +287,62 @@ public class Sequence 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; + } + } + + /** + * Sets the value of the locus property. + * + * @param value + * allowed object is + * {@link Boolean } + * + */ + public void setLocus(Boolean value) { + this.locus = value; + } + + /** + * Gets the value of the canonical property. + * + * @return + * possible object is + * {@link Boolean } + * + */ + 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; + } + } }