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: 2023.09.01 at 02:16:11 PM BST
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.XmlType;
21 * <p>Java class for JalviewUserColours complex type.
23 * <p>The following schema fragment specifies the expected content contained within this class.
26 * &lt;complexType name="JalviewUserColours"&gt;
27 * &lt;complexContent&gt;
28 * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
29 * &lt;sequence&gt;
30 * &lt;element name="Version" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/&gt;
31 * &lt;element name="colour" maxOccurs="unbounded" minOccurs="0"&gt;
32 * &lt;complexType&gt;
33 * &lt;complexContent&gt;
34 * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
35 * &lt;sequence&gt;
36 * &lt;element name="attributeName" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="2" minOccurs="0"/&gt;
37 * &lt;/sequence&gt;
38 * &lt;attribute name="Name" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
39 * &lt;attribute name="RGB" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
40 * &lt;attribute name="minRGB" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
41 * &lt;attribute name="noValueColour" type="{www.jalview.org/colours}NoValueColour" default="Min" /&gt;
42 * &lt;attribute name="threshType" type="{www.jalview.org/colours}ThresholdType" /&gt;
43 * &lt;attribute name="threshold" type="{http://www.w3.org/2001/XMLSchema}float" /&gt;
44 * &lt;attribute name="max" type="{http://www.w3.org/2001/XMLSchema}float" /&gt;
45 * &lt;attribute name="min" type="{http://www.w3.org/2001/XMLSchema}float" /&gt;
46 * &lt;attribute name="colourByLabel" type="{http://www.w3.org/2001/XMLSchema}boolean" /&gt;
47 * &lt;attribute name="autoScale" type="{http://www.w3.org/2001/XMLSchema}boolean" /&gt;
48 * &lt;/restriction&gt;
49 * &lt;/complexContent&gt;
50 * &lt;/complexType&gt;
51 * &lt;/element&gt;
52 * &lt;element name="filter" maxOccurs="unbounded" minOccurs="0"&gt;
53 * &lt;complexType&gt;
54 * &lt;complexContent&gt;
55 * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
56 * &lt;sequence&gt;
57 * &lt;element name="matcherSet" type="{www.jalview.org/colours}FeatureMatcherSet"/&gt;
58 * &lt;/sequence&gt;
59 * &lt;attribute name="featureType" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
60 * &lt;/restriction&gt;
61 * &lt;/complexContent&gt;
62 * &lt;/complexType&gt;
63 * &lt;/element&gt;
64 * &lt;/sequence&gt;
65 * &lt;attribute name="schemeName" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
66 * &lt;/restriction&gt;
67 * &lt;/complexContent&gt;
68 * &lt;/complexType&gt;
73 @XmlAccessorType(XmlAccessType.FIELD)
74 @XmlType(name = "JalviewUserColours", namespace = "www.jalview.org/colours", propOrder = {
79 public class JalviewUserColours {
81 @XmlElement(name = "Version", namespace = "")
82 protected String version;
83 @XmlElement(namespace = "")
84 protected List<JalviewUserColours.Colour> colour;
85 @XmlElement(namespace = "")
86 protected List<JalviewUserColours.Filter> filter;
87 @XmlAttribute(name = "schemeName")
88 protected String schemeName;
91 * Gets the value of the version property.
98 public String getVersion() {
103 * Sets the value of the version property.
110 public void setVersion(String value) {
111 this.version = value;
115 * Gets the value of the colour property.
118 * This accessor method returns a reference to the live list,
119 * not a snapshot. Therefore any modification you make to the
120 * returned list will be present inside the JAXB object.
121 * This is why there is not a <CODE>set</CODE> method for the colour property.
124 * For example, to add a new item, do as follows:
126 * getColour().add(newItem);
131 * Objects of the following type(s) are allowed in the list
132 * {@link JalviewUserColours.Colour }
136 public List<JalviewUserColours.Colour> getColour() {
137 if (colour == null) {
138 colour = new ArrayList<JalviewUserColours.Colour>();
144 * Gets the value of the filter property.
147 * This accessor method returns a reference to the live list,
148 * not a snapshot. Therefore any modification you make to the
149 * returned list will be present inside the JAXB object.
150 * This is why there is not a <CODE>set</CODE> method for the filter property.
153 * For example, to add a new item, do as follows:
155 * getFilter().add(newItem);
160 * Objects of the following type(s) are allowed in the list
161 * {@link JalviewUserColours.Filter }
165 public List<JalviewUserColours.Filter> getFilter() {
166 if (filter == null) {
167 filter = new ArrayList<JalviewUserColours.Filter>();
173 * Gets the value of the schemeName property.
180 public String getSchemeName() {
185 * Sets the value of the schemeName property.
192 public void setSchemeName(String value) {
193 this.schemeName = value;
198 * <p>Java class for anonymous complex type.
200 * <p>The following schema fragment specifies the expected content contained within this class.
203 * &lt;complexType&gt;
204 * &lt;complexContent&gt;
205 * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
206 * &lt;sequence&gt;
207 * &lt;element name="attributeName" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="2" minOccurs="0"/&gt;
208 * &lt;/sequence&gt;
209 * &lt;attribute name="Name" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
210 * &lt;attribute name="RGB" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
211 * &lt;attribute name="minRGB" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
212 * &lt;attribute name="noValueColour" type="{www.jalview.org/colours}NoValueColour" default="Min" /&gt;
213 * &lt;attribute name="threshType" type="{www.jalview.org/colours}ThresholdType" /&gt;
214 * &lt;attribute name="threshold" type="{http://www.w3.org/2001/XMLSchema}float" /&gt;
215 * &lt;attribute name="max" type="{http://www.w3.org/2001/XMLSchema}float" /&gt;
216 * &lt;attribute name="min" type="{http://www.w3.org/2001/XMLSchema}float" /&gt;
217 * &lt;attribute name="colourByLabel" type="{http://www.w3.org/2001/XMLSchema}boolean" /&gt;
218 * &lt;attribute name="autoScale" type="{http://www.w3.org/2001/XMLSchema}boolean" /&gt;
219 * &lt;/restriction&gt;
220 * &lt;/complexContent&gt;
221 * &lt;/complexType&gt;
226 @XmlAccessorType(XmlAccessType.FIELD)
227 @XmlType(name = "", propOrder = {
230 public static class Colour {
232 @XmlElement(namespace = "")
233 protected List<String> attributeName;
234 @XmlAttribute(name = "Name")
235 protected String name;
236 @XmlAttribute(name = "RGB", required = true)
237 protected String rgb;
238 @XmlAttribute(name = "minRGB")
239 protected String minRGB;
240 @XmlAttribute(name = "noValueColour")
241 protected NoValueColour noValueColour;
242 @XmlAttribute(name = "threshType")
243 protected ThresholdType threshType;
244 @XmlAttribute(name = "threshold")
245 protected Float threshold;
246 @XmlAttribute(name = "max")
248 @XmlAttribute(name = "min")
250 @XmlAttribute(name = "colourByLabel")
251 protected Boolean colourByLabel;
252 @XmlAttribute(name = "autoScale")
253 protected Boolean autoScale;
256 * Gets the value of the attributeName property.
259 * This accessor method returns a reference to the live list,
260 * not a snapshot. Therefore any modification you make to the
261 * returned list will be present inside the JAXB object.
262 * This is why there is not a <CODE>set</CODE> method for the attributeName property.
265 * For example, to add a new item, do as follows:
267 * getAttributeName().add(newItem);
272 * Objects of the following type(s) are allowed in the list
277 public List<String> getAttributeName() {
278 if (attributeName == null) {
279 attributeName = new ArrayList<String>();
281 return this.attributeName;
285 * Gets the value of the name property.
292 public String getName() {
297 * Sets the value of the name property.
304 public void setName(String value) {
309 * Gets the value of the rgb property.
316 public String getRGB() {
321 * Sets the value of the rgb property.
328 public void setRGB(String value) {
333 * Gets the value of the minRGB property.
340 public String getMinRGB() {
345 * Sets the value of the minRGB property.
352 public void setMinRGB(String value) {
357 * Gets the value of the noValueColour property.
361 * {@link NoValueColour }
364 public NoValueColour getNoValueColour() {
365 if (noValueColour == null) {
366 return NoValueColour.MIN;
368 return noValueColour;
373 * Sets the value of the noValueColour property.
377 * {@link NoValueColour }
380 public void setNoValueColour(NoValueColour value) {
381 this.noValueColour = value;
385 * Gets the value of the threshType property.
389 * {@link ThresholdType }
392 public ThresholdType getThreshType() {
397 * Sets the value of the threshType property.
401 * {@link ThresholdType }
404 public void setThreshType(ThresholdType value) {
405 this.threshType = value;
409 * Gets the value of the threshold property.
416 public Float getThreshold() {
421 * Sets the value of the threshold property.
428 public void setThreshold(Float value) {
429 this.threshold = value;
433 * Gets the value of the max property.
440 public Float getMax() {
445 * Sets the value of the max property.
452 public void setMax(Float value) {
457 * Gets the value of the min property.
464 public Float getMin() {
469 * Sets the value of the min property.
476 public void setMin(Float value) {
481 * Gets the value of the colourByLabel property.
488 public Boolean isColourByLabel() {
489 return colourByLabel;
493 * Sets the value of the colourByLabel property.
500 public void setColourByLabel(Boolean value) {
501 this.colourByLabel = value;
505 * Gets the value of the autoScale property.
512 public Boolean isAutoScale() {
517 * Sets the value of the autoScale property.
524 public void setAutoScale(Boolean value) {
525 this.autoScale = value;
532 * <p>Java class for anonymous complex type.
534 * <p>The following schema fragment specifies the expected content contained within this class.
537 * &lt;complexType&gt;
538 * &lt;complexContent&gt;
539 * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
540 * &lt;sequence&gt;
541 * &lt;element name="matcherSet" type="{www.jalview.org/colours}FeatureMatcherSet"/&gt;
542 * &lt;/sequence&gt;
543 * &lt;attribute name="featureType" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
544 * &lt;/restriction&gt;
545 * &lt;/complexContent&gt;
546 * &lt;/complexType&gt;
551 @XmlAccessorType(XmlAccessType.FIELD)
552 @XmlType(name = "", propOrder = {
555 public static class Filter {
557 @XmlElement(namespace = "", required = true)
558 protected FeatureMatcherSet matcherSet;
559 @XmlAttribute(name = "featureType", required = true)
560 protected String featureType;
563 * Gets the value of the matcherSet property.
567 * {@link FeatureMatcherSet }
570 public FeatureMatcherSet getMatcherSet() {
575 * Sets the value of the matcherSet property.
579 * {@link FeatureMatcherSet }
582 public void setMatcherSet(FeatureMatcherSet value) {
583 this.matcherSet = value;
587 * Gets the value of the featureType property.
594 public String getFeatureType() {
599 * Sets the value of the featureType property.
606 public void setFeatureType(String value) {
607 this.featureType = value;