2 // This file was generated by the Eclipse Implementation of JAXB, v2.3.3
3 // See https://eclipse-ee4j.github.io/jaxb-ri
4 // Any modifications to this file will be lost upon recompilation of the source schema.
5 // Generated on: 2021.08.30 at 11:05:22 AM 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;
19 * A feature match condition, which may be simple or compound
21 * <p>Java class for FeatureMatcherSet complex type.
23 * <p>The following schema fragment specifies the expected content
24 * contained within this class.
26 * <pre> &lt;complexType name="FeatureMatcherSet"&gt;
27 * &lt;complexContent&gt; &lt;restriction
28 * base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
29 * &lt;choice&gt; &lt;element name="matchCondition"
30 * type="{www.jalview.org/colours}FeatureMatcher"/&gt; &lt;element
31 * name="compoundMatcher"&gt; &lt;complexType&gt;
32 * &lt;complexContent&gt; &lt;restriction
33 * base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
34 * &lt;sequence&gt; &lt;element name="matcherSet"
35 * type="{www.jalview.org/colours}FeatureMatcherSet" maxOccurs="2"
36 * minOccurs="2"/&gt; &lt;/sequence&gt; &lt;attribute name="and"
37 * use="required" type="{http://www.w3.org/2001/XMLSchema}boolean" /&gt;
38 * &lt;/restriction&gt; &lt;/complexContent&gt;
39 * &lt;/complexType&gt; &lt;/element&gt; &lt;/choice&gt;
40 * &lt;/restriction&gt; &lt;/complexContent&gt;
41 * &lt;/complexType&gt; </pre>
45 @XmlAccessorType(XmlAccessType.FIELD)
47 name = "FeatureMatcherSet",
48 namespace = "www.jalview.org/colours",
50 { "matchCondition", "compoundMatcher" })
51 public class FeatureMatcherSet
54 @XmlElement(namespace = "")
55 protected FeatureMatcher matchCondition;
57 @XmlElement(namespace = "")
58 protected FeatureMatcherSet.CompoundMatcher compoundMatcher;
61 * Gets the value of the matchCondition property.
63 * @return possible object is {@link FeatureMatcher }
66 public FeatureMatcher getMatchCondition()
68 return matchCondition;
72 * Sets the value of the matchCondition property.
75 * allowed object is {@link FeatureMatcher }
78 public void setMatchCondition(FeatureMatcher value)
80 this.matchCondition = value;
84 * Gets the value of the compoundMatcher property.
86 * @return possible object is {@link FeatureMatcherSet.CompoundMatcher }
89 public FeatureMatcherSet.CompoundMatcher getCompoundMatcher()
91 return compoundMatcher;
95 * Sets the value of the compoundMatcher property.
98 * allowed object is {@link FeatureMatcherSet.CompoundMatcher }
101 public void setCompoundMatcher(FeatureMatcherSet.CompoundMatcher value)
103 this.compoundMatcher = value;
107 * <p>Java class for anonymous complex type.
109 * <p>The following schema fragment specifies the expected content
110 * contained within this class.
112 * <pre> &lt;complexType&gt; &lt;complexContent&gt;
113 * &lt;restriction
114 * base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
115 * &lt;sequence&gt; &lt;element name="matcherSet"
116 * type="{www.jalview.org/colours}FeatureMatcherSet" maxOccurs="2"
117 * minOccurs="2"/&gt; &lt;/sequence&gt; &lt;attribute
118 * name="and" use="required" type="{http://www.w3.org/2001/XMLSchema}boolean"
119 * /&gt; &lt;/restriction&gt; &lt;/complexContent&gt;
120 * &lt;/complexType&gt; </pre>
124 @XmlAccessorType(XmlAccessType.FIELD)
125 @XmlType(name = "", propOrder = { "matcherSet" })
126 public static class CompoundMatcher
129 @XmlElement(namespace = "", required = true)
130 protected List<FeatureMatcherSet> matcherSet;
132 @XmlAttribute(name = "and", required = true)
133 protected boolean and;
136 * Gets the value of the matcherSet property.
138 * <p> This accessor method returns a reference to the live list, not
139 * a snapshot. Therefore any modification you make to the returned list will
140 * be present inside the JAXB object. This is why there is not a
141 * <CODE>set</CODE> method for the matcherSet property.
143 * <p> For example, to add a new item, do as follows: <pre>
144 * getMatcherSet().add(newItem); </pre>
147 * <p> Objects of the following type(s) are allowed in the list
148 * {@link FeatureMatcherSet }
152 public List<FeatureMatcherSet> getMatcherSet()
154 if (matcherSet == null)
156 matcherSet = new ArrayList<FeatureMatcherSet>();
158 return this.matcherSet;
162 * Gets the value of the and property.
165 public boolean isAnd()
171 * Sets the value of the and property.
174 public void setAnd(boolean value)