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.XmlType;
21 * <p>Java class for JalviewUserColours complex type.
23 * <p>The following schema fragment specifies the expected content contained within this class.
26 * <complexType name="JalviewUserColours">
28 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
30 * <element name="Version" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
31 * <element name="colour" maxOccurs="unbounded" minOccurs="0">
34 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
36 * <element name="attributeName" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="2" minOccurs="0"/>
38 * <attribute name="Name" type="{http://www.w3.org/2001/XMLSchema}string" />
39 * <attribute name="RGB" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
40 * <attribute name="minRGB" type="{http://www.w3.org/2001/XMLSchema}string" />
41 * <attribute name="noValueColour" type="{www.jalview.org/colours}NoValueColour" default="Min" />
42 * <attribute name="threshType" type="{www.jalview.org/colours}ThresholdType" />
43 * <attribute name="threshold" type="{http://www.w3.org/2001/XMLSchema}float" />
44 * <attribute name="max" type="{http://www.w3.org/2001/XMLSchema}float" />
45 * <attribute name="min" type="{http://www.w3.org/2001/XMLSchema}float" />
46 * <attribute name="colourByLabel" type="{http://www.w3.org/2001/XMLSchema}boolean" />
47 * <attribute name="autoScale" type="{http://www.w3.org/2001/XMLSchema}boolean" />
49 * </complexContent>
52 * <element name="filter" maxOccurs="unbounded" minOccurs="0">
55 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
57 * <element name="matcherSet" type="{www.jalview.org/colours}FeatureMatcherSet"/>
59 * <attribute name="featureType" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
61 * </complexContent>
65 * <attribute name="schemeName" type="{http://www.w3.org/2001/XMLSchema}string" />
67 * </complexContent>
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.
204 * <complexContent>
205 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
207 * <element name="attributeName" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="2" minOccurs="0"/>
209 * <attribute name="Name" type="{http://www.w3.org/2001/XMLSchema}string" />
210 * <attribute name="RGB" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
211 * <attribute name="minRGB" type="{http://www.w3.org/2001/XMLSchema}string" />
212 * <attribute name="noValueColour" type="{www.jalview.org/colours}NoValueColour" default="Min" />
213 * <attribute name="threshType" type="{www.jalview.org/colours}ThresholdType" />
214 * <attribute name="threshold" type="{http://www.w3.org/2001/XMLSchema}float" />
215 * <attribute name="max" type="{http://www.w3.org/2001/XMLSchema}float" />
216 * <attribute name="min" type="{http://www.w3.org/2001/XMLSchema}float" />
217 * <attribute name="colourByLabel" type="{http://www.w3.org/2001/XMLSchema}boolean" />
218 * <attribute name="autoScale" type="{http://www.w3.org/2001/XMLSchema}boolean" />
220 * </complexContent>
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.
538 * <complexContent>
539 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
541 * <element name="matcherSet" type="{www.jalview.org/colours}FeatureMatcherSet"/>
543 * <attribute name="featureType" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
545 * </complexContent>
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;