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
29 public class JpredResult extends ext.vamsas.Result implements java.io.Serializable {
30 private java.lang.String aligfile;
31 private java.lang.String predfile;
33 public JpredResult() {
37 java.lang.String aligfile,
38 java.lang.String predfile) {
39 this.aligfile = aligfile;
40 this.predfile = predfile;
45 * Gets the aligfile value for this JpredResult.
49 public java.lang.String getAligfile() {
55 * Sets the aligfile value for this JpredResult.
59 public void setAligfile(java.lang.String aligfile) {
60 this.aligfile = aligfile;
65 * Gets the predfile value for this JpredResult.
69 public java.lang.String getPredfile() {
75 * Sets the predfile value for this JpredResult.
79 public void setPredfile(java.lang.String predfile) {
80 this.predfile = predfile;
83 private java.lang.Object __equalsCalc = null;
84 public synchronized boolean equals(java.lang.Object obj) {
85 if (!(obj instanceof JpredResult)) return false;
86 JpredResult other = (JpredResult) obj;
87 if (obj == null) return false;
88 if (this == obj) return true;
89 if (__equalsCalc != null) {
90 return (__equalsCalc == obj);
94 _equals = super.equals(obj) &&
95 ((this.aligfile==null && other.getAligfile()==null) ||
96 (this.aligfile!=null &&
97 this.aligfile.equals(other.getAligfile()))) &&
98 ((this.predfile==null && other.getPredfile()==null) ||
99 (this.predfile!=null &&
100 this.predfile.equals(other.getPredfile())));
105 private boolean __hashCodeCalc = false;
106 public synchronized int hashCode() {
107 if (__hashCodeCalc) {
110 __hashCodeCalc = true;
111 int _hashCode = super.hashCode();
112 if (getAligfile() != null) {
113 _hashCode += getAligfile().hashCode();
115 if (getPredfile() != null) {
116 _hashCode += getPredfile().hashCode();
118 __hashCodeCalc = false;
123 private static org.apache.axis.description.TypeDesc typeDesc =
124 new org.apache.axis.description.TypeDesc(JpredResult.class, true);
127 typeDesc.setXmlType(new javax.xml.namespace.QName("http://dataTypes.vamsas", "JpredResult"));
128 org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
129 elemField.setFieldName("aligfile");
130 elemField.setXmlName(new javax.xml.namespace.QName("http://dataTypes.vamsas", "aligfile"));
131 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
132 typeDesc.addFieldDesc(elemField);
133 elemField = new org.apache.axis.description.ElementDesc();
134 elemField.setFieldName("predfile");
135 elemField.setXmlName(new javax.xml.namespace.QName("http://dataTypes.vamsas", "predfile"));
136 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
137 typeDesc.addFieldDesc(elemField);
141 * Return type metadata object
143 public static org.apache.axis.description.TypeDesc getTypeDesc() {
148 * Get Custom Serializer
150 public static org.apache.axis.encoding.Serializer getSerializer(
151 java.lang.String mechType,
152 java.lang.Class _javaType,
153 javax.xml.namespace.QName _xmlType) {
155 new org.apache.axis.encoding.ser.BeanSerializer(
156 _javaType, _xmlType, typeDesc);
160 * Get Custom Deserializer
162 public static org.apache.axis.encoding.Deserializer getDeserializer(
163 java.lang.String mechType,
164 java.lang.Class _javaType,
165 javax.xml.namespace.QName _xmlType) {
167 new org.apache.axis.encoding.ser.BeanDeserializer(
168 _javaType, _xmlType, typeDesc);