Clover icon

jalviewX

  1. Project Clover database Wed Oct 31 2018 15:13:58 GMT
  2. Package uk.ac.ebi.www

File InputParams.java

 

Coverage histogram

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

Code metrics

30
161
39
1
471
382
54
0.34
4.13
39
1.38

Classes

Class Line # Actions
InputParams 23 161 54 230
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
246    && ((program == null && other.getProgram() == null) || (program != null && program
247    .equals(other.getProgram())))
248    && ((database == null && other.getDatabase() == null) || (database != null && database
249    .equals(other.getDatabase())))
250    && ((matrix == null && other.getMatrix() == null) || (matrix != null && matrix
251    .equals(other.getMatrix())))
252    && exp == other.getExp()
253    && echofilter == other.isEchofilter()
254    && ((filter == null && other.getFilter() == null) || (filter != null && filter
255    .equals(other.getFilter())))
256    && numal == other.getNumal()
257    && scores == other.getScores()
258    && ((sensitivity == null && other.getSensitivity() == null) || (sensitivity != null && sensitivity
259    .equals(other.getSensitivity())))
260    && ((sort == null && other.getSort() == null) || (sort != null && sort
261    .equals(other.getSort())))
262    && ((stats == null && other.getStats() == null) || (stats != null && stats
263    .equals(other.getStats())))
264    && ((strand == null && other.getStrand() == null) || (strand != null && strand
265    .equals(other.getStrand())))
266    && ((outformat == null && other.getOutformat() == null) || (outformat != null && outformat
267    .equals(other.getOutformat())))
268    && topcombon == other.getTopcombon()
269    && async == other.isAsync()
270    && ((email == null && other.getEmail() == null) || (email != null && email
271    .equals(other.getEmail())));
272  0 __equalsCalc = null;
273  0 return _equals;
274    }
275   
276    private boolean __hashCodeCalc = false;
277   
 
278  0 toggle @Override
279    public synchronized int hashCode()
280    {
281  0 if (__hashCodeCalc)
282    {
283  0 return 0;
284    }
285  0 __hashCodeCalc = true;
286  0 int _hashCode = 1;
287  0 if (getProgram() != null)
288    {
289  0 _hashCode += getProgram().hashCode();
290    }
291  0 if (getDatabase() != null)
292    {
293  0 _hashCode += getDatabase().hashCode();
294    }
295  0 if (getMatrix() != null)
296    {
297  0 _hashCode += getMatrix().hashCode();
298    }
299  0 _hashCode += new Float(getExp()).hashCode();
300  0 _hashCode += new Boolean(isEchofilter()).hashCode();
301  0 if (getFilter() != null)
302    {
303  0 _hashCode += getFilter().hashCode();
304    }
305  0 _hashCode += getNumal();
306  0 _hashCode += getScores();
307  0 if (getSensitivity() != null)
308    {
309  0 _hashCode += getSensitivity().hashCode();
310    }
311  0 if (getSort() != null)
312    {
313  0 _hashCode += getSort().hashCode();
314    }
315  0 if (getStats() != null)
316    {
317  0 _hashCode += getStats().hashCode();
318    }
319  0 if (getStrand() != null)
320    {
321  0 _hashCode += getStrand().hashCode();
322    }
323  0 if (getOutformat() != null)
324    {
325  0 _hashCode += getOutformat().hashCode();
326    }
327  0 _hashCode += getTopcombon();
328  0 _hashCode += new Boolean(isAsync()).hashCode();
329  0 if (getEmail() != null)
330    {
331  0 _hashCode += getEmail().hashCode();
332    }
333  0 __hashCodeCalc = false;
334  0 return _hashCode;
335    }
336   
337    // Type metadata
338    private static org.apache.axis.description.TypeDesc typeDesc = new org.apache.axis.description.TypeDesc(
339    InputParams.class);
340   
 
341  0 toggle static
342    {
343  0 org.apache.axis.description.FieldDesc field = new org.apache.axis.description.ElementDesc();
344  0 field.setFieldName("program");
345  0 field.setXmlName(new javax.xml.namespace.QName("", "program"));
346  0 field.setXmlType(new javax.xml.namespace.QName(
347    "http://www.w3.org/2001/XMLSchema", "string"));
348  0 typeDesc.addFieldDesc(field);
349  0 field = new org.apache.axis.description.ElementDesc();
350  0 field.setFieldName("database");
351  0 field.setXmlName(new javax.xml.namespace.QName("", "database"));
352  0 field.setXmlType(new javax.xml.namespace.QName(
353    "http://www.w3.org/2001/XMLSchema", "string"));
354  0 typeDesc.addFieldDesc(field);
355  0 field = new org.apache.axis.description.ElementDesc();
356  0 field.setFieldName("matrix");
357  0 field.setXmlName(new javax.xml.namespace.QName("", "matrix"));
358  0 field.setXmlType(new javax.xml.namespace.QName(
359    "http://www.w3.org/2001/XMLSchema", "string"));
360  0 typeDesc.addFieldDesc(field);
361  0 field = new org.apache.axis.description.ElementDesc();
362  0 field.setFieldName("exp");
363  0 field.setXmlName(new javax.xml.namespace.QName("", "exp"));
364  0 field.setXmlType(new javax.xml.namespace.QName(
365    "http://www.w3.org/2001/XMLSchema", "float"));
366  0 typeDesc.addFieldDesc(field);
367  0 field = new org.apache.axis.description.ElementDesc();
368  0 field.setFieldName("echofilter");
369  0 field.setXmlName(new javax.xml.namespace.QName("", "echofilter"));
370  0 field.setXmlType(new javax.xml.namespace.QName(
371    "http://www.w3.org/2001/XMLSchema", "boolean"));
372  0 typeDesc.addFieldDesc(field);
373  0 field = new org.apache.axis.description.ElementDesc();
374  0 field.setFieldName("filter");
375  0 field.setXmlName(new javax.xml.namespace.QName("", "filter"));
376  0 field.setXmlType(new javax.xml.namespace.QName(
377    "http://www.w3.org/2001/XMLSchema", "string"));
378  0 typeDesc.addFieldDesc(field);
379  0 field = new org.apache.axis.description.ElementDesc();
380  0 field.setFieldName("numal");
381  0 field.setXmlName(new javax.xml.namespace.QName("", "numal"));
382  0 field.setXmlType(new javax.xml.namespace.QName(
383    "http://www.w3.org/2001/XMLSchema", "int"));
384  0 typeDesc.addFieldDesc(field);
385  0 field = new org.apache.axis.description.ElementDesc();
386  0 field.setFieldName("scores");
387  0 field.setXmlName(new javax.xml.namespace.QName("", "scores"));
388  0 field.setXmlType(new javax.xml.namespace.QName(
389    "http://www.w3.org/2001/XMLSchema", "int"));
390  0 typeDesc.addFieldDesc(field);
391  0 field = new org.apache.axis.description.ElementDesc();
392  0 field.setFieldName("sensitivity");
393  0 field.setXmlName(new javax.xml.namespace.QName("", "sensitivity"));
394  0 field.setXmlType(new javax.xml.namespace.QName(
395    "http://www.w3.org/2001/XMLSchema", "string"));
396  0 typeDesc.addFieldDesc(field);
397  0 field = new org.apache.axis.description.ElementDesc();
398  0 field.setFieldName("sort");
399  0 field.setXmlName(new javax.xml.namespace.QName("", "sort"));
400  0 field.setXmlType(new javax.xml.namespace.QName(
401    "http://www.w3.org/2001/XMLSchema", "string"));
402  0 typeDesc.addFieldDesc(field);
403  0 field = new org.apache.axis.description.ElementDesc();
404  0 field.setFieldName("stats");
405  0 field.setXmlName(new javax.xml.namespace.QName("", "stats"));
406  0 field.setXmlType(new javax.xml.namespace.QName(
407    "http://www.w3.org/2001/XMLSchema", "string"));
408  0 typeDesc.addFieldDesc(field);
409  0 field = new org.apache.axis.description.ElementDesc();
410  0 field.setFieldName("strand");
411  0 field.setXmlName(new javax.xml.namespace.QName("", "strand"));
412  0 field.setXmlType(new javax.xml.namespace.QName(
413    "http://www.w3.org/2001/XMLSchema", "string"));
414  0 typeDesc.addFieldDesc(field);
415  0 field = new org.apache.axis.description.ElementDesc();
416  0 field.setFieldName("outformat");
417  0 field.setXmlName(new javax.xml.namespace.QName("", "outformat"));
418  0 field.setXmlType(new javax.xml.namespace.QName(
419    "http://www.w3.org/2001/XMLSchema", "string"));
420  0 typeDesc.addFieldDesc(field);
421  0 field = new org.apache.axis.description.ElementDesc();
422  0 field.setFieldName("topcombon");
423  0 field.setXmlName(new javax.xml.namespace.QName("", "topcombon"));
424  0 field.setXmlType(new javax.xml.namespace.QName(
425    "http://www.w3.org/2001/XMLSchema", "int"));
426  0 typeDesc.addFieldDesc(field);
427  0 field = new org.apache.axis.description.ElementDesc();
428  0 field.setFieldName("async");
429  0 field.setXmlName(new javax.xml.namespace.QName("", "async"));
430  0 field.setXmlType(new javax.xml.namespace.QName(
431    "http://www.w3.org/2001/XMLSchema", "boolean"));
432  0 typeDesc.addFieldDesc(field);
433  0 field = new org.apache.axis.description.ElementDesc();
434  0 field.setFieldName("email");
435  0 field.setXmlName(new javax.xml.namespace.QName("", "email"));
436  0 field.setXmlType(new javax.xml.namespace.QName(
437    "http://www.w3.org/2001/XMLSchema", "string"));
438  0 typeDesc.addFieldDesc(field);
439    };
440   
441    /**
442    * Return type metadata object
443    */
 
444  0 toggle public static org.apache.axis.description.TypeDesc getTypeDesc()
445    {
446  0 return typeDesc;
447    }
448   
449    /**
450    * Get Custom Serializer
451    */
 
452  0 toggle public static org.apache.axis.encoding.Serializer getSerializer(
453    java.lang.String mechType, java.lang.Class _javaType,
454    javax.xml.namespace.QName _xmlType)
455    {
456  0 return new org.apache.axis.encoding.ser.BeanSerializer(_javaType,
457    _xmlType, typeDesc);
458    }
459   
460    /**
461    * Get Custom Deserializer
462    */
 
463  0 toggle public static org.apache.axis.encoding.Deserializer getDeserializer(
464    java.lang.String mechType, java.lang.Class _javaType,
465    javax.xml.namespace.QName _xmlType)
466    {
467  0 return new org.apache.axis.encoding.ser.BeanDeserializer(_javaType,
468    _xmlType, typeDesc);
469    }
470   
471    }