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