JAL-2738 use GeneLocus extends DBRefEntry to hold chromosomal mappings
[jalview.git] / src / jalview / xml / binding / jalview / FeatureMatcherSet.java
1 //
2 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802 
3 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
4 // Any modifications to this file will be lost upon recompilation of the source schema. 
5 // Generated on: 2018.12.20 at 11:47:26 AM GMT 
6 //
7
8
9 package jalview.xml.binding.jalview;
10
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;
18
19
20 /**
21  * A feature match condition, which may be simple or compound
22  * 
23  * <p>Java class for FeatureMatcherSet complex type.
24  * 
25  * <p>The following schema fragment specifies the expected content contained within this class.
26  * 
27  * <pre>
28  * &lt;complexType name="FeatureMatcherSet">
29  *   &lt;complexContent>
30  *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
31  *       &lt;choice>
32  *         &lt;element name="matchCondition" type="{www.jalview.org/colours}FeatureMatcher"/>
33  *         &lt;element name="compoundMatcher">
34  *           &lt;complexType>
35  *             &lt;complexContent>
36  *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
37  *                 &lt;sequence>
38  *                   &lt;element name="matcherSet" type="{www.jalview.org/colours}FeatureMatcherSet" maxOccurs="2" minOccurs="2"/>
39  *                 &lt;/sequence>
40  *                 &lt;attribute name="and" use="required" type="{http://www.w3.org/2001/XMLSchema}boolean" />
41  *               &lt;/restriction>
42  *             &lt;/complexContent>
43  *           &lt;/complexType>
44  *         &lt;/element>
45  *       &lt;/choice>
46  *     &lt;/restriction>
47  *   &lt;/complexContent>
48  * &lt;/complexType>
49  * </pre>
50  * 
51  * 
52  */
53 @XmlAccessorType(XmlAccessType.FIELD)
54 @XmlType(name = "FeatureMatcherSet", namespace = "www.jalview.org/colours", propOrder = {
55     "matchCondition",
56     "compoundMatcher"
57 })
58 public class FeatureMatcherSet {
59
60     @XmlElement(namespace = "")
61     protected FeatureMatcher matchCondition;
62     @XmlElement(namespace = "")
63     protected FeatureMatcherSet.CompoundMatcher compoundMatcher;
64
65     /**
66      * Gets the value of the matchCondition property.
67      * 
68      * @return
69      *     possible object is
70      *     {@link FeatureMatcher }
71      *     
72      */
73     public FeatureMatcher getMatchCondition() {
74         return matchCondition;
75     }
76
77     /**
78      * Sets the value of the matchCondition property.
79      * 
80      * @param value
81      *     allowed object is
82      *     {@link FeatureMatcher }
83      *     
84      */
85     public void setMatchCondition(FeatureMatcher value) {
86         this.matchCondition = value;
87     }
88
89     /**
90      * Gets the value of the compoundMatcher property.
91      * 
92      * @return
93      *     possible object is
94      *     {@link FeatureMatcherSet.CompoundMatcher }
95      *     
96      */
97     public FeatureMatcherSet.CompoundMatcher getCompoundMatcher() {
98         return compoundMatcher;
99     }
100
101     /**
102      * Sets the value of the compoundMatcher property.
103      * 
104      * @param value
105      *     allowed object is
106      *     {@link FeatureMatcherSet.CompoundMatcher }
107      *     
108      */
109     public void setCompoundMatcher(FeatureMatcherSet.CompoundMatcher value) {
110         this.compoundMatcher = value;
111     }
112
113
114     /**
115      * <p>Java class for anonymous complex type.
116      * 
117      * <p>The following schema fragment specifies the expected content contained within this class.
118      * 
119      * <pre>
120      * &lt;complexType>
121      *   &lt;complexContent>
122      *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
123      *       &lt;sequence>
124      *         &lt;element name="matcherSet" type="{www.jalview.org/colours}FeatureMatcherSet" maxOccurs="2" minOccurs="2"/>
125      *       &lt;/sequence>
126      *       &lt;attribute name="and" use="required" type="{http://www.w3.org/2001/XMLSchema}boolean" />
127      *     &lt;/restriction>
128      *   &lt;/complexContent>
129      * &lt;/complexType>
130      * </pre>
131      * 
132      * 
133      */
134     @XmlAccessorType(XmlAccessType.FIELD)
135     @XmlType(name = "", propOrder = {
136         "matcherSet"
137     })
138     public static class CompoundMatcher {
139
140         @XmlElement(namespace = "", required = true)
141         protected List<FeatureMatcherSet> matcherSet;
142         @XmlAttribute(name = "and", required = true)
143         protected boolean and;
144
145         /**
146          * Gets the value of the matcherSet property.
147          * 
148          * <p>
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.
153          * 
154          * <p>
155          * For example, to add a new item, do as follows:
156          * <pre>
157          *    getMatcherSet().add(newItem);
158          * </pre>
159          * 
160          * 
161          * <p>
162          * Objects of the following type(s) are allowed in the list
163          * {@link FeatureMatcherSet }
164          * 
165          * 
166          */
167         public List<FeatureMatcherSet> getMatcherSet() {
168             if (matcherSet == null) {
169                 matcherSet = new ArrayList<FeatureMatcherSet>();
170             }
171             return this.matcherSet;
172         }
173
174         /**
175          * Gets the value of the and property.
176          * 
177          */
178         public boolean isAnd() {
179             return and;
180         }
181
182         /**
183          * Sets the value of the and property.
184          * 
185          */
186         public void setAnd(boolean value) {
187             this.and = value;
188         }
189
190     }
191
192 }