recent rebuild of the JPred client from WSDL2Java
[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 package ext.vamsas;
9
10 public class Secstructpred  implements java.io.Serializable {
11     private java.lang.String output;
12
13     public Secstructpred() {
14     }
15
16     public Secstructpred(
17            java.lang.String output) {
18            this.output = output;
19     }
20
21
22     /**
23      * Gets the output value for this Secstructpred.
24      * 
25      * @return output
26      */
27     public java.lang.String getOutput() {
28         return output;
29     }
30
31
32     /**
33      * Sets the output value for this Secstructpred.
34      * 
35      * @param output
36      */
37     public void setOutput(java.lang.String output) {
38         this.output = output;
39     }
40
41     private java.lang.Object __equalsCalc = null;
42     public synchronized boolean equals(java.lang.Object obj) {
43         if (!(obj instanceof Secstructpred)) return false;
44         Secstructpred other = (Secstructpred) obj;
45         if (obj == null) return false;
46         if (this == obj) return true;
47         if (__equalsCalc != null) {
48             return (__equalsCalc == obj);
49         }
50         __equalsCalc = obj;
51         boolean _equals;
52         _equals = true && 
53             ((this.output==null && other.getOutput()==null) || 
54              (this.output!=null &&
55               this.output.equals(other.getOutput())));
56         __equalsCalc = null;
57         return _equals;
58     }
59
60     private boolean __hashCodeCalc = false;
61     public synchronized int hashCode() {
62         if (__hashCodeCalc) {
63             return 0;
64         }
65         __hashCodeCalc = true;
66         int _hashCode = 1;
67         if (getOutput() != null) {
68             _hashCode += getOutput().hashCode();
69         }
70         __hashCodeCalc = false;
71         return _hashCode;
72     }
73
74     // Type metadata
75     private static org.apache.axis.description.TypeDesc typeDesc =
76         new org.apache.axis.description.TypeDesc(Secstructpred.class, true);
77
78     static {
79         typeDesc.setXmlType(new javax.xml.namespace.QName("http://dataTypes.vamsas", "Secstructpred"));
80         org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
81         elemField.setFieldName("output");
82         elemField.setXmlName(new javax.xml.namespace.QName("http://dataTypes.vamsas", "output"));
83         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
84         typeDesc.addFieldDesc(elemField);
85     }
86
87     /**
88      * Return type metadata object
89      */
90     public static org.apache.axis.description.TypeDesc getTypeDesc() {
91         return typeDesc;
92     }
93
94     /**
95      * Get Custom Serializer
96      */
97     public static org.apache.axis.encoding.Serializer getSerializer(
98            java.lang.String mechType, 
99            java.lang.Class _javaType,  
100            javax.xml.namespace.QName _xmlType) {
101         return 
102           new  org.apache.axis.encoding.ser.BeanSerializer(
103             _javaType, _xmlType, typeDesc);
104     }
105
106     /**
107      * Get Custom Deserializer
108      */
109     public static org.apache.axis.encoding.Deserializer getDeserializer(
110            java.lang.String mechType, 
111            java.lang.Class _javaType,  
112            javax.xml.namespace.QName _xmlType) {
113         return 
114           new  org.apache.axis.encoding.ser.BeanDeserializer(
115             _javaType, _xmlType, typeDesc);
116     }
117
118 }