Class | Line # | Actions | |||
---|---|---|---|---|---|
FeatureMatcherSet | 51 | 4 | 4 | ||
FeatureMatcherSet.CompoundMatcher | 126 | 5 | 4 |
1 | // | |
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: 2023.11.01 at 07:03:09 PM GMT | |
6 | // | |
7 | ||
8 | package jalview.xml.binding.jalview; | |
9 | ||
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; | |
17 | ||
18 | /** | |
19 | * A feature match condition, which may be simple or compound | |
20 | * | |
21 | * <p>Java class for FeatureMatcherSet complex type. | |
22 | * | |
23 | * <p>The following schema fragment specifies the expected content | |
24 | * contained within this class. | |
25 | * | |
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> | |
42 | * | |
43 | * | |
44 | */ | |
45 | @XmlAccessorType(XmlAccessType.FIELD) | |
46 | @XmlType( | |
47 | name = "FeatureMatcherSet", | |
48 | namespace = "www.jalview.org/colours", | |
49 | propOrder = | |
50 | { "matchCondition", "compoundMatcher" }) | |
51 | public class FeatureMatcherSet | |
52 | { | |
53 | ||
54 | @XmlElement(namespace = "") | |
55 | protected FeatureMatcher matchCondition; | |
56 | ||
57 | @XmlElement(namespace = "") | |
58 | protected FeatureMatcherSet.CompoundMatcher compoundMatcher; | |
59 | ||
60 | /** | |
61 | * Gets the value of the matchCondition property. | |
62 | * | |
63 | * @return possible object is {@link FeatureMatcher } | |
64 | * | |
65 | */ | |
66 | 14 | public FeatureMatcher getMatchCondition() |
67 | { | |
68 | 14 | return matchCondition; |
69 | } | |
70 | ||
71 | /** | |
72 | * Sets the value of the matchCondition property. | |
73 | * | |
74 | * @param value | |
75 | * allowed object is {@link FeatureMatcher } | |
76 | * | |
77 | */ | |
78 | 10 | public void setMatchCondition(FeatureMatcher value) |
79 | { | |
80 | 10 | this.matchCondition = value; |
81 | } | |
82 | ||
83 | /** | |
84 | * Gets the value of the compoundMatcher property. | |
85 | * | |
86 | * @return possible object is {@link FeatureMatcherSet.CompoundMatcher } | |
87 | * | |
88 | */ | |
89 | 8 | public FeatureMatcherSet.CompoundMatcher getCompoundMatcher() |
90 | { | |
91 | 8 | return compoundMatcher; |
92 | } | |
93 | ||
94 | /** | |
95 | * Sets the value of the compoundMatcher property. | |
96 | * | |
97 | * @param value | |
98 | * allowed object is {@link FeatureMatcherSet.CompoundMatcher } | |
99 | * | |
100 | */ | |
101 | 4 | public void setCompoundMatcher(FeatureMatcherSet.CompoundMatcher value) |
102 | { | |
103 | 4 | this.compoundMatcher = value; |
104 | } | |
105 | ||
106 | /** | |
107 | * <p>Java class for anonymous complex type. | |
108 | * | |
109 | * <p>The following schema fragment specifies the expected content | |
110 | * contained within this class. | |
111 | * | |
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> | |
121 | * | |
122 | * | |
123 | */ | |
124 | @XmlAccessorType(XmlAccessType.FIELD) | |
125 | @XmlType(name = "", propOrder = { "matcherSet" }) | |
126 | public static class CompoundMatcher | |
127 | { | |
128 | ||
129 | @XmlElement(namespace = "", required = true) | |
130 | protected List<FeatureMatcherSet> matcherSet; | |
131 | ||
132 | @XmlAttribute(name = "and", required = true) | |
133 | protected boolean and; | |
134 | ||
135 | /** | |
136 | * Gets the value of the matcherSet property. | |
137 | * | |
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. | |
142 | * | |
143 | * <p> For example, to add a new item, do as follows: <pre> | |
144 | * getMatcherSet().add(newItem); </pre> | |
145 | * | |
146 | * | |
147 | * <p> Objects of the following type(s) are allowed in the list | |
148 | * {@link FeatureMatcherSet } | |
149 | * | |
150 | * | |
151 | */ | |
152 | 12 | public List<FeatureMatcherSet> getMatcherSet() |
153 | { | |
154 | 12 | if (matcherSet == null) |
155 | { | |
156 | 4 | matcherSet = new ArrayList<FeatureMatcherSet>(); |
157 | } | |
158 | 12 | return this.matcherSet; |
159 | } | |
160 | ||
161 | /** | |
162 | * Gets the value of the and property. | |
163 | * | |
164 | */ | |
165 | 4 | public boolean isAnd() |
166 | { | |
167 | 4 | return and; |
168 | } | |
169 | ||
170 | /** | |
171 | * Sets the value of the and property. | |
172 | * | |
173 | */ | |
174 | 4 | public void setAnd(boolean value) |
175 | { | |
176 | 4 | this.and = value; |
177 | } | |
178 | ||
179 | } | |
180 | ||
181 | } |