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.05.13 at 06:58:41 PM 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;
20 * Java class for JalviewUserColours complex type.
23 * The following schema fragment specifies the expected content contained within
27 * <complexType name="JalviewUserColours">
29 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
31 * <element name="Version" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
32 * <element name="colour" maxOccurs="unbounded" minOccurs="0">
35 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
37 * <element name="attributeName" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="2" minOccurs="0"/>
39 * <attribute name="Name" type="{http://www.w3.org/2001/XMLSchema}string" />
40 * <attribute name="RGB" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
41 * <attribute name="minRGB" type="{http://www.w3.org/2001/XMLSchema}string" />
42 * <attribute name="noValueColour" type="{www.jalview.org/colours}NoValueColour" default="Min" />
43 * <attribute name="threshType" type="{www.jalview.org/colours}ThresholdType" />
44 * <attribute name="threshold" type="{http://www.w3.org/2001/XMLSchema}float" />
45 * <attribute name="max" type="{http://www.w3.org/2001/XMLSchema}float" />
46 * <attribute name="min" type="{http://www.w3.org/2001/XMLSchema}float" />
47 * <attribute name="colourByLabel" type="{http://www.w3.org/2001/XMLSchema}boolean" />
48 * <attribute name="autoScale" type="{http://www.w3.org/2001/XMLSchema}boolean" />
50 * </complexContent>
53 * <element name="filter" maxOccurs="unbounded" minOccurs="0">
56 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
58 * <element name="matcherSet" type="{www.jalview.org/colours}FeatureMatcherSet"/>
60 * <attribute name="featureType" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
62 * </complexContent>
66 * <attribute name="schemeName" type="{http://www.w3.org/2001/XMLSchema}string" />
68 * </complexContent>
74 @XmlAccessorType(XmlAccessType.FIELD)
76 name = "JalviewUserColours",
77 namespace = "www.jalview.org/colours",
79 { "version", "colour", "filter" })
80 public class JalviewUserColours
83 @XmlElement(name = "Version", namespace = "")
84 protected String version;
86 @XmlElement(namespace = "")
87 protected List<JalviewUserColours.Colour> colour;
89 @XmlElement(namespace = "")
90 protected List<JalviewUserColours.Filter> filter;
92 @XmlAttribute(name = "schemeName")
93 protected String schemeName;
96 * Gets the value of the version property.
98 * @return possible object is {@link String }
101 public String getVersion()
107 * Sets the value of the version property.
110 * allowed object is {@link String }
113 public void setVersion(String value)
115 this.version = value;
119 * Gets the value of the colour property.
122 * This accessor method returns a reference to the live list, not a snapshot.
123 * Therefore any modification you make to the returned list will be present
124 * inside the JAXB object. This is why there is not a <CODE>set</CODE> method
125 * for the colour property.
128 * For example, to add a new item, do as follows:
131 * getColour().add(newItem);
136 * Objects of the following type(s) are allowed in the list
137 * {@link JalviewUserColours.Colour }
141 public List<JalviewUserColours.Colour> getColour()
145 colour = new ArrayList<JalviewUserColours.Colour>();
151 * Gets the value of the filter property.
154 * This accessor method returns a reference to the live list, not a snapshot.
155 * Therefore any modification you make to the returned list will be present
156 * inside the JAXB object. This is why there is not a <CODE>set</CODE> method
157 * for the filter property.
160 * For example, to add a new item, do as follows:
163 * getFilter().add(newItem);
168 * Objects of the following type(s) are allowed in the list
169 * {@link JalviewUserColours.Filter }
173 public List<JalviewUserColours.Filter> getFilter()
177 filter = new ArrayList<JalviewUserColours.Filter>();
183 * Gets the value of the schemeName property.
185 * @return possible object is {@link String }
188 public String getSchemeName()
194 * Sets the value of the schemeName property.
197 * allowed object is {@link String }
200 public void setSchemeName(String value)
202 this.schemeName = value;
207 * Java class for anonymous complex type.
210 * The following schema fragment specifies the expected content contained
215 * <complexContent>
216 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
218 * <element name="attributeName" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="2" minOccurs="0"/>
220 * <attribute name="Name" type="{http://www.w3.org/2001/XMLSchema}string" />
221 * <attribute name="RGB" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
222 * <attribute name="minRGB" type="{http://www.w3.org/2001/XMLSchema}string" />
223 * <attribute name="noValueColour" type="{www.jalview.org/colours}NoValueColour" default="Min" />
224 * <attribute name="threshType" type="{www.jalview.org/colours}ThresholdType" />
225 * <attribute name="threshold" type="{http://www.w3.org/2001/XMLSchema}float" />
226 * <attribute name="max" type="{http://www.w3.org/2001/XMLSchema}float" />
227 * <attribute name="min" type="{http://www.w3.org/2001/XMLSchema}float" />
228 * <attribute name="colourByLabel" type="{http://www.w3.org/2001/XMLSchema}boolean" />
229 * <attribute name="autoScale" type="{http://www.w3.org/2001/XMLSchema}boolean" />
231 * </complexContent>
237 @XmlAccessorType(XmlAccessType.FIELD)
238 @XmlType(name = "", propOrder = { "attributeName" })
239 public static class Colour
242 @XmlElement(namespace = "")
243 protected List<String> attributeName;
245 @XmlAttribute(name = "Name")
246 protected String name;
248 @XmlAttribute(name = "RGB", required = true)
249 protected String rgb;
251 @XmlAttribute(name = "minRGB")
252 protected String minRGB;
254 @XmlAttribute(name = "noValueColour")
255 protected NoValueColour noValueColour;
257 @XmlAttribute(name = "threshType")
258 protected ThresholdType threshType;
260 @XmlAttribute(name = "threshold")
261 protected Float threshold;
263 @XmlAttribute(name = "max")
266 @XmlAttribute(name = "min")
269 @XmlAttribute(name = "colourByLabel")
270 protected Boolean colourByLabel;
272 @XmlAttribute(name = "autoScale")
273 protected Boolean autoScale;
276 * Gets the value of the attributeName property.
279 * This accessor method returns a reference to the live list, not a
280 * snapshot. Therefore any modification you make to the returned list will
281 * be present inside the JAXB object. This is why there is not a
282 * <CODE>set</CODE> method for the attributeName property.
285 * For example, to add a new item, do as follows:
288 * getAttributeName().add(newItem);
293 * Objects of the following type(s) are allowed in the list {@link String }
297 public List<String> getAttributeName()
299 if (attributeName == null)
301 attributeName = new ArrayList<String>();
303 return this.attributeName;
307 * Gets the value of the name property.
309 * @return possible object is {@link String }
312 public String getName()
318 * Sets the value of the name property.
321 * allowed object is {@link String }
324 public void setName(String value)
330 * Gets the value of the rgb property.
332 * @return possible object is {@link String }
335 public String getRGB()
341 * Sets the value of the rgb property.
344 * allowed object is {@link String }
347 public void setRGB(String value)
353 * Gets the value of the minRGB property.
355 * @return possible object is {@link String }
358 public String getMinRGB()
364 * Sets the value of the minRGB property.
367 * allowed object is {@link String }
370 public void setMinRGB(String value)
376 * Gets the value of the noValueColour property.
378 * @return possible object is {@link NoValueColour }
381 public NoValueColour getNoValueColour()
383 if (noValueColour == null)
385 return NoValueColour.MIN;
389 return noValueColour;
394 * Sets the value of the noValueColour property.
397 * allowed object is {@link NoValueColour }
400 public void setNoValueColour(NoValueColour value)
402 this.noValueColour = value;
406 * Gets the value of the threshType property.
408 * @return possible object is {@link ThresholdType }
411 public ThresholdType getThreshType()
417 * Sets the value of the threshType property.
420 * allowed object is {@link ThresholdType }
423 public void setThreshType(ThresholdType value)
425 this.threshType = value;
429 * Gets the value of the threshold property.
431 * @return possible object is {@link Float }
434 public Float getThreshold()
440 * Sets the value of the threshold property.
443 * allowed object is {@link Float }
446 public void setThreshold(Float value)
448 this.threshold = value;
452 * Gets the value of the max property.
454 * @return possible object is {@link Float }
457 public Float getMax()
463 * Sets the value of the max property.
466 * allowed object is {@link Float }
469 public void setMax(Float value)
475 * Gets the value of the min property.
477 * @return possible object is {@link Float }
480 public Float getMin()
486 * Sets the value of the min property.
489 * allowed object is {@link Float }
492 public void setMin(Float value)
498 * Gets the value of the colourByLabel property.
500 * @return possible object is {@link Boolean }
503 public Boolean isColourByLabel()
505 return colourByLabel;
509 * Sets the value of the colourByLabel property.
512 * allowed object is {@link Boolean }
515 public void setColourByLabel(Boolean value)
517 this.colourByLabel = value;
521 * Gets the value of the autoScale property.
523 * @return possible object is {@link Boolean }
526 public Boolean isAutoScale()
532 * Sets the value of the autoScale property.
535 * allowed object is {@link Boolean }
538 public void setAutoScale(Boolean value)
540 this.autoScale = value;
547 * Java class for anonymous complex type.
550 * The following schema fragment specifies the expected content contained
555 * <complexContent>
556 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
558 * <element name="matcherSet" type="{www.jalview.org/colours}FeatureMatcherSet"/>
560 * <attribute name="featureType" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
562 * </complexContent>
568 @XmlAccessorType(XmlAccessType.FIELD)
569 @XmlType(name = "", propOrder = { "matcherSet" })
570 public static class Filter
573 @XmlElement(namespace = "", required = true)
574 protected FeatureMatcherSet matcherSet;
576 @XmlAttribute(name = "featureType", required = true)
577 protected String featureType;
580 * Gets the value of the matcherSet property.
582 * @return possible object is {@link FeatureMatcherSet }
585 public FeatureMatcherSet getMatcherSet()
591 * Sets the value of the matcherSet property.
594 * allowed object is {@link FeatureMatcherSet }
597 public void setMatcherSet(FeatureMatcherSet value)
599 this.matcherSet = value;
603 * Gets the value of the featureType property.
605 * @return possible object is {@link String }
608 public String getFeatureType()
614 * Sets the value of the featureType property.
617 * allowed object is {@link String }
620 public void setFeatureType(String value)
622 this.featureType = value;