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