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