X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fxml%2Fbinding%2Fjalview%2FFeatureMatcherSet.java;fp=src%2Fjalview%2Fxml%2Fbinding%2Fjalview%2FFeatureMatcherSet.java;h=a902a83cc2a7917da369a880d17ffc8522a2902e;hb=3659ecfe7bb17dd25a0a6b5c94a7d9dab4525136;hp=d2bdaaaea855d251ab5b34c31308cafe3e0ebff6;hpb=dbdd2bd3493e0aef8aa3c0fe054c6bceedc31316;p=jalview.git diff --git a/src/jalview/xml/binding/jalview/FeatureMatcherSet.java b/src/jalview/xml/binding/jalview/FeatureMatcherSet.java index d2bdaaa..a902a83 100644 --- a/src/jalview/xml/binding/jalview/FeatureMatcherSet.java +++ b/src/jalview/xml/binding/jalview/FeatureMatcherSet.java @@ -1,10 +1,11 @@ // -// This file was generated by the Eclipse Implementation of JAXB, v2.3.3 -// See https://eclipse-ee4j.github.io/jaxb-ri +// 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: 2021.08.30 at 11:05:22 AM BST +// Generated on: 2023.01.31 at 04:07:08 PM GMT // + package jalview.xml.binding.jalview; import java.util.ArrayList; @@ -15,167 +16,177 @@ 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. + *

Java class for FeatureMatcherSet complex type. * - * <p>The following schema fragment specifies the expected content - * contained within this class. + *

The following schema fragment specifies the expected content contained within this class. * - * <pre> &lt;complexType name="FeatureMatcherSet"&gt; - * &lt;complexContent&gt; &lt;restriction - * base="{http://www.w3.org/2001/XMLSchema}anyType"&gt; - * &lt;choice&gt; &lt;element name="matchCondition" - * type="{www.jalview.org/colours}FeatureMatcher"/&gt; &lt;element - * name="compoundMatcher"&gt; &lt;complexType&gt; - * &lt;complexContent&gt; &lt;restriction - * base="{http://www.w3.org/2001/XMLSchema}anyType"&gt; - * &lt;sequence&gt; &lt;element name="matcherSet" - * type="{www.jalview.org/colours}FeatureMatcherSet" maxOccurs="2" - * minOccurs="2"/&gt; &lt;/sequence&gt; &lt;attribute name="and" - * use="required" type="{http://www.w3.org/2001/XMLSchema}boolean" /&gt; - * &lt;/restriction&gt; &lt;/complexContent&gt; - * &lt;/complexType&gt; &lt;/element&gt; &lt;/choice&gt; - * &lt;/restriction&gt; &lt;/complexContent&gt; - * &lt;/complexType&gt; </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>
+ * 
* * */ @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; - - /** - * 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> &lt;complexType&gt; &lt;complexContent&gt; - * &lt;restriction - * base="{http://www.w3.org/2001/XMLSchema}anyType"&gt; - * &lt;sequence&gt; &lt;element name="matcherSet" - * type="{www.jalview.org/colours}FeatureMatcherSet" maxOccurs="2" - * minOccurs="2"/&gt; &lt;/sequence&gt; &lt;attribute - * name="and" use="required" type="{http://www.w3.org/2001/XMLSchema}boolean" - * /&gt; &lt;/restriction&gt; &lt;/complexContent&gt; - * &lt;/complexType&gt; </pre> - * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { "matcherSet" }) - public static class CompoundMatcher - { - - @XmlElement(namespace = "", required = true) - protected List matcherSet; - - @XmlAttribute(name = "and", required = true) - protected boolean and; +@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 matcherSet property. - * - * <p> 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 - * <CODE>set</CODE> method for the matcherSet property. - * - * <p> For example, to add a new item, do as follows: <pre> - * getMatcherSet().add(newItem); </pre> - * - * - * <p> Objects of the following type(s) are allowed in the list - * {@link FeatureMatcherSet } + * 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 List getMatcherSet() - { - if (matcherSet == null) - { - matcherSet = new ArrayList(); - } - return this.matcherSet; + public void setMatchCondition(FeatureMatcher value) { + this.matchCondition = value; } /** - * Gets the value of the and property. + * Gets the value of the compoundMatcher property. * + * @return + * possible object is + * {@link FeatureMatcherSet.CompoundMatcher } + * */ - public boolean isAnd() - { - return and; + public FeatureMatcherSet.CompoundMatcher getCompoundMatcher() { + return compoundMatcher; } /** - * Sets the value of the and property. + * Sets the value of the compoundMatcher property. * + * @param value + * allowed object is + * {@link FeatureMatcherSet.CompoundMatcher } + * */ - public void setAnd(boolean value) - { - this.and = value; + public void setCompoundMatcher(FeatureMatcherSet.CompoundMatcher value) { + this.compoundMatcher = 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" maxOccurs="2" minOccurs="2"/>
+     *       </sequence>
+     *       <attribute name="and" use="required" type="{http://www.w3.org/2001/XMLSchema}boolean" />
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "matcherSet" + }) + public static class CompoundMatcher { + + @XmlElement(namespace = "", required = true) + protected List matcherSet; + @XmlAttribute(name = "and", required = true) + protected boolean and; + + /** + * Gets the value of the matcherSet 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 matcherSet property. + * + *

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

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

+ * Objects of the following type(s) are allowed in the list + * {@link FeatureMatcherSet } + * + * + */ + public List getMatcherSet() { + if (matcherSet == null) { + matcherSet = new ArrayList(); + } + 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; + } + + } }