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
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 * A feature match condition, which may be simple or compound
23 * <p>Java class for FeatureMatcherSet complex type.
25 * <p>The following schema fragment specifies the expected content contained within this class.
28 * &lt;complexType name="FeatureMatcherSet"&gt;
29 * &lt;complexContent&gt;
30 * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
31 * &lt;choice&gt;
32 * &lt;element name="matchCondition" type="{www.jalview.org/colours}FeatureMatcher"/&gt;
33 * &lt;element name="compoundMatcher"&gt;
34 * &lt;complexType&gt;
35 * &lt;complexContent&gt;
36 * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
37 * &lt;sequence&gt;
38 * &lt;element name="matcherSet" type="{www.jalview.org/colours}FeatureMatcherSet" maxOccurs="2" minOccurs="2"/&gt;
39 * &lt;/sequence&gt;
40 * &lt;attribute name="and" use="required" type="{http://www.w3.org/2001/XMLSchema}boolean" /&gt;
41 * &lt;/restriction&gt;
42 * &lt;/complexContent&gt;
43 * &lt;/complexType&gt;
44 * &lt;/element&gt;
45 * &lt;/choice&gt;
46 * &lt;/restriction&gt;
47 * &lt;/complexContent&gt;
48 * &lt;/complexType&gt;
53 @XmlAccessorType(XmlAccessType.FIELD)
54 @XmlType(name = "FeatureMatcherSet", namespace = "www.jalview.org/colours", propOrder = {
58 public class FeatureMatcherSet {
60 @XmlElement(namespace = "")
61 protected FeatureMatcher matchCondition;
62 @XmlElement(namespace = "")
63 protected FeatureMatcherSet.CompoundMatcher compoundMatcher;
66 * Gets the value of the matchCondition property.
70 * {@link FeatureMatcher }
73 public FeatureMatcher getMatchCondition() {
74 return matchCondition;
78 * Sets the value of the matchCondition property.
82 * {@link FeatureMatcher }
85 public void setMatchCondition(FeatureMatcher value) {
86 this.matchCondition = value;
90 * Gets the value of the compoundMatcher property.
94 * {@link FeatureMatcherSet.CompoundMatcher }
97 public FeatureMatcherSet.CompoundMatcher getCompoundMatcher() {
98 return compoundMatcher;
102 * Sets the value of the compoundMatcher property.
106 * {@link FeatureMatcherSet.CompoundMatcher }
109 public void setCompoundMatcher(FeatureMatcherSet.CompoundMatcher value) {
110 this.compoundMatcher = value;
115 * <p>Java class for anonymous complex type.
117 * <p>The following schema fragment specifies the expected content contained within this class.
120 * &lt;complexType&gt;
121 * &lt;complexContent&gt;
122 * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
123 * &lt;sequence&gt;
124 * &lt;element name="matcherSet" type="{www.jalview.org/colours}FeatureMatcherSet" maxOccurs="2" minOccurs="2"/&gt;
125 * &lt;/sequence&gt;
126 * &lt;attribute name="and" use="required" type="{http://www.w3.org/2001/XMLSchema}boolean" /&gt;
127 * &lt;/restriction&gt;
128 * &lt;/complexContent&gt;
129 * &lt;/complexType&gt;
134 @XmlAccessorType(XmlAccessType.FIELD)
135 @XmlType(name = "", propOrder = {
138 public static class CompoundMatcher {
140 @XmlElement(namespace = "", required = true)
141 protected List<FeatureMatcherSet> matcherSet;
142 @XmlAttribute(name = "and", required = true)
143 protected boolean and;
146 * Gets the value of the matcherSet property.
149 * This accessor method returns a reference to the live list,
150 * not a snapshot. Therefore any modification you make to the
151 * returned list will be present inside the JAXB object.
152 * This is why there is not a <CODE>set</CODE> method for the matcherSet property.
155 * For example, to add a new item, do as follows:
157 * getMatcherSet().add(newItem);
162 * Objects of the following type(s) are allowed in the list
163 * {@link FeatureMatcherSet }
167 public List<FeatureMatcherSet> getMatcherSet() {
168 if (matcherSet == null) {
169 matcherSet = new ArrayList<FeatureMatcherSet>();
171 return this.matcherSet;
175 * Gets the value of the and property.
178 public boolean isAnd() {
183 * Sets the value of the and property.
186 public void setAnd(boolean value) {