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
27 package vamsas.objects.simple;
29 public class MsaResult extends vamsas.objects.simple.Result implements java.io.Serializable {
30 private vamsas.objects.simple.Alignment msa;
36 vamsas.objects.simple.Alignment msa) {
42 * Gets the msa value for this MsaResult.
46 public vamsas.objects.simple.Alignment getMsa() {
52 * Sets the msa value for this MsaResult.
56 public void setMsa(vamsas.objects.simple.Alignment msa) {
60 private java.lang.Object __equalsCalc = null;
61 public synchronized boolean equals(java.lang.Object obj) {
62 if (!(obj instanceof MsaResult)) return false;
63 MsaResult other = (MsaResult) obj;
64 if (obj == null) return false;
65 if (this == obj) return true;
66 if (__equalsCalc != null) {
67 return (__equalsCalc == obj);
71 _equals = super.equals(obj) &&
72 ((this.msa==null && other.getMsa()==null) ||
74 this.msa.equals(other.getMsa())));
79 private boolean __hashCodeCalc = false;
80 public synchronized int hashCode() {
84 __hashCodeCalc = true;
85 int _hashCode = super.hashCode();
86 if (getMsa() != null) {
87 _hashCode += getMsa().hashCode();
89 __hashCodeCalc = false;