Clover icon

Coverage Report

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