JAL-1620 version bump and release notes
[jalview.git] / src / uk / ac / ebi / www / InputParams.java
1 /*
2  * Jalview - A Sequence Alignment Editor and Viewer (Version 2.8.2b1)
3  * Copyright (C) 2014 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   public InputParams()
58   {
59   }
60
61   public java.lang.String getProgram()
62   {
63     return program;
64   }
65
66   public void setProgram(java.lang.String program)
67   {
68     this.program = program;
69   }
70
71   public java.lang.String getDatabase()
72   {
73     return database;
74   }
75
76   public void setDatabase(java.lang.String database)
77   {
78     this.database = database;
79   }
80
81   public java.lang.String getMatrix()
82   {
83     return matrix;
84   }
85
86   public void setMatrix(java.lang.String matrix)
87   {
88     this.matrix = matrix;
89   }
90
91   public float getExp()
92   {
93     return exp;
94   }
95
96   public void setExp(float exp)
97   {
98     this.exp = exp;
99   }
100
101   public boolean isEchofilter()
102   {
103     return echofilter;
104   }
105
106   public void setEchofilter(boolean echofilter)
107   {
108     this.echofilter = echofilter;
109   }
110
111   public java.lang.String getFilter()
112   {
113     return filter;
114   }
115
116   public void setFilter(java.lang.String filter)
117   {
118     this.filter = filter;
119   }
120
121   public int getNumal()
122   {
123     return numal;
124   }
125
126   public void setNumal(int numal)
127   {
128     this.numal = numal;
129   }
130
131   public int getScores()
132   {
133     return scores;
134   }
135
136   public void setScores(int scores)
137   {
138     this.scores = scores;
139   }
140
141   public java.lang.String getSensitivity()
142   {
143     return sensitivity;
144   }
145
146   public void setSensitivity(java.lang.String sensitivity)
147   {
148     this.sensitivity = sensitivity;
149   }
150
151   public java.lang.String getSort()
152   {
153     return sort;
154   }
155
156   public void setSort(java.lang.String sort)
157   {
158     this.sort = sort;
159   }
160
161   public java.lang.String getStats()
162   {
163     return stats;
164   }
165
166   public void setStats(java.lang.String stats)
167   {
168     this.stats = stats;
169   }
170
171   public java.lang.String getStrand()
172   {
173     return strand;
174   }
175
176   public void setStrand(java.lang.String strand)
177   {
178     this.strand = strand;
179   }
180
181   public java.lang.String getOutformat()
182   {
183     return outformat;
184   }
185
186   public void setOutformat(java.lang.String outformat)
187   {
188     this.outformat = outformat;
189   }
190
191   public int getTopcombon()
192   {
193     return topcombon;
194   }
195
196   public void setTopcombon(int topcombon)
197   {
198     this.topcombon = topcombon;
199   }
200
201   public boolean isAsync()
202   {
203     return async;
204   }
205
206   public void setAsync(boolean async)
207   {
208     this.async = async;
209   }
210
211   public java.lang.String getEmail()
212   {
213     return email;
214   }
215
216   public void setEmail(java.lang.String email)
217   {
218     this.email = email;
219   }
220
221   private java.lang.Object __equalsCalc = null;
222
223   public synchronized boolean equals(java.lang.Object obj)
224   {
225     if (!(obj instanceof InputParams))
226     {
227       return false;
228     }
229     InputParams other = (InputParams) obj;
230     if (obj == null)
231     {
232       return false;
233     }
234     if (this == obj)
235     {
236       return true;
237     }
238     if (__equalsCalc != null)
239     {
240       return (__equalsCalc == obj);
241     }
242     __equalsCalc = obj;
243     boolean _equals;
244     _equals = true
245             && ((program == null && other.getProgram() == null) || (program != null && program
246                     .equals(other.getProgram())))
247             && ((database == null && other.getDatabase() == null) || (database != null && database
248                     .equals(other.getDatabase())))
249             && ((matrix == null && other.getMatrix() == null) || (matrix != null && matrix
250                     .equals(other.getMatrix())))
251             && exp == other.getExp()
252             && echofilter == other.isEchofilter()
253             && ((filter == null && other.getFilter() == null) || (filter != null && filter
254                     .equals(other.getFilter())))
255             && numal == other.getNumal()
256             && scores == other.getScores()
257             && ((sensitivity == null && other.getSensitivity() == null) || (sensitivity != null && sensitivity
258                     .equals(other.getSensitivity())))
259             && ((sort == null && other.getSort() == null) || (sort != null && sort
260                     .equals(other.getSort())))
261             && ((stats == null && other.getStats() == null) || (stats != null && stats
262                     .equals(other.getStats())))
263             && ((strand == null && other.getStrand() == null) || (strand != null && strand
264                     .equals(other.getStrand())))
265             && ((outformat == null && other.getOutformat() == null) || (outformat != null && outformat
266                     .equals(other.getOutformat())))
267             && topcombon == other.getTopcombon()
268             && async == other.isAsync()
269             && ((email == null && other.getEmail() == null) || (email != null && email
270                     .equals(other.getEmail())));
271     __equalsCalc = null;
272     return _equals;
273   }
274
275   private boolean __hashCodeCalc = false;
276
277   public synchronized int hashCode()
278   {
279     if (__hashCodeCalc)
280     {
281       return 0;
282     }
283     __hashCodeCalc = true;
284     int _hashCode = 1;
285     if (getProgram() != null)
286     {
287       _hashCode += getProgram().hashCode();
288     }
289     if (getDatabase() != null)
290     {
291       _hashCode += getDatabase().hashCode();
292     }
293     if (getMatrix() != null)
294     {
295       _hashCode += getMatrix().hashCode();
296     }
297     _hashCode += new Float(getExp()).hashCode();
298     _hashCode += new Boolean(isEchofilter()).hashCode();
299     if (getFilter() != null)
300     {
301       _hashCode += getFilter().hashCode();
302     }
303     _hashCode += getNumal();
304     _hashCode += getScores();
305     if (getSensitivity() != null)
306     {
307       _hashCode += getSensitivity().hashCode();
308     }
309     if (getSort() != null)
310     {
311       _hashCode += getSort().hashCode();
312     }
313     if (getStats() != null)
314     {
315       _hashCode += getStats().hashCode();
316     }
317     if (getStrand() != null)
318     {
319       _hashCode += getStrand().hashCode();
320     }
321     if (getOutformat() != null)
322     {
323       _hashCode += getOutformat().hashCode();
324     }
325     _hashCode += getTopcombon();
326     _hashCode += new Boolean(isAsync()).hashCode();
327     if (getEmail() != null)
328     {
329       _hashCode += getEmail().hashCode();
330     }
331     __hashCodeCalc = false;
332     return _hashCode;
333   }
334
335   // Type metadata
336   private static org.apache.axis.description.TypeDesc typeDesc = new org.apache.axis.description.TypeDesc(
337           InputParams.class);
338
339   static
340   {
341     org.apache.axis.description.FieldDesc field = new org.apache.axis.description.ElementDesc();
342     field.setFieldName("program");
343     field.setXmlName(new javax.xml.namespace.QName("", "program"));
344     field.setXmlType(new javax.xml.namespace.QName(
345             "http://www.w3.org/2001/XMLSchema", "string"));
346     typeDesc.addFieldDesc(field);
347     field = new org.apache.axis.description.ElementDesc();
348     field.setFieldName("database");
349     field.setXmlName(new javax.xml.namespace.QName("", "database"));
350     field.setXmlType(new javax.xml.namespace.QName(
351             "http://www.w3.org/2001/XMLSchema", "string"));
352     typeDesc.addFieldDesc(field);
353     field = new org.apache.axis.description.ElementDesc();
354     field.setFieldName("matrix");
355     field.setXmlName(new javax.xml.namespace.QName("", "matrix"));
356     field.setXmlType(new javax.xml.namespace.QName(
357             "http://www.w3.org/2001/XMLSchema", "string"));
358     typeDesc.addFieldDesc(field);
359     field = new org.apache.axis.description.ElementDesc();
360     field.setFieldName("exp");
361     field.setXmlName(new javax.xml.namespace.QName("", "exp"));
362     field.setXmlType(new javax.xml.namespace.QName(
363             "http://www.w3.org/2001/XMLSchema", "float"));
364     typeDesc.addFieldDesc(field);
365     field = new org.apache.axis.description.ElementDesc();
366     field.setFieldName("echofilter");
367     field.setXmlName(new javax.xml.namespace.QName("", "echofilter"));
368     field.setXmlType(new javax.xml.namespace.QName(
369             "http://www.w3.org/2001/XMLSchema", "boolean"));
370     typeDesc.addFieldDesc(field);
371     field = new org.apache.axis.description.ElementDesc();
372     field.setFieldName("filter");
373     field.setXmlName(new javax.xml.namespace.QName("", "filter"));
374     field.setXmlType(new javax.xml.namespace.QName(
375             "http://www.w3.org/2001/XMLSchema", "string"));
376     typeDesc.addFieldDesc(field);
377     field = new org.apache.axis.description.ElementDesc();
378     field.setFieldName("numal");
379     field.setXmlName(new javax.xml.namespace.QName("", "numal"));
380     field.setXmlType(new javax.xml.namespace.QName(
381             "http://www.w3.org/2001/XMLSchema", "int"));
382     typeDesc.addFieldDesc(field);
383     field = new org.apache.axis.description.ElementDesc();
384     field.setFieldName("scores");
385     field.setXmlName(new javax.xml.namespace.QName("", "scores"));
386     field.setXmlType(new javax.xml.namespace.QName(
387             "http://www.w3.org/2001/XMLSchema", "int"));
388     typeDesc.addFieldDesc(field);
389     field = new org.apache.axis.description.ElementDesc();
390     field.setFieldName("sensitivity");
391     field.setXmlName(new javax.xml.namespace.QName("", "sensitivity"));
392     field.setXmlType(new javax.xml.namespace.QName(
393             "http://www.w3.org/2001/XMLSchema", "string"));
394     typeDesc.addFieldDesc(field);
395     field = new org.apache.axis.description.ElementDesc();
396     field.setFieldName("sort");
397     field.setXmlName(new javax.xml.namespace.QName("", "sort"));
398     field.setXmlType(new javax.xml.namespace.QName(
399             "http://www.w3.org/2001/XMLSchema", "string"));
400     typeDesc.addFieldDesc(field);
401     field = new org.apache.axis.description.ElementDesc();
402     field.setFieldName("stats");
403     field.setXmlName(new javax.xml.namespace.QName("", "stats"));
404     field.setXmlType(new javax.xml.namespace.QName(
405             "http://www.w3.org/2001/XMLSchema", "string"));
406     typeDesc.addFieldDesc(field);
407     field = new org.apache.axis.description.ElementDesc();
408     field.setFieldName("strand");
409     field.setXmlName(new javax.xml.namespace.QName("", "strand"));
410     field.setXmlType(new javax.xml.namespace.QName(
411             "http://www.w3.org/2001/XMLSchema", "string"));
412     typeDesc.addFieldDesc(field);
413     field = new org.apache.axis.description.ElementDesc();
414     field.setFieldName("outformat");
415     field.setXmlName(new javax.xml.namespace.QName("", "outformat"));
416     field.setXmlType(new javax.xml.namespace.QName(
417             "http://www.w3.org/2001/XMLSchema", "string"));
418     typeDesc.addFieldDesc(field);
419     field = new org.apache.axis.description.ElementDesc();
420     field.setFieldName("topcombon");
421     field.setXmlName(new javax.xml.namespace.QName("", "topcombon"));
422     field.setXmlType(new javax.xml.namespace.QName(
423             "http://www.w3.org/2001/XMLSchema", "int"));
424     typeDesc.addFieldDesc(field);
425     field = new org.apache.axis.description.ElementDesc();
426     field.setFieldName("async");
427     field.setXmlName(new javax.xml.namespace.QName("", "async"));
428     field.setXmlType(new javax.xml.namespace.QName(
429             "http://www.w3.org/2001/XMLSchema", "boolean"));
430     typeDesc.addFieldDesc(field);
431     field = new org.apache.axis.description.ElementDesc();
432     field.setFieldName("email");
433     field.setXmlName(new javax.xml.namespace.QName("", "email"));
434     field.setXmlType(new javax.xml.namespace.QName(
435             "http://www.w3.org/2001/XMLSchema", "string"));
436     typeDesc.addFieldDesc(field);
437   };
438
439   /**
440    * Return type metadata object
441    */
442   public static org.apache.axis.description.TypeDesc getTypeDesc()
443   {
444     return typeDesc;
445   }
446
447   /**
448    * Get Custom Serializer
449    */
450   public static org.apache.axis.encoding.Serializer getSerializer(
451           java.lang.String mechType, java.lang.Class _javaType,
452           javax.xml.namespace.QName _xmlType)
453   {
454     return new org.apache.axis.encoding.ser.BeanSerializer(_javaType,
455             _xmlType, typeDesc);
456   }
457
458   /**
459    * Get Custom Deserializer
460    */
461   public static org.apache.axis.encoding.Deserializer getDeserializer(
462           java.lang.String mechType, java.lang.Class _javaType,
463           javax.xml.namespace.QName _xmlType)
464   {
465     return new org.apache.axis.encoding.ser.BeanDeserializer(_javaType,
466             _xmlType, typeDesc);
467   }
468
469 }