X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Fjalview%2Fxml%2Fbinding%2Fjalview%2FJalviewUserColours.java;fp=src%2Fjalview%2Fxml%2Fbinding%2Fjalview%2FJalviewUserColours.java;h=e4b160fe64058b37916fd6dcd7ffe836eda45812;hb=03750f3a72c19b215f872bbdcf04585c463c6967;hp=b62cf157f25272a37d65cc6cf3151045770d4f87;hpb=bda60947eaabb464920b733509ace12e745f3910;p=jalview.git diff --git a/src/jalview/xml/binding/jalview/JalviewUserColours.java b/src/jalview/xml/binding/jalview/JalviewUserColours.java index b62cf15..e4b160f 100644 --- a/src/jalview/xml/binding/jalview/JalviewUserColours.java +++ b/src/jalview/xml/binding/jalview/JalviewUserColours.java @@ -2,10 +2,9 @@ // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802 // See http://java.sun.com/xml/jaxb // Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2023.03.17 at 05:31:44 PM GMT +// Generated on: 2023.05.13 at 06:58:41 PM BST // - package jalview.xml.binding.jalview; import java.util.ArrayList; @@ -16,11 +15,13 @@ import javax.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlType; - /** - *

Java class for JalviewUserColours complex type. + *

+ * Java class for JalviewUserColours complex type. * - *

The following schema fragment specifies the expected content contained within this class. + *

+ * The following schema fragment specifies the expected content contained within + * this class. * *

  * <complexType name="JalviewUserColours">
@@ -71,542 +72,556 @@ import javax.xml.bind.annotation.XmlType;
  * 
  */
 @XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "JalviewUserColours", namespace = "www.jalview.org/colours", propOrder = {
-    "version",
-    "colour",
-    "filter"
-})
-public class JalviewUserColours {
-
-    @XmlElement(name = "Version", namespace = "")
-    protected String version;
-    @XmlElement(namespace = "")
-    protected List colour;
+@XmlType(
+  name = "JalviewUserColours",
+  namespace = "www.jalview.org/colours",
+  propOrder =
+  { "version", "colour", "filter" })
+public class JalviewUserColours
+{
+
+  @XmlElement(name = "Version", namespace = "")
+  protected String version;
+
+  @XmlElement(namespace = "")
+  protected List colour;
+
+  @XmlElement(namespace = "")
+  protected List filter;
+
+  @XmlAttribute(name = "schemeName")
+  protected String schemeName;
+
+  /**
+   * Gets the value of the version property.
+   * 
+   * @return possible object is {@link String }
+   * 
+   */
+  public String getVersion()
+  {
+    return version;
+  }
+
+  /**
+   * Sets the value of the version property.
+   * 
+   * @param value
+   *          allowed object is {@link String }
+   * 
+   */
+  public void setVersion(String value)
+  {
+    this.version = value;
+  }
+
+  /**
+   * Gets the value of the colour property.
+   * 
+   * 

+ * This accessor method returns a reference to the live list, not a snapshot. + * Therefore any modification you make to the returned list will be present + * inside the JAXB object. This is why there is not a set method + * for the colour property. + * + *

+ * For example, to add a new item, do as follows: + * + *

+   * getColour().add(newItem);
+   * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link JalviewUserColours.Colour } + * + * + */ + public List getColour() + { + if (colour == null) + { + colour = new ArrayList(); + } + return this.colour; + } + + /** + * Gets the value of the filter property. + * + *

+ * This accessor method returns a reference to the live list, not a snapshot. + * Therefore any modification you make to the returned list will be present + * inside the JAXB object. This is why there is not a set method + * for the filter property. + * + *

+ * For example, to add a new item, do as follows: + * + *

+   * getFilter().add(newItem);
+   * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link JalviewUserColours.Filter } + * + * + */ + public List getFilter() + { + if (filter == null) + { + filter = new ArrayList(); + } + return this.filter; + } + + /** + * Gets the value of the schemeName property. + * + * @return possible object is {@link String } + * + */ + public String getSchemeName() + { + return schemeName; + } + + /** + * Sets the value of the schemeName property. + * + * @param value + * allowed object is {@link String } + * + */ + public void setSchemeName(String value) + { + this.schemeName = value; + } + + /** + *

+ * Java class for anonymous complex type. + * + *

+ * The following schema fragment specifies the expected content contained + * within this class. + * + *

+   * <complexType>
+   *   <complexContent>
+   *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+   *       <sequence>
+   *         <element name="attributeName" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="2" minOccurs="0"/>
+   *       </sequence>
+   *       <attribute name="Name" type="{http://www.w3.org/2001/XMLSchema}string" />
+   *       <attribute name="RGB" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
+   *       <attribute name="minRGB" type="{http://www.w3.org/2001/XMLSchema}string" />
+   *       <attribute name="noValueColour" type="{www.jalview.org/colours}NoValueColour" default="Min" />
+   *       <attribute name="threshType" type="{www.jalview.org/colours}ThresholdType" />
+   *       <attribute name="threshold" type="{http://www.w3.org/2001/XMLSchema}float" />
+   *       <attribute name="max" type="{http://www.w3.org/2001/XMLSchema}float" />
+   *       <attribute name="min" type="{http://www.w3.org/2001/XMLSchema}float" />
+   *       <attribute name="colourByLabel" type="{http://www.w3.org/2001/XMLSchema}boolean" />
+   *       <attribute name="autoScale" type="{http://www.w3.org/2001/XMLSchema}boolean" />
+   *     </restriction>
+   *   </complexContent>
+   * </complexType>
+   * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { "attributeName" }) + public static class Colour + { + @XmlElement(namespace = "") - protected List filter; - @XmlAttribute(name = "schemeName") - protected String schemeName; + protected List attributeName; + + @XmlAttribute(name = "Name") + protected String name; + + @XmlAttribute(name = "RGB", required = true) + protected String rgb; + + @XmlAttribute(name = "minRGB") + protected String minRGB; + + @XmlAttribute(name = "noValueColour") + protected NoValueColour noValueColour; + + @XmlAttribute(name = "threshType") + protected ThresholdType threshType; + + @XmlAttribute(name = "threshold") + protected Float threshold; + + @XmlAttribute(name = "max") + protected Float max; + + @XmlAttribute(name = "min") + protected Float min; + + @XmlAttribute(name = "colourByLabel") + protected Boolean colourByLabel; + + @XmlAttribute(name = "autoScale") + protected Boolean autoScale; /** - * Gets the value of the version property. + * Gets the value of the attributeName property. + * + *

+ * This accessor method returns a reference to the live list, not a + * snapshot. Therefore any modification you make to the returned list will + * be present inside the JAXB object. This is why there is not a + * set method for the attributeName property. + * + *

+ * For example, to add a new item, do as follows: + * + *

+     * getAttributeName().add(newItem);
+     * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list {@link String } + * * - * @return - * possible object is - * {@link String } - * */ - public String getVersion() { - return version; + public List getAttributeName() + { + if (attributeName == null) + { + attributeName = new ArrayList(); + } + return this.attributeName; } /** - * Sets the value of the version property. + * Gets the value of the name property. + * + * @return possible object is {@link String } + * + */ + public String getName() + { + return name; + } + + /** + * Sets the value of the name property. * * @param value - * allowed object is - * {@link String } - * + * allowed object is {@link String } + * */ - public void setVersion(String value) { - this.version = value; + public void setName(String value) + { + this.name = value; } /** - * Gets the value of the colour property. + * Gets the value of the rgb property. * - *

- * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the colour property. + * @return possible object is {@link String } * - *

- * For example, to add a new item, do as follows: - *

-     *    getColour().add(newItem);
-     * 
+ */ + public String getRGB() + { + return rgb; + } + + /** + * Sets the value of the rgb property. * + * @param value + * allowed object is {@link String } * - *

- * Objects of the following type(s) are allowed in the list - * {@link JalviewUserColours.Colour } + */ + public void setRGB(String value) + { + this.rgb = value; + } + + /** + * Gets the value of the minRGB property. * + * @return possible object is {@link String } * */ - public List getColour() { - if (colour == null) { - colour = new ArrayList(); - } - return this.colour; + public String getMinRGB() + { + return minRGB; } /** - * Gets the value of the filter property. + * Sets the value of the minRGB property. * - *

- * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the filter property. + * @param value + * allowed object is {@link String } * - *

- * For example, to add a new item, do as follows: - *

-     *    getFilter().add(newItem);
-     * 
+ */ + public void setMinRGB(String value) + { + this.minRGB = value; + } + + /** + * Gets the value of the noValueColour property. * + * @return possible object is {@link NoValueColour } * - *

- * Objects of the following type(s) are allowed in the list - * {@link JalviewUserColours.Filter } + */ + public NoValueColour getNoValueColour() + { + if (noValueColour == null) + { + return NoValueColour.MIN; + } + else + { + return noValueColour; + } + } + + /** + * Sets the value of the noValueColour property. * + * @param value + * allowed object is {@link NoValueColour } * */ - public List getFilter() { - if (filter == null) { - filter = new ArrayList(); - } - return this.filter; + public void setNoValueColour(NoValueColour value) + { + this.noValueColour = value; } /** - * Gets the value of the schemeName property. + * Gets the value of the threshType property. + * + * @return possible object is {@link ThresholdType } * - * @return - * possible object is - * {@link String } - * */ - public String getSchemeName() { - return schemeName; + public ThresholdType getThreshType() + { + return threshType; } /** - * Sets the value of the schemeName property. + * Sets the value of the threshType property. * * @param value - * allowed object is - * {@link String } - * + * allowed object is {@link ThresholdType } + * */ - public void setSchemeName(String value) { - this.schemeName = value; + public void setThreshType(ThresholdType value) + { + this.threshType = value; } + /** + * Gets the value of the threshold property. + * + * @return possible object is {@link Float } + * + */ + public Float getThreshold() + { + return threshold; + } /** - *

Java class for anonymous complex type. + * Sets the value of the threshold property. * - *

The following schema fragment specifies the expected content contained within this class. + * @param value + * allowed object is {@link Float } * - *

-     * <complexType>
-     *   <complexContent>
-     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-     *       <sequence>
-     *         <element name="attributeName" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="2" minOccurs="0"/>
-     *       </sequence>
-     *       <attribute name="Name" type="{http://www.w3.org/2001/XMLSchema}string" />
-     *       <attribute name="RGB" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
-     *       <attribute name="minRGB" type="{http://www.w3.org/2001/XMLSchema}string" />
-     *       <attribute name="noValueColour" type="{www.jalview.org/colours}NoValueColour" default="Min" />
-     *       <attribute name="threshType" type="{www.jalview.org/colours}ThresholdType" />
-     *       <attribute name="threshold" type="{http://www.w3.org/2001/XMLSchema}float" />
-     *       <attribute name="max" type="{http://www.w3.org/2001/XMLSchema}float" />
-     *       <attribute name="min" type="{http://www.w3.org/2001/XMLSchema}float" />
-     *       <attribute name="colourByLabel" type="{http://www.w3.org/2001/XMLSchema}boolean" />
-     *       <attribute name="autoScale" type="{http://www.w3.org/2001/XMLSchema}boolean" />
-     *     </restriction>
-     *   </complexContent>
-     * </complexType>
-     * 
+ */ + public void setThreshold(Float value) + { + this.threshold = value; + } + + /** + * Gets the value of the max property. + * + * @return possible object is {@link Float } + * + */ + public Float getMax() + { + return max; + } + + /** + * Sets the value of the max property. + * + * @param value + * allowed object is {@link Float } + * + */ + public void setMax(Float value) + { + this.max = value; + } + + /** + * Gets the value of the min property. * + * @return possible object is {@link Float } * */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "attributeName" - }) - public static class Colour { - - @XmlElement(namespace = "") - protected List attributeName; - @XmlAttribute(name = "Name") - protected String name; - @XmlAttribute(name = "RGB", required = true) - protected String rgb; - @XmlAttribute(name = "minRGB") - protected String minRGB; - @XmlAttribute(name = "noValueColour") - protected NoValueColour noValueColour; - @XmlAttribute(name = "threshType") - protected ThresholdType threshType; - @XmlAttribute(name = "threshold") - protected Float threshold; - @XmlAttribute(name = "max") - protected Float max; - @XmlAttribute(name = "min") - protected Float min; - @XmlAttribute(name = "colourByLabel") - protected Boolean colourByLabel; - @XmlAttribute(name = "autoScale") - protected Boolean autoScale; - - /** - * Gets the value of the attributeName property. - * - *

- * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the attributeName property. - * - *

- * For example, to add a new item, do as follows: - *

-         *    getAttributeName().add(newItem);
-         * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link String } - * - * - */ - public List getAttributeName() { - if (attributeName == null) { - attributeName = new ArrayList(); - } - return this.attributeName; - } - - /** - * Gets the value of the name property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getName() { - return name; - } - - /** - * Sets the value of the name property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setName(String value) { - this.name = value; - } - - /** - * Gets the value of the rgb property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getRGB() { - return rgb; - } - - /** - * Sets the value of the rgb property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setRGB(String value) { - this.rgb = value; - } - - /** - * Gets the value of the minRGB property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getMinRGB() { - return minRGB; - } - - /** - * Sets the value of the minRGB property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setMinRGB(String value) { - this.minRGB = value; - } - - /** - * Gets the value of the noValueColour property. - * - * @return - * possible object is - * {@link NoValueColour } - * - */ - public NoValueColour getNoValueColour() { - if (noValueColour == null) { - return NoValueColour.MIN; - } else { - return noValueColour; - } - } - - /** - * Sets the value of the noValueColour property. - * - * @param value - * allowed object is - * {@link NoValueColour } - * - */ - public void setNoValueColour(NoValueColour value) { - this.noValueColour = value; - } - - /** - * Gets the value of the threshType property. - * - * @return - * possible object is - * {@link ThresholdType } - * - */ - public ThresholdType getThreshType() { - return threshType; - } - - /** - * Sets the value of the threshType property. - * - * @param value - * allowed object is - * {@link ThresholdType } - * - */ - public void setThreshType(ThresholdType value) { - this.threshType = value; - } - - /** - * Gets the value of the threshold property. - * - * @return - * possible object is - * {@link Float } - * - */ - public Float getThreshold() { - return threshold; - } - - /** - * Sets the value of the threshold property. - * - * @param value - * allowed object is - * {@link Float } - * - */ - public void setThreshold(Float value) { - this.threshold = value; - } - - /** - * Gets the value of the max property. - * - * @return - * possible object is - * {@link Float } - * - */ - public Float getMax() { - return max; - } - - /** - * Sets the value of the max property. - * - * @param value - * allowed object is - * {@link Float } - * - */ - public void setMax(Float value) { - this.max = value; - } - - /** - * Gets the value of the min property. - * - * @return - * possible object is - * {@link Float } - * - */ - public Float getMin() { - return min; - } - - /** - * Sets the value of the min property. - * - * @param value - * allowed object is - * {@link Float } - * - */ - public void setMin(Float value) { - this.min = value; - } - - /** - * Gets the value of the colourByLabel property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public Boolean isColourByLabel() { - return colourByLabel; - } - - /** - * Sets the value of the colourByLabel property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setColourByLabel(Boolean value) { - this.colourByLabel = value; - } - - /** - * Gets the value of the autoScale property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public Boolean isAutoScale() { - return autoScale; - } - - /** - * Sets the value of the autoScale property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setAutoScale(Boolean value) { - this.autoScale = value; - } + public Float getMin() + { + return min; + } + /** + * Sets the value of the min property. + * + * @param value + * allowed object is {@link Float } + * + */ + public void setMin(Float value) + { + this.min = value; } + /** + * Gets the value of the colourByLabel property. + * + * @return possible object is {@link Boolean } + * + */ + public Boolean isColourByLabel() + { + return colourByLabel; + } /** - *

Java class for anonymous complex type. + * Sets the value of the colourByLabel property. * - *

The following schema fragment specifies the expected content contained within this class. + * @param value + * allowed object is {@link Boolean } * - *

-     * <complexType>
-     *   <complexContent>
-     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-     *       <sequence>
-     *         <element name="matcherSet" type="{www.jalview.org/colours}FeatureMatcherSet"/>
-     *       </sequence>
-     *       <attribute name="featureType" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
-     *     </restriction>
-     *   </complexContent>
-     * </complexType>
-     * 
+ */ + public void setColourByLabel(Boolean value) + { + this.colourByLabel = value; + } + + /** + * Gets the value of the autoScale property. + * + * @return possible object is {@link Boolean } + * + */ + public Boolean isAutoScale() + { + return autoScale; + } + + /** + * Sets the value of the autoScale property. + * + * @param value + * allowed object is {@link Boolean } + * + */ + public void setAutoScale(Boolean value) + { + this.autoScale = value; + } + + } + + /** + *

+ * Java class for anonymous complex type. + * + *

+ * The following schema fragment specifies the expected content contained + * within this class. + * + *

+   * <complexType>
+   *   <complexContent>
+   *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+   *       <sequence>
+   *         <element name="matcherSet" type="{www.jalview.org/colours}FeatureMatcherSet"/>
+   *       </sequence>
+   *       <attribute name="featureType" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
+   *     </restriction>
+   *   </complexContent>
+   * </complexType>
+   * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { "matcherSet" }) + public static class Filter + { + + @XmlElement(namespace = "", required = true) + protected FeatureMatcherSet matcherSet; + + @XmlAttribute(name = "featureType", required = true) + protected String featureType; + + /** + * Gets the value of the matcherSet property. + * + * @return possible object is {@link FeatureMatcherSet } + * + */ + public FeatureMatcherSet getMatcherSet() + { + return matcherSet; + } + + /** + * Sets the value of the matcherSet property. + * + * @param value + * allowed object is {@link FeatureMatcherSet } + * + */ + public void setMatcherSet(FeatureMatcherSet value) + { + this.matcherSet = value; + } + + /** + * Gets the value of the featureType property. * + * @return possible object is {@link String } * */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "matcherSet" - }) - public static class Filter { - - @XmlElement(namespace = "", required = true) - protected FeatureMatcherSet matcherSet; - @XmlAttribute(name = "featureType", required = true) - protected String featureType; - - /** - * Gets the value of the matcherSet property. - * - * @return - * possible object is - * {@link FeatureMatcherSet } - * - */ - public FeatureMatcherSet getMatcherSet() { - return matcherSet; - } - - /** - * Sets the value of the matcherSet property. - * - * @param value - * allowed object is - * {@link FeatureMatcherSet } - * - */ - public void setMatcherSet(FeatureMatcherSet value) { - this.matcherSet = value; - } - - /** - * Gets the value of the featureType property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getFeatureType() { - return featureType; - } - - /** - * Sets the value of the featureType property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setFeatureType(String value) { - this.featureType = value; - } + public String getFeatureType() + { + return featureType; + } + /** + * Sets the value of the featureType property. + * + * @param value + * allowed object is {@link String } + * + */ + public void setFeatureType(String value) + { + this.featureType = value; } + } + }