Clover icon

Coverage Report

  1. Project Clover database Thu Nov 28 2024 11:45:30 GMT
  2. Package uk.ac.ebi.www

File InputParams.java

 

Coverage histogram

../../../../img/srcFileCovDistChart0.png
63% of files have more coverage

Code metrics

30
161
39
1
470
381
54
0.34
4.13
39
1.38

Classes

Class Line # Actions
InputParams 23 161 54
0.00%
 

Contributing tests

No tests hitting this source file were found.

Source view

1    /*
2    * Jalview - A Sequence Alignment Editor and Viewer ($$Version-Rel$$)
3    * Copyright (C) $$Year-Rel$$ The Jalview Authors
4    *
5    * This file is part of Jalview.
6    *
7    * Jalview is free software: you can redistribute it and/or
8    * modify it under the terms of the GNU General Public License
9    * as published by the Free Software Foundation, either version 3
10    * of the License, or (at your option) any later version.
11    *
12    * Jalview is distributed in the hope that it will be useful, but
13    * WITHOUT ANY WARRANTY; without even the implied warranty
14    * of MERCHANTABILITY or FITNESS FOR A PARTICULAR
15    * PURPOSE. See the GNU General Public License for more details.
16    *
17    * You should have received a copy of the GNU General Public License
18    * along with Jalview. If not, see <http://www.gnu.org/licenses/>.
19    * The Jalview Authors are detailed in the 'AUTHORS' file.
20    */
21    package uk.ac.ebi.www;
22   
 
23    public class InputParams implements java.io.Serializable
24    {
25    private java.lang.String program;
26   
27    private java.lang.String database;
28   
29    private java.lang.String matrix;
30   
31    private float exp;
32   
33    private boolean echofilter;
34   
35    private java.lang.String filter;
36   
37    private int numal;
38   
39    private int scores;
40   
41    private java.lang.String sensitivity;
42   
43    private java.lang.String sort;
44   
45    private java.lang.String stats;
46   
47    private java.lang.String strand;
48   
49    private java.lang.String outformat;
50   
51    private int topcombon;
52   
53    private boolean async;
54   
55    private java.lang.String email;
56   
 
57  0 toggle public InputParams()
58    {
59    }
60   
 
61  0 toggle public java.lang.String getProgram()
62    {
63  0 return program;
64    }
65   
 
66  0 toggle public void setProgram(java.lang.String program)
67    {
68  0 this.program = program;
69    }
70   
 
71  0 toggle public java.lang.String getDatabase()
72    {
73  0 return database;
74    }
75   
 
76  0 toggle public void setDatabase(java.lang.String database)
77    {
78  0 this.database = database;
79    }
80   
 
81  0 toggle public java.lang.String getMatrix()
82    {
83  0 return matrix;
84    }
85   
 
86  0 toggle public void setMatrix(java.lang.String matrix)
87    {
88  0 this.matrix = matrix;
89    }
90   
 
91  0 toggle public float getExp()
92    {
93  0 return exp;
94    }
95   
 
96  0 toggle public void setExp(float exp)
97    {
98  0 this.exp = exp;
99    }
100   
 
101  0 toggle public boolean isEchofilter()
102    {
103  0 return echofilter;
104    }
105   
 
106  0 toggle public void setEchofilter(boolean echofilter)
107    {
108  0 this.echofilter = echofilter;
109    }
110   
 
111  0 toggle public java.lang.String getFilter()
112    {
113  0 return filter;
114    }
115   
 
116  0 toggle public void setFilter(java.lang.String filter)
117    {
118  0 this.filter = filter;
119    }
120   
 
121  0 toggle public int getNumal()
122    {
123  0 return numal;
124    }
125   
 
126  0 toggle public void setNumal(int numal)
127    {
128  0 this.numal = numal;
129    }
130   
 
131  0 toggle public int getScores()
132    {
133  0 return scores;
134    }
135   
 
136  0 toggle public void setScores(int scores)
137    {
138  0 this.scores = scores;
139    }
140   
 
141  0 toggle public java.lang.String getSensitivity()
142    {
143  0 return sensitivity;
144    }
145   
 
146  0 toggle public void setSensitivity(java.lang.String sensitivity)
147    {
148  0 this.sensitivity = sensitivity;
149    }
150   
 
151  0 toggle public java.lang.String getSort()
152    {
153  0 return sort;
154    }
155   
 
156  0 toggle public void setSort(java.lang.String sort)
157    {
158  0 this.sort = sort;
159    }
160   
 
161  0 toggle public java.lang.String getStats()
162    {
163  0 return stats;
164    }
165   
 
166  0 toggle public void setStats(java.lang.String stats)
167    {
168  0 this.stats = stats;
169    }
170   
 
171  0 toggle public java.lang.String getStrand()
172    {
173  0 return strand;
174    }
175   
 
176  0 toggle public void setStrand(java.lang.String strand)
177    {
178  0 this.strand = strand;
179    }
180   
 
181  0 toggle public java.lang.String getOutformat()
182    {
183  0 return outformat;
184    }
185   
 
186  0 toggle public void setOutformat(java.lang.String outformat)
187    {
188  0 this.outformat = outformat;
189    }
190   
 
191  0 toggle public int getTopcombon()
192    {
193  0 return topcombon;
194    }
195   
 
196  0 toggle public void setTopcombon(int topcombon)
197    {
198  0 this.topcombon = topcombon;
199    }
200   
 
201  0 toggle public boolean isAsync()
202    {
203  0 return async;
204    }
205   
 
206  0 toggle public void setAsync(boolean async)
207    {
208  0 this.async = async;
209    }
210   
 
211  0 toggle public java.lang.String getEmail()
212    {
213  0 return email;
214    }
215   
 
216  0 toggle public void setEmail(java.lang.String email)
217    {
218  0 this.email = email;
219    }
220   
221    private java.lang.Object __equalsCalc = null;
222   
 
223  0 toggle @Override
224    public synchronized boolean equals(java.lang.Object obj)
225    {
226  0 if (obj == null)
227    {
228  0 return false;
229    }
230  0 if (!(obj instanceof InputParams))
231    {
232  0 return false;
233    }
234  0 InputParams other = (InputParams) obj;
235  0 if (this == obj)
236    {
237  0 return true;
238    }
239  0 if (__equalsCalc != null)
240    {
241  0 return (__equalsCalc == obj);
242    }
243  0 __equalsCalc = obj;
244  0 boolean _equals;
245  0 _equals = true && ((program == null && other.getProgram() == null)
246    || (program != null && program.equals(other.getProgram())))
247    && ((database == null && other.getDatabase() == null)
248    || (database != null
249    && database.equals(other.getDatabase())))
250    && ((matrix == null && other.getMatrix() == null)
251    || (matrix != null && matrix.equals(other.getMatrix())))
252    && exp == other.getExp() && echofilter == other.isEchofilter()
253    && ((filter == null && other.getFilter() == null)
254    || (filter != null && filter.equals(other.getFilter())))
255    && numal == other.getNumal() && scores == other.getScores()
256    && ((sensitivity == null && other.getSensitivity() == null)
257    || (sensitivity != null
258    && sensitivity.equals(other.getSensitivity())))
259    && ((sort == null && other.getSort() == null)
260    || (sort != null && sort.equals(other.getSort())))
261    && ((stats == null && other.getStats() == null)
262    || (stats != null && stats.equals(other.getStats())))
263    && ((strand == null && other.getStrand() == null)
264    || (strand != null && strand.equals(other.getStrand())))
265    && ((outformat == null && other.getOutformat() == null)
266    || (outformat != null
267    && outformat.equals(other.getOutformat())))
268    && topcombon == other.getTopcombon() && async == other.isAsync()
269    && ((email == null && other.getEmail() == null)
270    || (email != null && email.equals(other.getEmail())));
271  0 __equalsCalc = null;
272  0 return _equals;
273    }
274   
275    private boolean __hashCodeCalc = false;
276   
 
277  0 toggle @Override
278    public synchronized int hashCode()
279    {
280  0 if (__hashCodeCalc)
281    {
282  0 return 0;
283    }
284  0 __hashCodeCalc = true;
285  0 int _hashCode = 1;
286  0 if (getProgram() != null)
287    {
288  0 _hashCode += getProgram().hashCode();
289    }
290  0 if (getDatabase() != null)
291    {
292  0 _hashCode += getDatabase().hashCode();
293    }
294  0 if (getMatrix() != null)
295    {
296  0 _hashCode += getMatrix().hashCode();
297    }
298  0 _hashCode += Float.valueOf(getExp()).hashCode();
299  0 _hashCode += Boolean.valueOf(isEchofilter()).hashCode();
300  0 if (getFilter() != null)
301    {
302  0 _hashCode += getFilter().hashCode();
303    }
304  0 _hashCode += getNumal();
305  0 _hashCode += getScores();
306  0 if (getSensitivity() != null)
307    {
308  0 _hashCode += getSensitivity().hashCode();
309    }
310  0 if (getSort() != null)
311    {
312  0 _hashCode += getSort().hashCode();
313    }
314  0 if (getStats() != null)
315    {
316  0 _hashCode += getStats().hashCode();
317    }
318  0 if (getStrand() != null)
319    {
320  0 _hashCode += getStrand().hashCode();
321    }
322  0 if (getOutformat() != null)
323    {
324  0 _hashCode += getOutformat().hashCode();
325    }
326  0 _hashCode += getTopcombon();
327  0 _hashCode += Boolean.valueOf(isAsync()).hashCode();
328  0 if (getEmail() != null)
329    {
330  0 _hashCode += getEmail().hashCode();
331    }
332  0 __hashCodeCalc = false;
333  0 return _hashCode;
334    }
335   
336    // Type metadata
337    private static org.apache.axis.description.TypeDesc typeDesc = new org.apache.axis.description.TypeDesc(
338    InputParams.class);
339   
 
340  0 toggle static
341    {
342  0 org.apache.axis.description.FieldDesc field = new org.apache.axis.description.ElementDesc();
343  0 field.setFieldName("program");
344  0 field.setXmlName(new javax.xml.namespace.QName("", "program"));
345  0 field.setXmlType(new javax.xml.namespace.QName(
346    "http://www.w3.org/2001/XMLSchema", "string"));
347  0 typeDesc.addFieldDesc(field);
348  0 field = new org.apache.axis.description.ElementDesc();
349  0 field.setFieldName("database");
350  0 field.setXmlName(new javax.xml.namespace.QName("", "database"));
351  0 field.setXmlType(new javax.xml.namespace.QName(
352    "http://www.w3.org/2001/XMLSchema", "string"));
353  0 typeDesc.addFieldDesc(field);
354  0 field = new org.apache.axis.description.ElementDesc();
355  0 field.setFieldName("matrix");
356  0 field.setXmlName(new javax.xml.namespace.QName("", "matrix"));
357  0 field.setXmlType(new javax.xml.namespace.QName(
358    "http://www.w3.org/2001/XMLSchema", "string"));
359  0 typeDesc.addFieldDesc(field);
360  0 field = new org.apache.axis.description.ElementDesc();
361  0 field.setFieldName("exp");
362  0 field.setXmlName(new javax.xml.namespace.QName("", "exp"));
363  0 field.setXmlType(new javax.xml.namespace.QName(
364    "http://www.w3.org/2001/XMLSchema", "float"));
365  0 typeDesc.addFieldDesc(field);
366  0 field = new org.apache.axis.description.ElementDesc();
367  0 field.setFieldName("echofilter");
368  0 field.setXmlName(new javax.xml.namespace.QName("", "echofilter"));
369  0 field.setXmlType(new javax.xml.namespace.QName(
370    "http://www.w3.org/2001/XMLSchema", "boolean"));
371  0 typeDesc.addFieldDesc(field);
372  0 field = new org.apache.axis.description.ElementDesc();
373  0 field.setFieldName("filter");
374  0 field.setXmlName(new javax.xml.namespace.QName("", "filter"));
375  0 field.setXmlType(new javax.xml.namespace.QName(
376    "http://www.w3.org/2001/XMLSchema", "string"));
377  0 typeDesc.addFieldDesc(field);
378  0 field = new org.apache.axis.description.ElementDesc();
379  0 field.setFieldName("numal");
380  0 field.setXmlName(new javax.xml.namespace.QName("", "numal"));
381  0 field.setXmlType(new javax.xml.namespace.QName(
382    "http://www.w3.org/2001/XMLSchema", "int"));
383  0 typeDesc.addFieldDesc(field);
384  0 field = new org.apache.axis.description.ElementDesc();
385  0 field.setFieldName("scores");
386  0 field.setXmlName(new javax.xml.namespace.QName("", "scores"));
387  0 field.setXmlType(new javax.xml.namespace.QName(
388    "http://www.w3.org/2001/XMLSchema", "int"));
389  0 typeDesc.addFieldDesc(field);
390  0 field = new org.apache.axis.description.ElementDesc();
391  0 field.setFieldName("sensitivity");
392  0 field.setXmlName(new javax.xml.namespace.QName("", "sensitivity"));
393  0 field.setXmlType(new javax.xml.namespace.QName(
394    "http://www.w3.org/2001/XMLSchema", "string"));
395  0 typeDesc.addFieldDesc(field);
396  0 field = new org.apache.axis.description.ElementDesc();
397  0 field.setFieldName("sort");
398  0 field.setXmlName(new javax.xml.namespace.QName("", "sort"));
399  0 field.setXmlType(new javax.xml.namespace.QName(
400    "http://www.w3.org/2001/XMLSchema", "string"));
401  0 typeDesc.addFieldDesc(field);
402  0 field = new org.apache.axis.description.ElementDesc();
403  0 field.setFieldName("stats");
404  0 field.setXmlName(new javax.xml.namespace.QName("", "stats"));
405  0 field.setXmlType(new javax.xml.namespace.QName(
406    "http://www.w3.org/2001/XMLSchema", "string"));
407  0 typeDesc.addFieldDesc(field);
408  0 field = new org.apache.axis.description.ElementDesc();
409  0 field.setFieldName("strand");
410  0 field.setXmlName(new javax.xml.namespace.QName("", "strand"));
411  0 field.setXmlType(new javax.xml.namespace.QName(
412    "http://www.w3.org/2001/XMLSchema", "string"));
413  0 typeDesc.addFieldDesc(field);
414  0 field = new org.apache.axis.description.ElementDesc();
415  0 field.setFieldName("outformat");
416  0 field.setXmlName(new javax.xml.namespace.QName("", "outformat"));
417  0 field.setXmlType(new javax.xml.namespace.QName(
418    "http://www.w3.org/2001/XMLSchema", "string"));
419  0 typeDesc.addFieldDesc(field);
420  0 field = new org.apache.axis.description.ElementDesc();
421  0 field.setFieldName("topcombon");
422  0 field.setXmlName(new javax.xml.namespace.QName("", "topcombon"));
423  0 field.setXmlType(new javax.xml.namespace.QName(
424    "http://www.w3.org/2001/XMLSchema", "int"));
425  0 typeDesc.addFieldDesc(field);
426  0 field = new org.apache.axis.description.ElementDesc();
427  0 field.setFieldName("async");
428  0 field.setXmlName(new javax.xml.namespace.QName("", "async"));
429  0 field.setXmlType(new javax.xml.namespace.QName(
430    "http://www.w3.org/2001/XMLSchema", "boolean"));
431  0 typeDesc.addFieldDesc(field);
432  0 field = new org.apache.axis.description.ElementDesc();
433  0 field.setFieldName("email");
434  0 field.setXmlName(new javax.xml.namespace.QName("", "email"));
435  0 field.setXmlType(new javax.xml.namespace.QName(
436    "http://www.w3.org/2001/XMLSchema", "string"));
437  0 typeDesc.addFieldDesc(field);
438    };
439   
440    /**
441    * Return type metadata object
442    */
 
443  0 toggle public static org.apache.axis.description.TypeDesc getTypeDesc()
444    {
445  0 return typeDesc;
446    }
447   
448    /**
449    * Get Custom Serializer
450    */
 
451  0 toggle public static org.apache.axis.encoding.Serializer getSerializer(
452    java.lang.String mechType, java.lang.Class _javaType,
453    javax.xml.namespace.QName _xmlType)
454    {
455  0 return new org.apache.axis.encoding.ser.BeanSerializer(_javaType,
456    _xmlType, typeDesc);
457    }
458   
459    /**
460    * Get Custom Deserializer
461    */
 
462  0 toggle public static org.apache.axis.encoding.Deserializer getDeserializer(
463    java.lang.String mechType, java.lang.Class _javaType,
464    javax.xml.namespace.QName _xmlType)
465    {
466  0 return new org.apache.axis.encoding.ser.BeanDeserializer(_javaType,
467    _xmlType, typeDesc);
468    }
469   
470    }