4 * This file was auto-generated from WSDL
\r
5 * by the Apache Axis 1.2RC2 Nov 16, 2004 (12:19:44 EST) WSDL2Java emitter.
\r
9 * Jalview - A Sequence Alignment Editor and Viewer
\r
10 * Copyright (C) 2007 AM Waterhouse, J Procter, G Barton, M Clamp, S Searle
\r
12 * This program is free software; you can redistribute it and/or
\r
13 * modify it under the terms of the GNU General Public License
\r
14 * as published by the Free Software Foundation; either version 2
\r
15 * of the License, or (at your option) any later version.
\r
17 * This program is distributed in the hope that it will be useful,
\r
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of
\r
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
\r
20 * GNU General Public License for more details.
\r
22 * You should have received a copy of the GNU General Public License
\r
23 * along with this program; if not, write to the Free Software
\r
24 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
\r
26 package vamsas.objects.simple;
\r
28 public class WsJobId
\r
29 implements java.io.Serializable
\r
31 private java.lang.String jobId;
\r
33 private java.lang.Object __equalsCalc = null;
\r
34 private boolean __hashCodeCalc = false;
\r
40 public WsJobId(java.lang.String jobId, int status)
\r
43 this.status = status;
\r
47 * Gets the jobId value for this WsJobId.
\r
51 public java.lang.String getJobId()
\r
57 * Sets the jobId value for this WsJobId.
\r
61 public void setJobId(java.lang.String jobId)
\r
67 * Gets the status value for this WsJobId.
\r
71 public int getStatus()
\r
77 * Sets the status value for this WsJobId.
\r
81 public void setStatus(int status)
\r
83 this.status = status;
\r
86 public synchronized boolean equals(java.lang.Object obj)
\r
88 if (! (obj instanceof WsJobId))
\r
93 WsJobId other = (WsJobId) obj;
\r
105 if (__equalsCalc != null)
\r
107 return (__equalsCalc == obj);
\r
110 __equalsCalc = obj;
\r
114 ( ( (this.jobId == null) && (other.getJobId() == null)) ||
\r
115 ( (this.jobId != null) && this.jobId.equals(other.getJobId()))) &&
\r
116 (this.status == other.getStatus());
\r
117 __equalsCalc = null;
\r
122 public synchronized int hashCode()
\r
124 if (__hashCodeCalc)
\r
129 __hashCodeCalc = true;
\r
133 if (getJobId() != null)
\r
135 _hashCode += getJobId().hashCode();
\r
138 _hashCode += getStatus();
\r
139 __hashCodeCalc = false;
\r