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: 2023.02.22 at 10:08:57 PM 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="contactmatrix" type="{www.vamsas.ac.uk/jalview/version2}MatrixType" maxOccurs="unbounded" minOccurs="0"/>
46 * <element name="property" maxOccurs="unbounded" minOccurs="0">
49 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
50 * <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
51 * <attribute name="value" type="{http://www.w3.org/2001/XMLSchema}string" />
53 * </complexContent>
57 * <attribute name="graph" use="required" type="{http://www.w3.org/2001/XMLSchema}boolean" />
58 * <attribute name="graphType" type="{http://www.w3.org/2001/XMLSchema}int" />
59 * <attribute name="sequenceRef" type="{http://www.w3.org/2001/XMLSchema}string" />
60 * <attribute name="groupRef" type="{http://www.w3.org/2001/XMLSchema}string" />
61 * <attribute name="graphColour" type="{http://www.w3.org/2001/XMLSchema}int" />
62 * <attribute name="graphGroup" type="{http://www.w3.org/2001/XMLSchema}int" />
63 * <attribute name="graphHeight" type="{http://www.w3.org/2001/XMLSchema}int" />
64 * <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}string" />
65 * <attribute name="scoreOnly" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
66 * <attribute name="score" type="{http://www.w3.org/2001/XMLSchema}double" />
67 * <attribute name="visible" type="{http://www.w3.org/2001/XMLSchema}boolean" />
68 * <attribute name="centreColLabels" type="{http://www.w3.org/2001/XMLSchema}boolean" />
69 * <attribute name="scaleColLabels" type="{http://www.w3.org/2001/XMLSchema}boolean" />
70 * <attribute name="showAllColLabels" type="{http://www.w3.org/2001/XMLSchema}boolean" />
71 * <attribute name="autoCalculated" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
72 * <attribute name="belowAlignment" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
73 * <attribute name="calcId" type="{http://www.w3.org/2001/XMLSchema}string" />
75 * </complexContent>
81 @XmlAccessorType(XmlAccessType.FIELD)
82 @XmlType(name = "", propOrder = {
90 @XmlRootElement(name = "Annotation")
91 public class Annotation {
93 protected List<AnnotationElement> annotationElement;
94 @XmlElement(required = true)
95 protected String label;
96 protected String description;
97 protected Annotation.ThresholdLine thresholdLine;
98 protected List<MatrixType> contactmatrix;
99 protected List<Annotation.Property> property;
100 @XmlAttribute(name = "graph", required = true)
101 protected boolean graph;
102 @XmlAttribute(name = "graphType")
103 protected Integer graphType;
104 @XmlAttribute(name = "sequenceRef")
105 protected String sequenceRef;
106 @XmlAttribute(name = "groupRef")
107 protected String groupRef;
108 @XmlAttribute(name = "graphColour")
109 protected Integer graphColour;
110 @XmlAttribute(name = "graphGroup")
111 protected Integer graphGroup;
112 @XmlAttribute(name = "graphHeight")
113 protected Integer graphHeight;
114 @XmlAttribute(name = "id")
116 @XmlAttribute(name = "scoreOnly")
117 protected Boolean scoreOnly;
118 @XmlAttribute(name = "score")
119 protected Double score;
120 @XmlAttribute(name = "visible")
121 protected Boolean visible;
122 @XmlAttribute(name = "centreColLabels")
123 protected Boolean centreColLabels;
124 @XmlAttribute(name = "scaleColLabels")
125 protected Boolean scaleColLabels;
126 @XmlAttribute(name = "showAllColLabels")
127 protected Boolean showAllColLabels;
128 @XmlAttribute(name = "autoCalculated")
129 protected Boolean autoCalculated;
130 @XmlAttribute(name = "belowAlignment")
131 protected Boolean belowAlignment;
132 @XmlAttribute(name = "calcId")
133 protected String calcId;
136 * Gets the value of the annotationElement property.
139 * This accessor method returns a reference to the live list,
140 * not a snapshot. Therefore any modification you make to the
141 * returned list will be present inside the JAXB object.
142 * This is why there is not a <CODE>set</CODE> method for the annotationElement property.
145 * For example, to add a new item, do as follows:
147 * getAnnotationElement().add(newItem);
152 * Objects of the following type(s) are allowed in the list
153 * {@link AnnotationElement }
157 public List<AnnotationElement> getAnnotationElement() {
158 if (annotationElement == null) {
159 annotationElement = new ArrayList<AnnotationElement>();
161 return this.annotationElement;
165 * Gets the value of the label property.
172 public String getLabel() {
177 * Sets the value of the label property.
184 public void setLabel(String value) {
189 * Gets the value of the description property.
196 public String getDescription() {
201 * Sets the value of the description property.
208 public void setDescription(String value) {
209 this.description = value;
213 * Gets the value of the thresholdLine property.
217 * {@link Annotation.ThresholdLine }
220 public Annotation.ThresholdLine getThresholdLine() {
221 return thresholdLine;
225 * Sets the value of the thresholdLine property.
229 * {@link Annotation.ThresholdLine }
232 public void setThresholdLine(Annotation.ThresholdLine value) {
233 this.thresholdLine = value;
237 * Gets the value of the contactmatrix property.
240 * This accessor method returns a reference to the live list,
241 * not a snapshot. Therefore any modification you make to the
242 * returned list will be present inside the JAXB object.
243 * This is why there is not a <CODE>set</CODE> method for the contactmatrix property.
246 * For example, to add a new item, do as follows:
248 * getContactmatrix().add(newItem);
253 * Objects of the following type(s) are allowed in the list
254 * {@link MatrixType }
258 public List<MatrixType> getContactmatrix() {
259 if (contactmatrix == null) {
260 contactmatrix = new ArrayList<MatrixType>();
262 return this.contactmatrix;
266 * Gets the value of the property property.
269 * This accessor method returns a reference to the live list,
270 * not a snapshot. Therefore any modification you make to the
271 * returned list will be present inside the JAXB object.
272 * This is why there is not a <CODE>set</CODE> method for the property property.
275 * For example, to add a new item, do as follows:
277 * getProperty().add(newItem);
282 * Objects of the following type(s) are allowed in the list
283 * {@link Annotation.Property }
287 public List<Annotation.Property> getProperty() {
288 if (property == null) {
289 property = new ArrayList<Annotation.Property>();
291 return this.property;
295 * Gets the value of the graph property.
298 public boolean isGraph() {
303 * Sets the value of the graph property.
306 public void setGraph(boolean value) {
311 * Gets the value of the graphType property.
318 public Integer getGraphType() {
323 * Sets the value of the graphType property.
330 public void setGraphType(Integer value) {
331 this.graphType = value;
335 * Gets the value of the sequenceRef property.
342 public String getSequenceRef() {
347 * Sets the value of the sequenceRef property.
354 public void setSequenceRef(String value) {
355 this.sequenceRef = value;
359 * Gets the value of the groupRef property.
366 public String getGroupRef() {
371 * Sets the value of the groupRef property.
378 public void setGroupRef(String value) {
379 this.groupRef = value;
383 * Gets the value of the graphColour property.
390 public Integer getGraphColour() {
395 * Sets the value of the graphColour property.
402 public void setGraphColour(Integer value) {
403 this.graphColour = value;
407 * Gets the value of the graphGroup property.
414 public Integer getGraphGroup() {
419 * Sets the value of the graphGroup property.
426 public void setGraphGroup(Integer value) {
427 this.graphGroup = value;
431 * Gets the value of the graphHeight property.
438 public Integer getGraphHeight() {
443 * Sets the value of the graphHeight property.
450 public void setGraphHeight(Integer value) {
451 this.graphHeight = value;
455 * Gets the value of the id property.
462 public String getId() {
467 * Sets the value of the id property.
474 public void setId(String value) {
479 * Gets the value of the scoreOnly property.
486 public boolean isScoreOnly() {
487 if (scoreOnly == null) {
495 * Sets the value of the scoreOnly property.
502 public void setScoreOnly(Boolean value) {
503 this.scoreOnly = value;
507 * Gets the value of the score property.
514 public Double getScore() {
519 * Sets the value of the score property.
526 public void setScore(Double value) {
531 * Gets the value of the visible property.
538 public Boolean isVisible() {
543 * Sets the value of the visible property.
550 public void setVisible(Boolean value) {
551 this.visible = value;
555 * Gets the value of the centreColLabels property.
562 public Boolean isCentreColLabels() {
563 return centreColLabels;
567 * Sets the value of the centreColLabels property.
574 public void setCentreColLabels(Boolean value) {
575 this.centreColLabels = value;
579 * Gets the value of the scaleColLabels property.
586 public Boolean isScaleColLabels() {
587 return scaleColLabels;
591 * Sets the value of the scaleColLabels property.
598 public void setScaleColLabels(Boolean value) {
599 this.scaleColLabels = value;
603 * Gets the value of the showAllColLabels property.
610 public Boolean isShowAllColLabels() {
611 return showAllColLabels;
615 * Sets the value of the showAllColLabels property.
622 public void setShowAllColLabels(Boolean value) {
623 this.showAllColLabels = value;
627 * Gets the value of the autoCalculated property.
634 public boolean isAutoCalculated() {
635 if (autoCalculated == null) {
638 return autoCalculated;
643 * Sets the value of the autoCalculated property.
650 public void setAutoCalculated(Boolean value) {
651 this.autoCalculated = value;
655 * Gets the value of the belowAlignment property.
662 public boolean isBelowAlignment() {
663 if (belowAlignment == null) {
666 return belowAlignment;
671 * Sets the value of the belowAlignment property.
678 public void setBelowAlignment(Boolean value) {
679 this.belowAlignment = value;
683 * Gets the value of the calcId property.
690 public String getCalcId() {
695 * Sets the value of the calcId property.
702 public void setCalcId(String value) {
708 * <p>Java class for anonymous complex type.
710 * <p>The following schema fragment specifies the expected content contained within this class.
714 * <complexContent>
715 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
716 * <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
717 * <attribute name="value" type="{http://www.w3.org/2001/XMLSchema}string" />
719 * </complexContent>
725 @XmlAccessorType(XmlAccessType.FIELD)
727 public static class Property {
729 @XmlAttribute(name = "name")
730 protected String name;
731 @XmlAttribute(name = "value")
732 protected String value;
735 * Gets the value of the name property.
742 public String getName() {
747 * Sets the value of the name property.
754 public void setName(String value) {
759 * Gets the value of the value property.
766 public String getValue() {
771 * Sets the value of the value property.
778 public void setValue(String value) {
786 * <p>Java class for anonymous complex type.
788 * <p>The following schema fragment specifies the expected content contained within this class.
792 * <complexContent>
793 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
794 * <attribute name="label" type="{http://www.w3.org/2001/XMLSchema}string" />
795 * <attribute name="value" type="{http://www.w3.org/2001/XMLSchema}float" />
796 * <attribute name="colour" type="{http://www.w3.org/2001/XMLSchema}int" />
798 * </complexContent>
804 @XmlAccessorType(XmlAccessType.FIELD)
806 public static class ThresholdLine {
808 @XmlAttribute(name = "label")
809 protected String label;
810 @XmlAttribute(name = "value")
811 protected Float value;
812 @XmlAttribute(name = "colour")
813 protected Integer colour;
816 * Gets the value of the label property.
823 public String getLabel() {
828 * Sets the value of the label property.
835 public void setLabel(String value) {
840 * Gets the value of the value property.
847 public Float getValue() {
852 * Sets the value of the value property.
859 public void setValue(Float value) {
864 * Gets the value of the colour property.
871 public Integer getColour() {
876 * Sets the value of the colour property.
883 public void setColour(Integer value) {