d141272759780c6fe148950f7a69d10c08fb67f2
[jalview.git] / src / jalview / xml / binding / jalview / AnnotationElement.java
1 //
2 // This file was generated by the Eclipse Implementation of JAXB, v2.3.3 
3 // See https://eclipse-ee4j.github.io/jaxb-ri 
4 // Any modifications to this file will be lost upon recompilation of the source schema. 
5 // Generated on: 2021.08.30 at 11:05:22 AM 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.XmlRootElement;
15 import javax.xml.bind.annotation.XmlType;
16
17
18 /**
19  * <p>Java class for anonymous complex type.
20  * 
21  * <p>The following schema fragment specifies the expected content contained within this class.
22  * 
23  * <pre>
24  * <complexType>
25  *   <complexContent>
26  *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
27  *       <sequence>
28  *         <element name="displayCharacter" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
29  *         <element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
30  *         <element name="secondaryStructure" minOccurs="0">
31  *           <simpleType>
32  *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
33  *               <length value="1"/>
34  *             </restriction>
35  *           </simpleType>
36  *         </element>
37  *         <element name="value" type="{http://www.w3.org/2001/XMLSchema}float" minOccurs="0"/>
38  *       </sequence>
39  *       <attribute name="position" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
40  *       <attribute name="colour" type="{http://www.w3.org/2001/XMLSchema}int" />
41  *     </restriction>
42  *   </complexContent>
43  * </complexType>
44  * </pre>
45  * 
46  * 
47  */
48 @XmlAccessorType(XmlAccessType.FIELD)
49 @XmlType(name = "", propOrder = {
50     "displayCharacter",
51     "description",
52     "secondaryStructure",
53     "value"
54 })
55 @XmlRootElement(name = "annotationElement")
56 public class AnnotationElement {
57
58     protected String displayCharacter;
59     protected String description;
60     protected String secondaryStructure;
61     protected Float value;
62     @XmlAttribute(name = "position", required = true)
63     protected int position;
64     @XmlAttribute(name = "colour")
65     protected Integer colour;
66
67     /**
68      * Gets the value of the displayCharacter property.
69      * 
70      * @return
71      *     possible object is
72      *     {@link String }
73      *     
74      */
75     public String getDisplayCharacter() {
76         return displayCharacter;
77     }
78
79     /**
80      * Sets the value of the displayCharacter property.
81      * 
82      * @param value
83      *     allowed object is
84      *     {@link String }
85      *     
86      */
87     public void setDisplayCharacter(String value) {
88         this.displayCharacter = value;
89     }
90
91     /**
92      * Gets the value of the description property.
93      * 
94      * @return
95      *     possible object is
96      *     {@link String }
97      *     
98      */
99     public String getDescription() {
100         return description;
101     }
102
103     /**
104      * Sets the value of the description property.
105      * 
106      * @param value
107      *     allowed object is
108      *     {@link String }
109      *     
110      */
111     public void setDescription(String value) {
112         this.description = value;
113     }
114
115     /**
116      * Gets the value of the secondaryStructure property.
117      * 
118      * @return
119      *     possible object is
120      *     {@link String }
121      *     
122      */
123     public String getSecondaryStructure() {
124         return secondaryStructure;
125     }
126
127     /**
128      * Sets the value of the secondaryStructure property.
129      * 
130      * @param value
131      *     allowed object is
132      *     {@link String }
133      *     
134      */
135     public void setSecondaryStructure(String value) {
136         this.secondaryStructure = value;
137     }
138
139     /**
140      * Gets the value of the value property.
141      * 
142      * @return
143      *     possible object is
144      *     {@link Float }
145      *     
146      */
147     public Float getValue() {
148         return value;
149     }
150
151     /**
152      * Sets the value of the value property.
153      * 
154      * @param value
155      *     allowed object is
156      *     {@link Float }
157      *     
158      */
159     public void setValue(Float value) {
160         this.value = value;
161     }
162
163     /**
164      * Gets the value of the position property.
165      * 
166      */
167     public int getPosition() {
168         return position;
169     }
170
171     /**
172      * Sets the value of the position property.
173      * 
174      */
175     public void setPosition(int value) {
176         this.position = value;
177     }
178
179     /**
180      * Gets the value of the colour property.
181      * 
182      * @return
183      *     possible object is
184      *     {@link Integer }
185      *     
186      */
187     public Integer getColour() {
188         return colour;
189     }
190
191     /**
192      * Sets the value of the colour property.
193      * 
194      * @param value
195      *     allowed object is
196      *     {@link Integer }
197      *     
198      */
199     public void setColour(Integer value) {
200         this.colour = value;
201     }
202
203 }