X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fxml%2Fbinding%2Fjalview%2FSequence.java;h=5381c3267aa51023ea604ffc0dd4e28e4a7fe44a;hb=de82138757495ad07eb4bcf741fe3dd253c68bcc;hp=b842947786d0242a39ac31129b5946b48f43886d;hpb=71d8702f4f5f12c9c2f1dcb119091704dc738522;p=jalview.git diff --git a/src/jalview/xml/binding/jalview/Sequence.java b/src/jalview/xml/binding/jalview/Sequence.java index b842947..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: 2019.06.07 at 02:21:15 PM BST +// Generated on: 2021.08.30 at 11:05:22 AM BST // @@ -19,37 +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" /> - * <attribute name="locus" 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> - *+ * <pre> + * <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" /> + * <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> + * </pre> * * */ @@ -72,20 +73,20 @@ public class Sequence /** * 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 } * @@ -148,25 +149,26 @@ public class Sequence /** - *
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> - * <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" /> - * </restriction> - * </complexContent> - * </complexType> - *+ * <pre> + * <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> + * </pre> * * */ @@ -186,6 +188,8 @@ public class Sequence protected String accessionId; @XmlAttribute(name = "locus") protected Boolean locus; + @XmlAttribute(name = "canonical") + protected Boolean canonical; /** * Gets the value of the mapping property. @@ -311,6 +315,34 @@ public class Sequence 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; + } + } }