JAL-3438 spotless for 2.11.2.0
[jalview.git] / src / jalview / xml / binding / jalview / FeatureMatcherSet.java
index 4c0848f..d2bdaaa 100644 (file)
@@ -5,7 +5,6 @@
 // Generated on: 2021.08.30 at 11:05:22 AM BST 
 //
 
-
 package jalview.xml.binding.jalview;
 
 import java.util.ArrayList;
@@ -16,177 +15,167 @@ import javax.xml.bind.annotation.XmlAttribute;
 import javax.xml.bind.annotation.XmlElement;
 import javax.xml.bind.annotation.XmlType;
 
-
 /**
  * A feature match condition, which may be simple or compound
  * 
  * <p>Java class for FeatureMatcherSet complex type.
  * 
- * <p>The following schema fragment specifies the expected content contained within this class.
+ * <p>The following schema fragment specifies the expected content
+ * contained within this class.
  * 
- * <pre>
- * <complexType name="FeatureMatcherSet">
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <choice>
- *         <element name="matchCondition" type="{www.jalview.org/colours}FeatureMatcher"/>
- *         <element name="compoundMatcher">
- *           <complexType>
- *             <complexContent>
- *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *                 <sequence>
- *                   <element name="matcherSet" type="{www.jalview.org/colours}FeatureMatcherSet" maxOccurs="2" minOccurs="2"/>
- *                 </sequence>
- *                 <attribute name="and" use="required" type="{http://www.w3.org/2001/XMLSchema}boolean" />
- *               </restriction>
- *             </complexContent>
- *           </complexType>
- *         </element>
- *       </choice>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * </pre>
+ * <pre> <complexType name="FeatureMatcherSet">
+ * <complexContent> <restriction
+ * base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <choice> <element name="matchCondition"
+ * type="{www.jalview.org/colours}FeatureMatcher"/> <element
+ * name="compoundMatcher"> <complexType>
+ * <complexContent> <restriction
+ * base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence> <element name="matcherSet"
+ * type="{www.jalview.org/colours}FeatureMatcherSet" maxOccurs="2"
+ * minOccurs="2"/> </sequence> <attribute name="and"
+ * use="required" type="{http://www.w3.org/2001/XMLSchema}boolean" />
+ * </restriction> </complexContent>
+ * </complexType> </element> </choice>
+ * </restriction> </complexContent>
+ * </complexType> </pre>
  * 
  * 
  */
 @XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "FeatureMatcherSet", namespace = "www.jalview.org/colours", propOrder = {
-    "matchCondition",
-    "compoundMatcher"
-})
-public class FeatureMatcherSet {
-
-    @XmlElement(namespace = "")
-    protected FeatureMatcher matchCondition;
-    @XmlElement(namespace = "")
-    protected FeatureMatcherSet.CompoundMatcher compoundMatcher;
+@XmlType(
+  name = "FeatureMatcherSet",
+  namespace = "www.jalview.org/colours",
+  propOrder =
+  { "matchCondition", "compoundMatcher" })
+public class FeatureMatcherSet
+{
+
+  @XmlElement(namespace = "")
+  protected FeatureMatcher matchCondition;
+
+  @XmlElement(namespace = "")
+  protected FeatureMatcherSet.CompoundMatcher compoundMatcher;
+
+  /**
+   * Gets the value of the matchCondition property.
+   * 
+   * @return possible object is {@link FeatureMatcher }
+   * 
+   */
+  public FeatureMatcher getMatchCondition()
+  {
+    return matchCondition;
+  }
+
+  /**
+   * Sets the value of the matchCondition property.
+   * 
+   * @param value
+   *          allowed object is {@link FeatureMatcher }
+   * 
+   */
+  public void setMatchCondition(FeatureMatcher value)
+  {
+    this.matchCondition = value;
+  }
+
+  /**
+   * Gets the value of the compoundMatcher property.
+   * 
+   * @return possible object is {@link FeatureMatcherSet.CompoundMatcher }
+   * 
+   */
+  public FeatureMatcherSet.CompoundMatcher getCompoundMatcher()
+  {
+    return compoundMatcher;
+  }
+
+  /**
+   * Sets the value of the compoundMatcher property.
+   * 
+   * @param value
+   *          allowed object is {@link FeatureMatcherSet.CompoundMatcher }
+   * 
+   */
+  public void setCompoundMatcher(FeatureMatcherSet.CompoundMatcher value)
+  {
+    this.compoundMatcher = value;
+  }
+
+  /**
+   * <p>Java class for anonymous complex type.
+   * 
+   * <p>The following schema fragment specifies the expected content
+   * contained within this class.
+   * 
+   * <pre> <complexType> <complexContent>
+   * <restriction
+   * base="{http://www.w3.org/2001/XMLSchema}anyType">
+   * <sequence> <element name="matcherSet"
+   * type="{www.jalview.org/colours}FeatureMatcherSet" maxOccurs="2"
+   * minOccurs="2"/> </sequence> <attribute
+   * name="and" use="required" type="{http://www.w3.org/2001/XMLSchema}boolean"
+   * /> </restriction> </complexContent>
+   * </complexType> </pre>
+   * 
+   * 
+   */
+  @XmlAccessorType(XmlAccessType.FIELD)
+  @XmlType(name = "", propOrder = { "matcherSet" })
+  public static class CompoundMatcher
+  {
+
+    @XmlElement(namespace = "", required = true)
+    protected List<FeatureMatcherSet> matcherSet;
+
+    @XmlAttribute(name = "and", required = true)
+    protected boolean and;
 
     /**
-     * Gets the value of the matchCondition property.
+     * Gets the value of the matcherSet property.
      * 
-     * @return
-     *     possible object is
-     *     {@link FeatureMatcher }
-     *     
-     */
-    public FeatureMatcher getMatchCondition() {
-        return matchCondition;
-    }
-
-    /**
-     * Sets the value of the matchCondition property.
+     * &lt;p&gt; 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
+     * &lt;CODE&gt;set&lt;/CODE&gt; method for the matcherSet property.
+     * 
+     * &lt;p&gt; For example, to add a new item, do as follows: &lt;pre&gt;
+     * getMatcherSet().add(newItem); &lt;/pre&gt;
+     * 
+     * 
+     * &lt;p&gt; Objects of the following type(s) are allowed in the list
+     * {@link FeatureMatcherSet }
      * 
-     * @param value
-     *     allowed object is
-     *     {@link FeatureMatcher }
-     *     
-     */
-    public void setMatchCondition(FeatureMatcher value) {
-        this.matchCondition = value;
-    }
-
-    /**
-     * Gets the value of the compoundMatcher property.
      * 
-     * @return
-     *     possible object is
-     *     {@link FeatureMatcherSet.CompoundMatcher }
-     *     
      */
-    public FeatureMatcherSet.CompoundMatcher getCompoundMatcher() {
-        return compoundMatcher;
+    public List<FeatureMatcherSet> getMatcherSet()
+    {
+      if (matcherSet == null)
+      {
+        matcherSet = new ArrayList<FeatureMatcherSet>();
+      }
+      return this.matcherSet;
     }
 
     /**
-     * Sets the value of the compoundMatcher property.
+     * Gets the value of the and property.
      * 
-     * @param value
-     *     allowed object is
-     *     {@link FeatureMatcherSet.CompoundMatcher }
-     *     
      */
-    public void setCompoundMatcher(FeatureMatcherSet.CompoundMatcher value) {
-        this.compoundMatcher = value;
+    public boolean isAnd()
+    {
+      return and;
     }
 
-
     /**
-     * &lt;p&gt;Java class for anonymous complex type.
-     * 
-     * &lt;p&gt;The following schema fragment specifies the expected content contained within this class.
-     * 
-     * &lt;pre&gt;
-     * &amp;lt;complexType&amp;gt;
-     *   &amp;lt;complexContent&amp;gt;
-     *     &amp;lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&amp;gt;
-     *       &amp;lt;sequence&amp;gt;
-     *         &amp;lt;element name="matcherSet" type="{www.jalview.org/colours}FeatureMatcherSet" maxOccurs="2" minOccurs="2"/&amp;gt;
-     *       &amp;lt;/sequence&amp;gt;
-     *       &amp;lt;attribute name="and" use="required" type="{http://www.w3.org/2001/XMLSchema}boolean" /&amp;gt;
-     *     &amp;lt;/restriction&amp;gt;
-     *   &amp;lt;/complexContent&amp;gt;
-     * &amp;lt;/complexType&amp;gt;
-     * &lt;/pre&gt;
-     * 
+     * Sets the value of the and property.
      * 
      */
-    @XmlAccessorType(XmlAccessType.FIELD)
-    @XmlType(name = "", propOrder = {
-        "matcherSet"
-    })
-    public static class CompoundMatcher {
-
-        @XmlElement(namespace = "", required = true)
-        protected List<FeatureMatcherSet> matcherSet;
-        @XmlAttribute(name = "and", required = true)
-        protected boolean and;
-
-        /**
-         * Gets the value of the matcherSet property.
-         * 
-         * &lt;p&gt;
-         * 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 &lt;CODE&gt;set&lt;/CODE&gt; method for the matcherSet property.
-         * 
-         * &lt;p&gt;
-         * For example, to add a new item, do as follows:
-         * &lt;pre&gt;
-         *    getMatcherSet().add(newItem);
-         * &lt;/pre&gt;
-         * 
-         * 
-         * &lt;p&gt;
-         * Objects of the following type(s) are allowed in the list
-         * {@link FeatureMatcherSet }
-         * 
-         * 
-         */
-        public List<FeatureMatcherSet> getMatcherSet() {
-            if (matcherSet == null) {
-                matcherSet = new ArrayList<FeatureMatcherSet>();
-            }
-            return this.matcherSet;
-        }
-
-        /**
-         * Gets the value of the and property.
-         * 
-         */
-        public boolean isAnd() {
-            return and;
-        }
-
-        /**
-         * Sets the value of the and property.
-         * 
-         */
-        public void setAnd(boolean value) {
-            this.and = value;
-        }
-
+    public void setAnd(boolean value)
+    {
+      this.and = value;
     }
 
+  }
+
 }