GPL license added
[jalview.git] / src / ext / vamsas / Secstructpred.java
1 /**
2  * Secstructpred.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 /*
9 * Jalview - A Sequence Alignment Editor and Viewer
10 * Copyright (C) 2005 AM Waterhouse, J Procter, G Barton, M Clamp, S Searle
11 *
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.
16 *
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.
21 *
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
25 */
26
27 package ext.vamsas;
28
29 public class Secstructpred  implements java.io.Serializable {
30     private java.lang.String output;
31
32     public Secstructpred() {
33     }
34
35     public Secstructpred(
36            java.lang.String output) {
37            this.output = output;
38     }
39
40
41     /**
42      * Gets the output value for this Secstructpred.
43      *
44      * @return output
45      */
46     public java.lang.String getOutput() {
47         return output;
48     }
49
50
51     /**
52      * Sets the output value for this Secstructpred.
53      *
54      * @param output
55      */
56     public void setOutput(java.lang.String output) {
57         this.output = output;
58     }
59
60     private java.lang.Object __equalsCalc = null;
61     public synchronized boolean equals(java.lang.Object obj) {
62         if (!(obj instanceof Secstructpred)) return false;
63         Secstructpred other = (Secstructpred) obj;
64         if (obj == null) return false;
65         if (this == obj) return true;
66         if (__equalsCalc != null) {
67             return (__equalsCalc == obj);
68         }
69         __equalsCalc = obj;
70         boolean _equals;
71         _equals = true &&
72             ((this.output==null && other.getOutput()==null) ||
73              (this.output!=null &&
74               this.output.equals(other.getOutput())));
75         __equalsCalc = null;
76         return _equals;
77     }
78
79     private boolean __hashCodeCalc = false;
80     public synchronized int hashCode() {
81         if (__hashCodeCalc) {
82             return 0;
83         }
84         __hashCodeCalc = true;
85         int _hashCode = 1;
86         if (getOutput() != null) {
87             _hashCode += getOutput().hashCode();
88         }
89         __hashCodeCalc = false;
90         return _hashCode;
91     }
92
93     // Type metadata
94     private static org.apache.axis.description.TypeDesc typeDesc =
95         new org.apache.axis.description.TypeDesc(Secstructpred.class, true);
96
97     static {
98         typeDesc.setXmlType(new javax.xml.namespace.QName("http://dataTypes.vamsas", "Secstructpred"));
99         org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
100         elemField.setFieldName("output");
101         elemField.setXmlName(new javax.xml.namespace.QName("http://dataTypes.vamsas", "output"));
102         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
103         typeDesc.addFieldDesc(elemField);
104     }
105
106     /**
107      * Return type metadata object
108      */
109     public static org.apache.axis.description.TypeDesc getTypeDesc() {
110         return typeDesc;
111     }
112
113     /**
114      * Get Custom Serializer
115      */
116     public static org.apache.axis.encoding.Serializer getSerializer(
117            java.lang.String mechType,
118            java.lang.Class _javaType,
119            javax.xml.namespace.QName _xmlType) {
120         return
121           new  org.apache.axis.encoding.ser.BeanSerializer(
122             _javaType, _xmlType, typeDesc);
123     }
124
125     /**
126      * Get Custom Deserializer
127      */
128     public static org.apache.axis.encoding.Deserializer getDeserializer(
129            java.lang.String mechType,
130            java.lang.Class _javaType,
131            javax.xml.namespace.QName _xmlType) {
132         return
133           new  org.apache.axis.encoding.ser.BeanDeserializer(
134             _javaType, _xmlType, typeDesc);
135     }
136
137 }