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