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: 2018.12.20 at 11:47:26 AM GMT
9 package jalview.xml.binding.jalview;
11 import java.util.ArrayList;
12 import java.util.List;
13 import javax.xml.bind.annotation.XmlAccessType;
14 import javax.xml.bind.annotation.XmlAccessorType;
15 import javax.xml.bind.annotation.XmlAttribute;
16 import javax.xml.bind.annotation.XmlElement;
17 import javax.xml.bind.annotation.XmlRootElement;
18 import javax.xml.bind.annotation.XmlType;
22 * <p>Java class for anonymous complex type.
24 * <p>The following schema fragment specifies the expected content contained within this class.
29 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
31 * <element ref="{www.vamsas.ac.uk/jalview/version2}annotationElement" maxOccurs="unbounded" minOccurs="0"/>
32 * <element name="label" type="{http://www.w3.org/2001/XMLSchema}string"/>
33 * <element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
34 * <element name="thresholdLine" minOccurs="0">
37 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
38 * <attribute name="label" type="{http://www.w3.org/2001/XMLSchema}string" />
39 * <attribute name="value" type="{http://www.w3.org/2001/XMLSchema}float" />
40 * <attribute name="colour" type="{http://www.w3.org/2001/XMLSchema}int" />
42 * </complexContent>
45 * <element name="property" maxOccurs="unbounded" minOccurs="0">
48 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
49 * <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
50 * <attribute name="value" type="{http://www.w3.org/2001/XMLSchema}string" />
52 * </complexContent>
56 * <attribute name="graph" use="required" type="{http://www.w3.org/2001/XMLSchema}boolean" />
57 * <attribute name="graphType" type="{http://www.w3.org/2001/XMLSchema}int" />
58 * <attribute name="sequenceRef" type="{http://www.w3.org/2001/XMLSchema}string" />
59 * <attribute name="groupRef" type="{http://www.w3.org/2001/XMLSchema}string" />
60 * <attribute name="graphColour" type="{http://www.w3.org/2001/XMLSchema}int" />
61 * <attribute name="graphGroup" type="{http://www.w3.org/2001/XMLSchema}int" />
62 * <attribute name="graphHeight" type="{http://www.w3.org/2001/XMLSchema}int" />
63 * <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}string" />
64 * <attribute name="scoreOnly" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
65 * <attribute name="score" type="{http://www.w3.org/2001/XMLSchema}double" />
66 * <attribute name="visible" type="{http://www.w3.org/2001/XMLSchema}boolean" />
67 * <attribute name="centreColLabels" type="{http://www.w3.org/2001/XMLSchema}boolean" />
68 * <attribute name="scaleColLabels" type="{http://www.w3.org/2001/XMLSchema}boolean" />
69 * <attribute name="showAllColLabels" type="{http://www.w3.org/2001/XMLSchema}boolean" />
70 * <attribute name="autoCalculated" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
71 * <attribute name="belowAlignment" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
72 * <attribute name="calcId" type="{http://www.w3.org/2001/XMLSchema}string" />
74 * </complexContent>
80 @XmlAccessorType(XmlAccessType.FIELD)
81 @XmlType(name = "", propOrder = {
88 @XmlRootElement(name = "Annotation")
89 public class Annotation {
91 protected List<AnnotationElement> annotationElement;
92 @XmlElement(required = true)
93 protected String label;
94 protected String description;
95 protected Annotation.ThresholdLine thresholdLine;
96 protected List<Annotation.Property> property;
97 @XmlAttribute(name = "graph", required = true)
98 protected boolean graph;
99 @XmlAttribute(name = "graphType")
100 protected Integer graphType;
101 @XmlAttribute(name = "sequenceRef")
102 protected String sequenceRef;
103 @XmlAttribute(name = "groupRef")
104 protected String groupRef;
105 @XmlAttribute(name = "graphColour")
106 protected Integer graphColour;
107 @XmlAttribute(name = "graphGroup")
108 protected Integer graphGroup;
109 @XmlAttribute(name = "graphHeight")
110 protected Integer graphHeight;
111 @XmlAttribute(name = "id")
113 @XmlAttribute(name = "scoreOnly")
114 protected Boolean scoreOnly;
115 @XmlAttribute(name = "score")
116 protected Double score;
117 @XmlAttribute(name = "visible")
118 protected Boolean visible;
119 @XmlAttribute(name = "centreColLabels")
120 protected Boolean centreColLabels;
121 @XmlAttribute(name = "scaleColLabels")
122 protected Boolean scaleColLabels;
123 @XmlAttribute(name = "showAllColLabels")
124 protected Boolean showAllColLabels;
125 @XmlAttribute(name = "autoCalculated")
126 protected Boolean autoCalculated;
127 @XmlAttribute(name = "belowAlignment")
128 protected Boolean belowAlignment;
129 @XmlAttribute(name = "calcId")
130 protected String calcId;
133 * Gets the value of the annotationElement property.
136 * This accessor method returns a reference to the live list,
137 * not a snapshot. Therefore any modification you make to the
138 * returned list will be present inside the JAXB object.
139 * This is why there is not a <CODE>set</CODE> method for the annotationElement property.
142 * For example, to add a new item, do as follows:
144 * getAnnotationElement().add(newItem);
149 * Objects of the following type(s) are allowed in the list
150 * {@link AnnotationElement }
154 public List<AnnotationElement> getAnnotationElement() {
155 if (annotationElement == null) {
156 annotationElement = new ArrayList<AnnotationElement>();
158 return this.annotationElement;
162 * Gets the value of the label property.
169 public String getLabel() {
174 * Sets the value of the label property.
181 public void setLabel(String value) {
186 * Gets the value of the description property.
193 public String getDescription() {
198 * Sets the value of the description property.
205 public void setDescription(String value) {
206 this.description = value;
210 * Gets the value of the thresholdLine property.
214 * {@link Annotation.ThresholdLine }
217 public Annotation.ThresholdLine getThresholdLine() {
218 return thresholdLine;
222 * Sets the value of the thresholdLine property.
226 * {@link Annotation.ThresholdLine }
229 public void setThresholdLine(Annotation.ThresholdLine value) {
230 this.thresholdLine = value;
234 * Gets the value of the property property.
237 * This accessor method returns a reference to the live list,
238 * not a snapshot. Therefore any modification you make to the
239 * returned list will be present inside the JAXB object.
240 * This is why there is not a <CODE>set</CODE> method for the property property.
243 * For example, to add a new item, do as follows:
245 * getProperty().add(newItem);
250 * Objects of the following type(s) are allowed in the list
251 * {@link Annotation.Property }
255 public List<Annotation.Property> getProperty() {
256 if (property == null) {
257 property = new ArrayList<Annotation.Property>();
259 return this.property;
263 * Gets the value of the graph property.
266 public boolean isGraph() {
271 * Sets the value of the graph property.
274 public void setGraph(boolean value) {
279 * Gets the value of the graphType property.
286 public Integer getGraphType() {
291 * Sets the value of the graphType property.
298 public void setGraphType(Integer value) {
299 this.graphType = value;
303 * Gets the value of the sequenceRef property.
310 public String getSequenceRef() {
315 * Sets the value of the sequenceRef property.
322 public void setSequenceRef(String value) {
323 this.sequenceRef = value;
327 * Gets the value of the groupRef property.
334 public String getGroupRef() {
339 * Sets the value of the groupRef property.
346 public void setGroupRef(String value) {
347 this.groupRef = value;
351 * Gets the value of the graphColour property.
358 public Integer getGraphColour() {
363 * Sets the value of the graphColour property.
370 public void setGraphColour(Integer value) {
371 this.graphColour = value;
375 * Gets the value of the graphGroup property.
382 public Integer getGraphGroup() {
387 * Sets the value of the graphGroup property.
394 public void setGraphGroup(Integer value) {
395 this.graphGroup = value;
399 * Gets the value of the graphHeight property.
406 public Integer getGraphHeight() {
411 * Sets the value of the graphHeight property.
418 public void setGraphHeight(Integer value) {
419 this.graphHeight = value;
423 * Gets the value of the id property.
430 public String getId() {
435 * Sets the value of the id property.
442 public void setId(String value) {
447 * Gets the value of the scoreOnly property.
454 public boolean isScoreOnly() {
455 if (scoreOnly == null) {
463 * Sets the value of the scoreOnly property.
470 public void setScoreOnly(Boolean value) {
471 this.scoreOnly = value;
475 * Gets the value of the score property.
482 public Double getScore() {
487 * Sets the value of the score property.
494 public void setScore(Double value) {
499 * Gets the value of the visible property.
506 public Boolean isVisible() {
511 * Sets the value of the visible property.
518 public void setVisible(Boolean value) {
519 this.visible = value;
523 * Gets the value of the centreColLabels property.
530 public Boolean isCentreColLabels() {
531 return centreColLabels;
535 * Sets the value of the centreColLabels property.
542 public void setCentreColLabels(Boolean value) {
543 this.centreColLabels = value;
547 * Gets the value of the scaleColLabels property.
554 public Boolean isScaleColLabels() {
555 return scaleColLabels;
559 * Sets the value of the scaleColLabels property.
566 public void setScaleColLabels(Boolean value) {
567 this.scaleColLabels = value;
571 * Gets the value of the showAllColLabels property.
578 public Boolean isShowAllColLabels() {
579 return showAllColLabels;
583 * Sets the value of the showAllColLabels property.
590 public void setShowAllColLabels(Boolean value) {
591 this.showAllColLabels = value;
595 * Gets the value of the autoCalculated property.
602 public boolean isAutoCalculated() {
603 if (autoCalculated == null) {
606 return autoCalculated;
611 * Sets the value of the autoCalculated property.
618 public void setAutoCalculated(Boolean value) {
619 this.autoCalculated = value;
623 * Gets the value of the belowAlignment property.
630 public boolean isBelowAlignment() {
631 if (belowAlignment == null) {
634 return belowAlignment;
639 * Sets the value of the belowAlignment property.
646 public void setBelowAlignment(Boolean value) {
647 this.belowAlignment = value;
651 * Gets the value of the calcId property.
658 public String getCalcId() {
663 * Sets the value of the calcId property.
670 public void setCalcId(String value) {
676 * <p>Java class for anonymous complex type.
678 * <p>The following schema fragment specifies the expected content contained within this class.
682 * <complexContent>
683 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
684 * <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
685 * <attribute name="value" type="{http://www.w3.org/2001/XMLSchema}string" />
687 * </complexContent>
693 @XmlAccessorType(XmlAccessType.FIELD)
695 public static class Property {
697 @XmlAttribute(name = "name")
698 protected String name;
699 @XmlAttribute(name = "value")
700 protected String value;
703 * Gets the value of the name property.
710 public String getName() {
715 * Sets the value of the name property.
722 public void setName(String value) {
727 * Gets the value of the value property.
734 public String getValue() {
739 * Sets the value of the value property.
746 public void setValue(String value) {
754 * <p>Java class for anonymous complex type.
756 * <p>The following schema fragment specifies the expected content contained within this class.
760 * <complexContent>
761 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
762 * <attribute name="label" type="{http://www.w3.org/2001/XMLSchema}string" />
763 * <attribute name="value" type="{http://www.w3.org/2001/XMLSchema}float" />
764 * <attribute name="colour" type="{http://www.w3.org/2001/XMLSchema}int" />
766 * </complexContent>
772 @XmlAccessorType(XmlAccessType.FIELD)
774 public static class ThresholdLine {
776 @XmlAttribute(name = "label")
777 protected String label;
778 @XmlAttribute(name = "value")
779 protected Float value;
780 @XmlAttribute(name = "colour")
781 protected Integer colour;
784 * Gets the value of the label property.
791 public String getLabel() {
796 * Sets the value of the label property.
803 public void setLabel(String value) {
808 * Gets the value of the value property.
815 public Float getValue() {
820 * Sets the value of the value property.
827 public void setValue(Float value) {
832 * Gets the value of the colour property.
839 public Integer getColour() {
844 * Sets the value of the colour property.
851 public void setColour(Integer value) {