added SeqSearch service interface. Documented and refactored web service client ...
[jalview.git] / src / vamsas / objects / simple / WsJobId.java
1 /**
2  * WsJobId.java
3  *
4  * This file was auto-generated from WSDL
5  * by the Apache Axis 1.2RC2 Nov 16, 2004 (12:19:44 EST) WSDL2Java emitter.
6  */
7
8 package vamsas.objects.simple;
9
10 public class WsJobId  implements java.io.Serializable {
11     private java.lang.String jobId;
12     private int status;
13
14     public WsJobId() {
15     }
16
17     public WsJobId(
18            java.lang.String jobId,
19            int status) {
20            this.jobId = jobId;
21            this.status = status;
22     }
23
24
25     /**
26      * Gets the jobId value for this WsJobId.
27      * 
28      * @return jobId
29      */
30     public java.lang.String getJobId() {
31         return jobId;
32     }
33
34
35     /**
36      * Sets the jobId value for this WsJobId.
37      * 
38      * @param jobId
39      */
40     public void setJobId(java.lang.String jobId) {
41         this.jobId = jobId;
42     }
43
44
45     /**
46      * Gets the status value for this WsJobId.
47      * 
48      * @return status
49      */
50     public int getStatus() {
51         return status;
52     }
53
54
55     /**
56      * Sets the status value for this WsJobId.
57      * 
58      * @param status
59      */
60     public void setStatus(int status) {
61         this.status = status;
62     }
63
64     private java.lang.Object __equalsCalc = null;
65     public synchronized boolean equals(java.lang.Object obj) {
66         if (!(obj instanceof WsJobId)) return false;
67         WsJobId other = (WsJobId) obj;
68         if (obj == null) return false;
69         if (this == obj) return true;
70         if (__equalsCalc != null) {
71             return (__equalsCalc == obj);
72         }
73         __equalsCalc = obj;
74         boolean _equals;
75         _equals = true && 
76             ((this.jobId==null && other.getJobId()==null) || 
77              (this.jobId!=null &&
78               this.jobId.equals(other.getJobId()))) &&
79             this.status == other.getStatus();
80         __equalsCalc = null;
81         return _equals;
82     }
83
84     private boolean __hashCodeCalc = false;
85     public synchronized int hashCode() {
86         if (__hashCodeCalc) {
87             return 0;
88         }
89         __hashCodeCalc = true;
90         int _hashCode = 1;
91         if (getJobId() != null) {
92             _hashCode += getJobId().hashCode();
93         }
94         _hashCode += getStatus();
95         __hashCodeCalc = false;
96         return _hashCode;
97     }
98
99 }