X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Fjalview%2Fxml%2Fbinding%2Fjalview%2FMapping.java;h=e53c4f714586110f0a2cae9b3da7d79b17f38329;hb=eb3e681d6e82ccdd5d312d1981dfb306e7f479f0;hp=cd82a2ae2aa02011c904a1675a40b5f5469dd5d0;hpb=ce7259404dbb5bbeeb296d32b6a2543b30a7c924;p=jalview.git diff --git a/src/jalview/xml/binding/jalview/Mapping.java b/src/jalview/xml/binding/jalview/Mapping.java index cd82a2a..e53c4f7 100644 --- a/src/jalview/xml/binding/jalview/Mapping.java +++ b/src/jalview/xml/binding/jalview/Mapping.java @@ -1,113 +1,128 @@ // -// 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.28 at 12:18:54 PM BST +// Generated on: 2023.11.01 at 07:03:09 PM GMT // - package jalview.xml.binding.jalview; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlType; - /** * - * Represent the jalview.datamodel.Mapping object - it also provides - * a way of storing sequences that are mapped 'to' without adding them - * to the sequence set (which will mean they are then added to the alignment too). - * + * Represent the jalview.datamodel.Mapping object - it also provides a way of + * storing sequences that are mapped 'to' without adding them to the sequence + * set (which will mean they are then added to the alignment too). * - *

Java class for anonymous complex type. * - *

The following schema fragment specifies the expected content contained within this class. + * <p>Java class for anonymous complex type. * - *

- * <complexType>
- *   <complexContent>
- *     <extension base="{www.vamsas.ac.uk/jalview/version2}mapListType">
- *       <sequence>
- *         <choice minOccurs="0">
- *           <element ref="{www.vamsas.ac.uk/jalview/version2}Sequence"/>
- *           <element name="dseqFor">
- *             <simpleType>
- *               <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *               </restriction>
- *             </simpleType>
- *           </element>
- *         </choice>
- *       </sequence>
- *     </extension>
- *   </complexContent>
- * </complexType>
- * 
+ * <p>The following schema fragment specifies the expected content + * contained within this class. + * + * <pre> &lt;complexType&gt; &lt;complexContent&gt; + * &lt;extension + * base="{www.vamsas.ac.uk/jalview/version2}mapListType"&gt; + * &lt;sequence&gt; &lt;choice minOccurs="0"&gt; &lt;element + * ref="{www.vamsas.ac.uk/jalview/version2}Sequence"/&gt; &lt;element + * name="dseqFor"&gt; &lt;simpleType&gt; &lt;restriction + * base="{http://www.w3.org/2001/XMLSchema}string"&gt; + * &lt;/restriction&gt; &lt;/simpleType&gt; + * &lt;/element&gt; &lt;/choice&gt; &lt;/sequence&gt; + * &lt;attribute name="mappingType" + * type="{http://www.w3.org/2001/XMLSchema}string" /&gt; + * &lt;/extension&gt; &lt;/complexContent&gt; + * &lt;/complexType&gt; </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "", propOrder = { - "sequence", - "dseqFor" -}) +@XmlType(name = "", propOrder = { "sequence", "dseqFor" }) @XmlRootElement(name = "Mapping") -public class Mapping - extends MapListType +public class Mapping extends MapListType { - @XmlElement(name = "Sequence") - protected Sequence sequence; - protected String dseqFor; + @XmlElement(name = "Sequence") + protected Sequence sequence; + + protected String dseqFor; + + @XmlAttribute(name = "mappingType") + protected String mappingType; + + /** + * Gets the value of the sequence property. + * + * @return possible object is {@link Sequence } + * + */ + public Sequence getSequence() + { + return sequence; + } + + /** + * Sets the value of the sequence property. + * + * @param value + * allowed object is {@link Sequence } + * + */ + public void setSequence(Sequence value) + { + this.sequence = value; + } - /** - * Gets the value of the sequence property. - * - * @return - * possible object is - * {@link Sequence } - * - */ - public Sequence getSequence() { - return sequence; - } + /** + * Gets the value of the dseqFor property. + * + * @return possible object is {@link String } + * + */ + public String getDseqFor() + { + return dseqFor; + } - /** - * Sets the value of the sequence property. - * - * @param value - * allowed object is - * {@link Sequence } - * - */ - public void setSequence(Sequence value) { - this.sequence = value; - } + /** + * Sets the value of the dseqFor property. + * + * @param value + * allowed object is {@link String } + * + */ + public void setDseqFor(String value) + { + this.dseqFor = value; + } - /** - * Gets the value of the dseqFor property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getDseqFor() { - return dseqFor; - } + /** + * Gets the value of the mappingType property. + * + * @return possible object is {@link String } + * + */ + public String getMappingType() + { + return mappingType; + } - /** - * Sets the value of the dseqFor property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setDseqFor(String value) { - this.dseqFor = value; - } + /** + * Sets the value of the mappingType property. + * + * @param value + * allowed object is {@link String } + * + */ + public void setMappingType(String value) + { + this.mappingType = value; + } }