JAL-3251 added optional attributes Sequence.biotype, Mapping.mappingType
[jalview.git] / src / jalview / xml / binding / jalview / Mapping.java
1 //
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: 2019.06.07 at 02:14:40 PM BST 
6 //
7
8
9 package jalview.xml.binding.jalview;
10
11 import javax.xml.bind.annotation.XmlAccessType;
12 import javax.xml.bind.annotation.XmlAccessorType;
13 import javax.xml.bind.annotation.XmlAttribute;
14 import javax.xml.bind.annotation.XmlElement;
15 import javax.xml.bind.annotation.XmlRootElement;
16 import javax.xml.bind.annotation.XmlType;
17
18
19 /**
20  * 
21  *                                      Represent the jalview.datamodel.Mapping object - it also provides
22  *                                      a way of storing sequences that are mapped 'to' without adding them
23  *                                      to the sequence set (which will mean they are then added to the alignment too).
24  *                              
25  * 
26  * <p>Java class for anonymous complex type.
27  * 
28  * <p>The following schema fragment specifies the expected content contained within this class.
29  * 
30  * <pre>
31  * &lt;complexType>
32  *   &lt;complexContent>
33  *     &lt;extension base="{www.vamsas.ac.uk/jalview/version2}mapListType">
34  *       &lt;sequence>
35  *         &lt;choice minOccurs="0">
36  *           &lt;element ref="{www.vamsas.ac.uk/jalview/version2}Sequence"/>
37  *           &lt;element name="dseqFor">
38  *             &lt;simpleType>
39  *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
40  *               &lt;/restriction>
41  *             &lt;/simpleType>
42  *           &lt;/element>
43  *         &lt;/choice>
44  *       &lt;/sequence>
45  *       &lt;attribute name="mappingType" type="{http://www.w3.org/2001/XMLSchema}string" />
46  *     &lt;/extension>
47  *   &lt;/complexContent>
48  * &lt;/complexType>
49  * </pre>
50  * 
51  * 
52  */
53 @XmlAccessorType(XmlAccessType.FIELD)
54 @XmlType(name = "", propOrder = {
55     "sequence",
56     "dseqFor"
57 })
58 @XmlRootElement(name = "Mapping")
59 public class Mapping
60     extends MapListType
61 {
62
63     @XmlElement(name = "Sequence")
64     protected Sequence sequence;
65     protected String dseqFor;
66     @XmlAttribute(name = "mappingType")
67     protected String mappingType;
68
69     /**
70      * Gets the value of the sequence property.
71      * 
72      * @return
73      *     possible object is
74      *     {@link Sequence }
75      *     
76      */
77     public Sequence getSequence() {
78         return sequence;
79     }
80
81     /**
82      * Sets the value of the sequence property.
83      * 
84      * @param value
85      *     allowed object is
86      *     {@link Sequence }
87      *     
88      */
89     public void setSequence(Sequence value) {
90         this.sequence = value;
91     }
92
93     /**
94      * Gets the value of the dseqFor property.
95      * 
96      * @return
97      *     possible object is
98      *     {@link String }
99      *     
100      */
101     public String getDseqFor() {
102         return dseqFor;
103     }
104
105     /**
106      * Sets the value of the dseqFor property.
107      * 
108      * @param value
109      *     allowed object is
110      *     {@link String }
111      *     
112      */
113     public void setDseqFor(String value) {
114         this.dseqFor = value;
115     }
116
117     /**
118      * Gets the value of the mappingType property.
119      * 
120      * @return
121      *     possible object is
122      *     {@link String }
123      *     
124      */
125     public String getMappingType() {
126         return mappingType;
127     }
128
129     /**
130      * Sets the value of the mappingType property.
131      * 
132      * @param value
133      *     allowed object is
134      *     {@link String }
135      *     
136      */
137     public void setMappingType(String value) {
138         this.mappingType = value;
139     }
140
141 }