New client code for JPred service includes return of msa and
[jalview.git] / src / ext / vamsas / Msfalignment.java
1 /**
2  * Msfalignment.java
3  *
4  * This file was auto-generated from WSDL
5  * by the Apache Axis 1.2RC3 Feb 28, 2005 (10:15:14 EST) WSDL2Java emitter.
6  */
7
8 package ext.vamsas;
9
10 public class Msfalignment  implements java.io.Serializable {
11     private java.lang.String msf;
12     private java.lang.String notes;
13
14     public Msfalignment() {
15     }
16
17     public Msfalignment(
18            java.lang.String msf,
19            java.lang.String notes) {
20            this.msf = msf;
21            this.notes = notes;
22     }
23
24
25     /**
26      * Gets the msf value for this Msfalignment.
27      * 
28      * @return msf
29      */
30     public java.lang.String getMsf() {
31         return msf;
32     }
33
34
35     /**
36      * Sets the msf value for this Msfalignment.
37      * 
38      * @param msf
39      */
40     public void setMsf(java.lang.String msf) {
41         this.msf = msf;
42     }
43
44
45     /**
46      * Gets the notes value for this Msfalignment.
47      * 
48      * @return notes
49      */
50     public java.lang.String getNotes() {
51         return notes;
52     }
53
54
55     /**
56      * Sets the notes value for this Msfalignment.
57      * 
58      * @param notes
59      */
60     public void setNotes(java.lang.String notes) {
61         this.notes = notes;
62     }
63
64     private java.lang.Object __equalsCalc = null;
65     public synchronized boolean equals(java.lang.Object obj) {
66         if (!(obj instanceof Msfalignment)) return false;
67         Msfalignment other = (Msfalignment) obj;
68         if (obj == null) return false;
69         if (this == obj) return true;
70         if (__equalsCalc != null) {
71             return (__equalsCalc == obj);
72         }
73         __equalsCalc = obj;
74         boolean _equals;
75         _equals = true && 
76             ((this.msf==null && other.getMsf()==null) || 
77              (this.msf!=null &&
78               this.msf.equals(other.getMsf()))) &&
79             ((this.notes==null && other.getNotes()==null) || 
80              (this.notes!=null &&
81               this.notes.equals(other.getNotes())));
82         __equalsCalc = null;
83         return _equals;
84     }
85
86     private boolean __hashCodeCalc = false;
87     public synchronized int hashCode() {
88         if (__hashCodeCalc) {
89             return 0;
90         }
91         __hashCodeCalc = true;
92         int _hashCode = 1;
93         if (getMsf() != null) {
94             _hashCode += getMsf().hashCode();
95         }
96         if (getNotes() != null) {
97             _hashCode += getNotes().hashCode();
98         }
99         __hashCodeCalc = false;
100         return _hashCode;
101     }
102
103     // Type metadata
104     private static org.apache.axis.description.TypeDesc typeDesc =
105         new org.apache.axis.description.TypeDesc(Msfalignment.class, true);
106
107     static {
108         typeDesc.setXmlType(new javax.xml.namespace.QName("http://dataTypes.vamsas", "Msfalignment"));
109         org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
110         elemField.setFieldName("msf");
111         elemField.setXmlName(new javax.xml.namespace.QName("http://dataTypes.vamsas", "msf"));
112         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
113         elemField.setNillable(true);
114         typeDesc.addFieldDesc(elemField);
115         elemField = new org.apache.axis.description.ElementDesc();
116         elemField.setFieldName("notes");
117         elemField.setXmlName(new javax.xml.namespace.QName("http://dataTypes.vamsas", "notes"));
118         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
119         elemField.setNillable(true);
120         typeDesc.addFieldDesc(elemField);
121     }
122
123     /**
124      * Return type metadata object
125      */
126     public static org.apache.axis.description.TypeDesc getTypeDesc() {
127         return typeDesc;
128     }
129
130     /**
131      * Get Custom Serializer
132      */
133     public static org.apache.axis.encoding.Serializer getSerializer(
134            java.lang.String mechType, 
135            java.lang.Class _javaType,  
136            javax.xml.namespace.QName _xmlType) {
137         return 
138           new  org.apache.axis.encoding.ser.BeanSerializer(
139             _javaType, _xmlType, typeDesc);
140     }
141
142     /**
143      * Get Custom Deserializer
144      */
145     public static org.apache.axis.encoding.Deserializer getDeserializer(
146            java.lang.String mechType, 
147            java.lang.Class _javaType,  
148            javax.xml.namespace.QName _xmlType) {
149         return 
150           new  org.apache.axis.encoding.ser.BeanDeserializer(
151             _javaType, _xmlType, typeDesc);
152     }
153
154 }