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
8 package jalview.xml.binding.jalview;
10 import java.util.ArrayList;
11 import java.util.List;
12 import javax.xml.bind.annotation.XmlAccessType;
13 import javax.xml.bind.annotation.XmlAccessorType;
14 import javax.xml.bind.annotation.XmlAttribute;
15 import javax.xml.bind.annotation.XmlElement;
16 import javax.xml.bind.annotation.XmlRootElement;
17 import javax.xml.bind.annotation.XmlType;
20 * <p>Java class for anonymous complex type.
22 * <p>The following schema fragment specifies the expected content
23 * contained within this class.
25 * <pre> &lt;complexType&gt; &lt;complexContent&gt;
26 * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
27 * &lt;sequence&gt; &lt;element
28 * ref="{www.vamsas.ac.uk/jalview/version2}annotationElement"
29 * maxOccurs="unbounded" minOccurs="0"/&gt; &lt;element name="label"
30 * type="{http://www.w3.org/2001/XMLSchema}string"/&gt; &lt;element
31 * name="description" type="{http://www.w3.org/2001/XMLSchema}string"
32 * minOccurs="0"/&gt; &lt;element name="thresholdLine"
33 * minOccurs="0"&gt; &lt;complexType&gt;
34 * &lt;complexContent&gt; &lt;restriction
35 * base="{http://www.w3.org/2001/XMLSchema}anyType"&gt; &lt;attribute
36 * name="label" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
37 * &lt;attribute name="value" type="{http://www.w3.org/2001/XMLSchema}float"
38 * /&gt; &lt;attribute name="colour"
39 * type="{http://www.w3.org/2001/XMLSchema}int" /&gt;
40 * &lt;/restriction&gt; &lt;/complexContent&gt;
41 * &lt;/complexType&gt; &lt;/element&gt; &lt;element
42 * name="property" maxOccurs="unbounded" minOccurs="0"&gt;
43 * &lt;complexType&gt; &lt;complexContent&gt;
44 * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
45 * &lt;attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string"
46 * /&gt; &lt;attribute name="value"
47 * type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
48 * &lt;/restriction&gt; &lt;/complexContent&gt;
49 * &lt;/complexType&gt; &lt;/element&gt;
50 * &lt;/sequence&gt; &lt;attribute name="graph" use="required"
51 * type="{http://www.w3.org/2001/XMLSchema}boolean" /&gt; &lt;attribute
52 * name="graphType" type="{http://www.w3.org/2001/XMLSchema}int" /&gt;
53 * &lt;attribute name="sequenceRef"
54 * type="{http://www.w3.org/2001/XMLSchema}string" /&gt; &lt;attribute
55 * name="groupRef" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
56 * &lt;attribute name="graphColour"
57 * type="{http://www.w3.org/2001/XMLSchema}int" /&gt; &lt;attribute
58 * name="graphGroup" type="{http://www.w3.org/2001/XMLSchema}int" /&gt;
59 * &lt;attribute name="graphHeight"
60 * type="{http://www.w3.org/2001/XMLSchema}int" /&gt; &lt;attribute
61 * name="id" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
62 * &lt;attribute name="scoreOnly"
63 * type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /&gt;
64 * &lt;attribute name="score"
65 * type="{http://www.w3.org/2001/XMLSchema}double" /&gt; &lt;attribute
66 * name="visible" type="{http://www.w3.org/2001/XMLSchema}boolean" /&gt;
67 * &lt;attribute name="centreColLabels"
68 * type="{http://www.w3.org/2001/XMLSchema}boolean" /&gt; &lt;attribute
69 * name="scaleColLabels" type="{http://www.w3.org/2001/XMLSchema}boolean"
70 * /&gt; &lt;attribute name="showAllColLabels"
71 * type="{http://www.w3.org/2001/XMLSchema}boolean" /&gt; &lt;attribute
72 * name="autoCalculated" type="{http://www.w3.org/2001/XMLSchema}boolean"
73 * default="false" /&gt; &lt;attribute name="belowAlignment"
74 * type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" /&gt;
75 * &lt;attribute name="calcId"
76 * type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
77 * &lt;/restriction&gt; &lt;/complexContent&gt;
78 * &lt;/complexType&gt; </pre>
82 @XmlAccessorType(XmlAccessType.FIELD)
86 { "annotationElement", "label", "description", "thresholdLine",
88 @XmlRootElement(name = "Annotation")
89 public class Annotation
92 protected List<AnnotationElement> annotationElement;
94 @XmlElement(required = true)
95 protected String label;
97 protected String description;
99 protected Annotation.ThresholdLine thresholdLine;
101 protected List<Annotation.Property> property;
103 @XmlAttribute(name = "graph", required = true)
104 protected boolean graph;
106 @XmlAttribute(name = "graphType")
107 protected Integer graphType;
109 @XmlAttribute(name = "sequenceRef")
110 protected String sequenceRef;
112 @XmlAttribute(name = "groupRef")
113 protected String groupRef;
115 @XmlAttribute(name = "graphColour")
116 protected Integer graphColour;
118 @XmlAttribute(name = "graphGroup")
119 protected Integer graphGroup;
121 @XmlAttribute(name = "graphHeight")
122 protected Integer graphHeight;
124 @XmlAttribute(name = "id")
127 @XmlAttribute(name = "scoreOnly")
128 protected Boolean scoreOnly;
130 @XmlAttribute(name = "score")
131 protected Double score;
133 @XmlAttribute(name = "visible")
134 protected Boolean visible;
136 @XmlAttribute(name = "centreColLabels")
137 protected Boolean centreColLabels;
139 @XmlAttribute(name = "scaleColLabels")
140 protected Boolean scaleColLabels;
142 @XmlAttribute(name = "showAllColLabels")
143 protected Boolean showAllColLabels;
145 @XmlAttribute(name = "autoCalculated")
146 protected Boolean autoCalculated;
148 @XmlAttribute(name = "belowAlignment")
149 protected Boolean belowAlignment;
151 @XmlAttribute(name = "calcId")
152 protected String calcId;
155 * Gets the value of the annotationElement property.
157 * <p> This accessor method returns a reference to the live list, not a
158 * snapshot. Therefore any modification you make to the returned list will be
159 * present inside the JAXB object. This is why there is not a
160 * <CODE>set</CODE> method for the annotationElement property.
162 * <p> For example, to add a new item, do as follows: <pre>
163 * getAnnotationElement().add(newItem); </pre>
166 * <p> Objects of the following type(s) are allowed in the list
167 * {@link AnnotationElement }
171 public List<AnnotationElement> getAnnotationElement()
173 if (annotationElement == null)
175 annotationElement = new ArrayList<AnnotationElement>();
177 return this.annotationElement;
181 * Gets the value of the label property.
183 * @return possible object is {@link String }
186 public String getLabel()
192 * Sets the value of the label property.
195 * allowed object is {@link String }
198 public void setLabel(String value)
204 * Gets the value of the description property.
206 * @return possible object is {@link String }
209 public String getDescription()
215 * Sets the value of the description property.
218 * allowed object is {@link String }
221 public void setDescription(String value)
223 this.description = value;
227 * Gets the value of the thresholdLine property.
229 * @return possible object is {@link Annotation.ThresholdLine }
232 public Annotation.ThresholdLine getThresholdLine()
234 return thresholdLine;
238 * Sets the value of the thresholdLine property.
241 * allowed object is {@link Annotation.ThresholdLine }
244 public void setThresholdLine(Annotation.ThresholdLine value)
246 this.thresholdLine = value;
250 * Gets the value of the property property.
252 * <p> This accessor method returns a reference to the live list, not a
253 * snapshot. Therefore any modification you make to the returned list will be
254 * present inside the JAXB object. This is why there is not a
255 * <CODE>set</CODE> method for the property property.
257 * <p> For example, to add a new item, do as follows: <pre>
258 * getProperty().add(newItem); </pre>
261 * <p> Objects of the following type(s) are allowed in the list
262 * {@link Annotation.Property }
266 public List<Annotation.Property> getProperty()
268 if (property == null)
270 property = new ArrayList<Annotation.Property>();
272 return this.property;
276 * Gets the value of the graph property.
279 public boolean isGraph()
285 * Sets the value of the graph property.
288 public void setGraph(boolean value)
294 * Gets the value of the graphType property.
296 * @return possible object is {@link Integer }
299 public Integer getGraphType()
305 * Sets the value of the graphType property.
308 * allowed object is {@link Integer }
311 public void setGraphType(Integer value)
313 this.graphType = value;
317 * Gets the value of the sequenceRef property.
319 * @return possible object is {@link String }
322 public String getSequenceRef()
328 * Sets the value of the sequenceRef property.
331 * allowed object is {@link String }
334 public void setSequenceRef(String value)
336 this.sequenceRef = value;
340 * Gets the value of the groupRef property.
342 * @return possible object is {@link String }
345 public String getGroupRef()
351 * Sets the value of the groupRef property.
354 * allowed object is {@link String }
357 public void setGroupRef(String value)
359 this.groupRef = value;
363 * Gets the value of the graphColour property.
365 * @return possible object is {@link Integer }
368 public Integer getGraphColour()
374 * Sets the value of the graphColour property.
377 * allowed object is {@link Integer }
380 public void setGraphColour(Integer value)
382 this.graphColour = value;
386 * Gets the value of the graphGroup property.
388 * @return possible object is {@link Integer }
391 public Integer getGraphGroup()
397 * Sets the value of the graphGroup property.
400 * allowed object is {@link Integer }
403 public void setGraphGroup(Integer value)
405 this.graphGroup = value;
409 * Gets the value of the graphHeight property.
411 * @return possible object is {@link Integer }
414 public Integer getGraphHeight()
420 * Sets the value of the graphHeight property.
423 * allowed object is {@link Integer }
426 public void setGraphHeight(Integer value)
428 this.graphHeight = value;
432 * Gets the value of the id property.
434 * @return possible object is {@link String }
437 public String getId()
443 * Sets the value of the id property.
446 * allowed object is {@link String }
449 public void setId(String value)
455 * Gets the value of the scoreOnly property.
457 * @return possible object is {@link Boolean }
460 public boolean isScoreOnly()
462 if (scoreOnly == null)
473 * Sets the value of the scoreOnly property.
476 * allowed object is {@link Boolean }
479 public void setScoreOnly(Boolean value)
481 this.scoreOnly = value;
485 * Gets the value of the score property.
487 * @return possible object is {@link Double }
490 public Double getScore()
496 * Sets the value of the score property.
499 * allowed object is {@link Double }
502 public void setScore(Double value)
508 * Gets the value of the visible property.
510 * @return possible object is {@link Boolean }
513 public Boolean isVisible()
519 * Sets the value of the visible property.
522 * allowed object is {@link Boolean }
525 public void setVisible(Boolean value)
527 this.visible = value;
531 * Gets the value of the centreColLabels property.
533 * @return possible object is {@link Boolean }
536 public Boolean isCentreColLabels()
538 return centreColLabels;
542 * Sets the value of the centreColLabels property.
545 * allowed object is {@link Boolean }
548 public void setCentreColLabels(Boolean value)
550 this.centreColLabels = value;
554 * Gets the value of the scaleColLabels property.
556 * @return possible object is {@link Boolean }
559 public Boolean isScaleColLabels()
561 return scaleColLabels;
565 * Sets the value of the scaleColLabels property.
568 * allowed object is {@link Boolean }
571 public void setScaleColLabels(Boolean value)
573 this.scaleColLabels = value;
577 * Gets the value of the showAllColLabels property.
579 * @return possible object is {@link Boolean }
582 public Boolean isShowAllColLabels()
584 return showAllColLabels;
588 * Sets the value of the showAllColLabels property.
591 * allowed object is {@link Boolean }
594 public void setShowAllColLabels(Boolean value)
596 this.showAllColLabels = value;
600 * Gets the value of the autoCalculated property.
602 * @return possible object is {@link Boolean }
605 public boolean isAutoCalculated()
607 if (autoCalculated == null)
613 return autoCalculated;
618 * Sets the value of the autoCalculated property.
621 * allowed object is {@link Boolean }
624 public void setAutoCalculated(Boolean value)
626 this.autoCalculated = value;
630 * Gets the value of the belowAlignment property.
632 * @return possible object is {@link Boolean }
635 public boolean isBelowAlignment()
637 if (belowAlignment == null)
643 return belowAlignment;
648 * Sets the value of the belowAlignment property.
651 * allowed object is {@link Boolean }
654 public void setBelowAlignment(Boolean value)
656 this.belowAlignment = value;
660 * Gets the value of the calcId property.
662 * @return possible object is {@link String }
665 public String getCalcId()
671 * Sets the value of the calcId property.
674 * allowed object is {@link String }
677 public void setCalcId(String value)
683 * <p>Java class for anonymous complex type.
685 * <p>The following schema fragment specifies the expected content
686 * contained within this class.
688 * <pre> &lt;complexType&gt; &lt;complexContent&gt;
689 * &lt;restriction
690 * base="{http://www.w3.org/2001/XMLSchema}anyType"&gt; &lt;attribute
691 * name="name" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
692 * &lt;attribute name="value"
693 * type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
694 * &lt;/restriction&gt; &lt;/complexContent&gt;
695 * &lt;/complexType&gt; </pre>
699 @XmlAccessorType(XmlAccessType.FIELD)
701 public static class Property
704 @XmlAttribute(name = "name")
705 protected String name;
707 @XmlAttribute(name = "value")
708 protected String value;
711 * Gets the value of the name property.
713 * @return possible object is {@link String }
716 public String getName()
722 * Sets the value of the name property.
725 * allowed object is {@link String }
728 public void setName(String value)
734 * Gets the value of the value property.
736 * @return possible object is {@link String }
739 public String getValue()
745 * Sets the value of the value property.
748 * allowed object is {@link String }
751 public void setValue(String value)
759 * <p>Java class for anonymous complex type.
761 * <p>The following schema fragment specifies the expected content
762 * contained within this class.
764 * <pre> &lt;complexType&gt; &lt;complexContent&gt;
765 * &lt;restriction
766 * base="{http://www.w3.org/2001/XMLSchema}anyType"&gt; &lt;attribute
767 * name="label" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
768 * &lt;attribute name="value"
769 * type="{http://www.w3.org/2001/XMLSchema}float" /&gt; &lt;attribute
770 * name="colour" type="{http://www.w3.org/2001/XMLSchema}int" /&gt;
771 * &lt;/restriction&gt; &lt;/complexContent&gt;
772 * &lt;/complexType&gt; </pre>
776 @XmlAccessorType(XmlAccessType.FIELD)
778 public static class ThresholdLine
781 @XmlAttribute(name = "label")
782 protected String label;
784 @XmlAttribute(name = "value")
785 protected Float value;
787 @XmlAttribute(name = "colour")
788 protected Integer colour;
791 * Gets the value of the label property.
793 * @return possible object is {@link String }
796 public String getLabel()
802 * Sets the value of the label property.
805 * allowed object is {@link String }
808 public void setLabel(String value)
814 * Gets the value of the value property.
816 * @return possible object is {@link Float }
819 public Float getValue()
825 * Sets the value of the value property.
828 * allowed object is {@link Float }
831 public void setValue(Float value)
837 * Gets the value of the colour property.
839 * @return possible object is {@link Integer }
842 public Integer getColour()
848 * Sets the value of the colour property.
851 * allowed object is {@link Integer }
854 public void setColour(Integer value)