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.XmlType;
19 * <p>Java class for JalviewUserColours complex type.
21 * <p>The following schema fragment specifies the expected content
22 * contained within this class.
24 * <pre> &lt;complexType name="JalviewUserColours"&gt;
25 * &lt;complexContent&gt; &lt;restriction
26 * base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
27 * &lt;sequence&gt; &lt;element name="Version"
28 * type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/&gt;
29 * &lt;element name="colour" maxOccurs="unbounded" minOccurs="0"&gt;
30 * &lt;complexType&gt; &lt;complexContent&gt;
31 * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
32 * &lt;sequence&gt; &lt;element name="attributeName"
33 * type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="2"
34 * minOccurs="0"/&gt; &lt;/sequence&gt; &lt;attribute
35 * name="Name" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
36 * &lt;attribute name="RGB" use="required"
37 * type="{http://www.w3.org/2001/XMLSchema}string" /&gt; &lt;attribute
38 * name="minRGB" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
39 * &lt;attribute name="noValueColour"
40 * type="{www.jalview.org/colours}NoValueColour" default="Min" /&gt;
41 * &lt;attribute name="threshType"
42 * type="{www.jalview.org/colours}ThresholdType" /&gt; &lt;attribute
43 * name="threshold" type="{http://www.w3.org/2001/XMLSchema}float" /&gt;
44 * &lt;attribute name="max" type="{http://www.w3.org/2001/XMLSchema}float"
45 * /&gt; &lt;attribute name="min"
46 * type="{http://www.w3.org/2001/XMLSchema}float" /&gt; &lt;attribute
47 * name="colourByLabel" type="{http://www.w3.org/2001/XMLSchema}boolean"
48 * /&gt; &lt;attribute name="autoScale"
49 * type="{http://www.w3.org/2001/XMLSchema}boolean" /&gt;
50 * &lt;/restriction&gt; &lt;/complexContent&gt;
51 * &lt;/complexType&gt; &lt;/element&gt; &lt;element
52 * name="filter" maxOccurs="unbounded" minOccurs="0"&gt;
53 * &lt;complexType&gt; &lt;complexContent&gt;
54 * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
55 * &lt;sequence&gt; &lt;element name="matcherSet"
56 * type="{www.jalview.org/colours}FeatureMatcherSet"/&gt;
57 * &lt;/sequence&gt; &lt;attribute name="featureType" use="required"
58 * type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
59 * &lt;/restriction&gt; &lt;/complexContent&gt;
60 * &lt;/complexType&gt; &lt;/element&gt;
61 * &lt;/sequence&gt; &lt;attribute name="schemeName"
62 * type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
63 * &lt;/restriction&gt; &lt;/complexContent&gt;
64 * &lt;/complexType&gt; </pre>
68 @XmlAccessorType(XmlAccessType.FIELD)
70 name = "JalviewUserColours",
71 namespace = "www.jalview.org/colours",
73 { "version", "colour", "filter" })
74 public class JalviewUserColours
77 @XmlElement(name = "Version", namespace = "")
78 protected String version;
80 @XmlElement(namespace = "")
81 protected List<JalviewUserColours.Colour> colour;
83 @XmlElement(namespace = "")
84 protected List<JalviewUserColours.Filter> filter;
86 @XmlAttribute(name = "schemeName")
87 protected String schemeName;
90 * Gets the value of the version property.
92 * @return possible object is {@link String }
95 public String getVersion()
101 * Sets the value of the version property.
104 * allowed object is {@link String }
107 public void setVersion(String value)
109 this.version = value;
113 * Gets the value of the colour property.
115 * <p> This accessor method returns a reference to the live list, not a
116 * snapshot. Therefore any modification you make to the returned list will be
117 * present inside the JAXB object. This is why there is not a
118 * <CODE>set</CODE> method for the colour property.
120 * <p> For example, to add a new item, do as follows: <pre>
121 * getColour().add(newItem); </pre>
124 * <p> Objects of the following type(s) are allowed in the list
125 * {@link JalviewUserColours.Colour }
129 public List<JalviewUserColours.Colour> getColour()
133 colour = new ArrayList<JalviewUserColours.Colour>();
139 * Gets the value of the filter property.
141 * <p> This accessor method returns a reference to the live list, not a
142 * snapshot. Therefore any modification you make to the returned list will be
143 * present inside the JAXB object. This is why there is not a
144 * <CODE>set</CODE> method for the filter property.
146 * <p> For example, to add a new item, do as follows: <pre>
147 * getFilter().add(newItem); </pre>
150 * <p> Objects of the following type(s) are allowed in the list
151 * {@link JalviewUserColours.Filter }
155 public List<JalviewUserColours.Filter> getFilter()
159 filter = new ArrayList<JalviewUserColours.Filter>();
165 * Gets the value of the schemeName property.
167 * @return possible object is {@link String }
170 public String getSchemeName()
176 * Sets the value of the schemeName property.
179 * allowed object is {@link String }
182 public void setSchemeName(String value)
184 this.schemeName = value;
188 * <p>Java class for anonymous complex type.
190 * <p>The following schema fragment specifies the expected content
191 * contained within this class.
193 * <pre> &lt;complexType&gt; &lt;complexContent&gt;
194 * &lt;restriction
195 * base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
196 * &lt;sequence&gt; &lt;element name="attributeName"
197 * type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="2"
198 * minOccurs="0"/&gt; &lt;/sequence&gt; &lt;attribute
199 * name="Name" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
200 * &lt;attribute name="RGB" use="required"
201 * type="{http://www.w3.org/2001/XMLSchema}string" /&gt; &lt;attribute
202 * name="minRGB" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
203 * &lt;attribute name="noValueColour"
204 * type="{www.jalview.org/colours}NoValueColour" default="Min" /&gt;
205 * &lt;attribute name="threshType"
206 * type="{www.jalview.org/colours}ThresholdType" /&gt; &lt;attribute
207 * name="threshold" type="{http://www.w3.org/2001/XMLSchema}float" /&gt;
208 * &lt;attribute name="max" type="{http://www.w3.org/2001/XMLSchema}float"
209 * /&gt; &lt;attribute name="min"
210 * type="{http://www.w3.org/2001/XMLSchema}float" /&gt; &lt;attribute
211 * name="colourByLabel" type="{http://www.w3.org/2001/XMLSchema}boolean"
212 * /&gt; &lt;attribute name="autoScale"
213 * type="{http://www.w3.org/2001/XMLSchema}boolean" /&gt;
214 * &lt;/restriction&gt; &lt;/complexContent&gt;
215 * &lt;/complexType&gt; </pre>
219 @XmlAccessorType(XmlAccessType.FIELD)
220 @XmlType(name = "", propOrder = { "attributeName" })
221 public static class Colour
224 @XmlElement(namespace = "")
225 protected List<String> attributeName;
227 @XmlAttribute(name = "Name")
228 protected String name;
230 @XmlAttribute(name = "RGB", required = true)
231 protected String rgb;
233 @XmlAttribute(name = "minRGB")
234 protected String minRGB;
236 @XmlAttribute(name = "noValueColour")
237 protected NoValueColour noValueColour;
239 @XmlAttribute(name = "threshType")
240 protected ThresholdType threshType;
242 @XmlAttribute(name = "threshold")
243 protected Float threshold;
245 @XmlAttribute(name = "max")
248 @XmlAttribute(name = "min")
251 @XmlAttribute(name = "colourByLabel")
252 protected Boolean colourByLabel;
254 @XmlAttribute(name = "autoScale")
255 protected Boolean autoScale;
258 * Gets the value of the attributeName property.
260 * <p> This accessor method returns a reference to the live list, not
261 * a snapshot. Therefore any modification you make to the returned list will
262 * be present inside the JAXB object. This is why there is not a
263 * <CODE>set</CODE> method for the attributeName property.
265 * <p> For example, to add a new item, do as follows: <pre>
266 * getAttributeName().add(newItem); </pre>
269 * <p> Objects of the following type(s) are allowed in the list
274 public List<String> getAttributeName()
276 if (attributeName == null)
278 attributeName = new ArrayList<String>();
280 return this.attributeName;
284 * Gets the value of the name property.
286 * @return possible object is {@link String }
289 public String getName()
295 * Sets the value of the name property.
298 * allowed object is {@link String }
301 public void setName(String value)
307 * Gets the value of the rgb property.
309 * @return possible object is {@link String }
312 public String getRGB()
318 * Sets the value of the rgb property.
321 * allowed object is {@link String }
324 public void setRGB(String value)
330 * Gets the value of the minRGB property.
332 * @return possible object is {@link String }
335 public String getMinRGB()
341 * Sets the value of the minRGB property.
344 * allowed object is {@link String }
347 public void setMinRGB(String value)
353 * Gets the value of the noValueColour property.
355 * @return possible object is {@link NoValueColour }
358 public NoValueColour getNoValueColour()
360 if (noValueColour == null)
362 return NoValueColour.MIN;
366 return noValueColour;
371 * Sets the value of the noValueColour property.
374 * allowed object is {@link NoValueColour }
377 public void setNoValueColour(NoValueColour value)
379 this.noValueColour = value;
383 * Gets the value of the threshType property.
385 * @return possible object is {@link ThresholdType }
388 public ThresholdType getThreshType()
394 * Sets the value of the threshType property.
397 * allowed object is {@link ThresholdType }
400 public void setThreshType(ThresholdType value)
402 this.threshType = value;
406 * Gets the value of the threshold property.
408 * @return possible object is {@link Float }
411 public Float getThreshold()
417 * Sets the value of the threshold property.
420 * allowed object is {@link Float }
423 public void setThreshold(Float value)
425 this.threshold = value;
429 * Gets the value of the max property.
431 * @return possible object is {@link Float }
434 public Float getMax()
440 * Sets the value of the max property.
443 * allowed object is {@link Float }
446 public void setMax(Float value)
452 * Gets the value of the min property.
454 * @return possible object is {@link Float }
457 public Float getMin()
463 * Sets the value of the min property.
466 * allowed object is {@link Float }
469 public void setMin(Float value)
475 * Gets the value of the colourByLabel property.
477 * @return possible object is {@link Boolean }
480 public Boolean isColourByLabel()
482 return colourByLabel;
486 * Sets the value of the colourByLabel property.
489 * allowed object is {@link Boolean }
492 public void setColourByLabel(Boolean value)
494 this.colourByLabel = value;
498 * Gets the value of the autoScale property.
500 * @return possible object is {@link Boolean }
503 public Boolean isAutoScale()
509 * Sets the value of the autoScale property.
512 * allowed object is {@link Boolean }
515 public void setAutoScale(Boolean value)
517 this.autoScale = value;
523 * <p>Java class for anonymous complex type.
525 * <p>The following schema fragment specifies the expected content
526 * contained within this class.
528 * <pre> &lt;complexType&gt; &lt;complexContent&gt;
529 * &lt;restriction
530 * base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
531 * &lt;sequence&gt; &lt;element name="matcherSet"
532 * type="{www.jalview.org/colours}FeatureMatcherSet"/&gt;
533 * &lt;/sequence&gt; &lt;attribute name="featureType"
534 * use="required" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
535 * &lt;/restriction&gt; &lt;/complexContent&gt;
536 * &lt;/complexType&gt; </pre>
540 @XmlAccessorType(XmlAccessType.FIELD)
541 @XmlType(name = "", propOrder = { "matcherSet" })
542 public static class Filter
545 @XmlElement(namespace = "", required = true)
546 protected FeatureMatcherSet matcherSet;
548 @XmlAttribute(name = "featureType", required = true)
549 protected String featureType;
552 * Gets the value of the matcherSet property.
554 * @return possible object is {@link FeatureMatcherSet }
557 public FeatureMatcherSet getMatcherSet()
563 * Sets the value of the matcherSet property.
566 * allowed object is {@link FeatureMatcherSet }
569 public void setMatcherSet(FeatureMatcherSet value)
571 this.matcherSet = value;
575 * Gets the value of the featureType property.
577 * @return possible object is {@link String }
580 public String getFeatureType()
586 * Sets the value of the featureType property.
589 * allowed object is {@link String }
592 public void setFeatureType(String value)
594 this.featureType = value;