Clover icon

Coverage Report

  1. Project Clover database Mon Dec 1 2025 13:17:41 GMT
  2. Package jalview.xml.binding.jalview

File FeatureMatcher.java

 

Coverage histogram

../../../../img/srcFileCovDistChart10.png
0% of files have more coverage

Code metrics

2
9
7
1
169
48
8
0.89
1.29
7
1.14

Classes

Class Line # Actions
FeatureMatcher 48 9 8
1.0100%
 

Contributing tests

This file is covered by 2 tests. .

Source view

1    //
2    // This file was generated by the Eclipse Implementation of JAXB, v2.3.9
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: 2025.04.17 at 04:05:44 PM BST
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    * <p>Java class for FeatureMatcher complex type</p>.
22    *
23    * <p>The following schema fragment specifies the expected content contained within this class.</p>
24    *
25    * <pre>
26    * &lt;complexType name="FeatureMatcher"&gt;
27    * &lt;complexContent&gt;
28    * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
29    * &lt;sequence&gt;
30    * &lt;element name="attributeName" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="2" minOccurs="0"/&gt;
31    * &lt;element name="condition" type="{http://www.w3.org/2001/XMLSchema}string"/&gt;
32    * &lt;element name="value" type="{http://www.w3.org/2001/XMLSchema}string"/&gt;
33    * &lt;/sequence&gt;
34    * &lt;attribute name="by" type="{www.jalview.org/colours}FilterBy" /&gt;
35    * &lt;/restriction&gt;
36    * &lt;/complexContent&gt;
37    * &lt;/complexType&gt;
38    * </pre>
39    *
40    *
41    */
42    @XmlAccessorType(XmlAccessType.FIELD)
43    @XmlType(name = "FeatureMatcher", namespace = "www.jalview.org/colours", propOrder = {
44    "attributeName",
45    "condition",
46    "value"
47    })
 
48    public class FeatureMatcher {
49   
50    /**
51    * name of feature attribute to filter on, or attribute and sub-attribute
52    *
53    */
54    @XmlElement(namespace = "")
55    protected List<String> attributeName;
56    @XmlElement(namespace = "", required = true)
57    protected String condition;
58    @XmlElement(namespace = "", required = true)
59    protected String value;
60    @XmlAttribute(name = "by")
61    protected FilterBy by;
62   
63    /**
64    * name of feature attribute to filter on, or attribute and sub-attribute
65    *
66    * Gets the value of the attributeName property.
67    *
68    * <p>This accessor method returns a reference to the live list,
69    * not a snapshot. Therefore any modification you make to the
70    * returned list will be present inside the JAXB object.
71    * This is why there is not a <CODE>set</CODE> method for the attributeName property.</p>
72    *
73    * <p>
74    * For example, to add a new item, do as follows:
75    * </p>
76    * <pre>
77    * getAttributeName().add(newItem);
78    * </pre>
79    *
80    *
81    * <p>
82    * Objects of the following type(s) are allowed in the list
83    * {@link String }
84    * </p>
85    *
86    *
87    * @return
88    * The value of the attributeName property.
89    */
 
90  10 toggle public List<String> getAttributeName() {
91  10 if (attributeName == null) {
92  4 attributeName = new ArrayList<String>();
93    }
94  10 return this.attributeName;
95    }
96   
97    /**
98    * Gets the value of the condition property.
99    *
100    * @return
101    * possible object is
102    * {@link String }
103    *
104    */
 
105  10 toggle public String getCondition() {
106  10 return condition;
107    }
108   
109    /**
110    * Sets the value of the condition property.
111    *
112    * @param value
113    * allowed object is
114    * {@link String }
115    *
116    */
 
117  10 toggle public void setCondition(String value) {
118  10 this.condition = value;
119    }
120   
121    /**
122    * Gets the value of the value property.
123    *
124    * @return
125    * possible object is
126    * {@link String }
127    *
128    */
 
129  10 toggle public String getValue() {
130  10 return value;
131    }
132   
133    /**
134    * Sets the value of the value property.
135    *
136    * @param value
137    * allowed object is
138    * {@link String }
139    *
140    */
 
141  10 toggle public void setValue(String value) {
142  10 this.value = value;
143    }
144   
145    /**
146    * Gets the value of the by property.
147    *
148    * @return
149    * possible object is
150    * {@link FilterBy }
151    *
152    */
 
153  10 toggle public FilterBy getBy() {
154  10 return by;
155    }
156   
157    /**
158    * Sets the value of the by property.
159    *
160    * @param value
161    * allowed object is
162    * {@link FilterBy }
163    *
164    */
 
165  10 toggle public void setBy(FilterBy value) {
166  10 this.by = value;
167    }
168   
169    }