1 /***
2 * QueryStatusSoapyBean.java
3 *
4 * This file was auto-generated from WSDL
5 * by the Apache Axis WSDL2Java emitter.
6 */
7
8 package org.astrogrid.dataservice.service.soap;
9
10 public class QueryStatusSoapyBean implements java.io.Serializable {
11 private java.lang.String queryID;
12 private java.lang.String state;
13 private java.lang.String note;
14
15 public QueryStatusSoapyBean() {
16 }
17
18 public java.lang.String getQueryID() {
19 return queryID;
20 }
21
22 public void setQueryID(java.lang.String queryID) {
23 this.queryID = queryID;
24 }
25
26 public java.lang.String getState() {
27 return state;
28 }
29
30 public void setState(java.lang.String state) {
31 this.state = state;
32 }
33
34 public java.lang.String getNote() {
35 return note;
36 }
37
38 public void setNote(java.lang.String note) {
39 this.note = note;
40 }
41
42 private java.lang.Object __equalsCalc = null;
43 public synchronized boolean equals(java.lang.Object obj) {
44 if (!(obj instanceof QueryStatusSoapyBean)) return false;
45 QueryStatusSoapyBean other = (QueryStatusSoapyBean) obj;
46 if (obj == null) return false;
47 if (this == obj) return true;
48 if (__equalsCalc != null) {
49 return (__equalsCalc == obj);
50 }
51 __equalsCalc = obj;
52 boolean _equals;
53 _equals = true &&
54 ((this.queryID==null && other.getQueryID()==null) ||
55 (this.queryID!=null &&
56 this.queryID.equals(other.getQueryID()))) &&
57 ((this.state==null && other.getState()==null) ||
58 (this.state!=null &&
59 this.state.equals(other.getState()))) &&
60 ((this.note==null && other.getNote()==null) ||
61 (this.note!=null &&
62 this.note.equals(other.getNote())));
63 __equalsCalc = null;
64 return _equals;
65 }
66
67 private boolean __hashCodeCalc = false;
68 public synchronized int hashCode() {
69 if (__hashCodeCalc) {
70 return 0;
71 }
72 __hashCodeCalc = true;
73 int _hashCode = 1;
74 if (getQueryID() != null) {
75 _hashCode += getQueryID().hashCode();
76 }
77 if (getState() != null) {
78 _hashCode += getState().hashCode();
79 }
80 if (getNote() != null) {
81 _hashCode += getNote().hashCode();
82 }
83 __hashCodeCalc = false;
84 return _hashCode;
85 }
86
87
88 private static org.apache.axis.description.TypeDesc typeDesc =
89 new org.apache.axis.description.TypeDesc(QueryStatusSoapyBean.class);
90
91 static {
92 typeDesc.setXmlType(new javax.xml.namespace.QName("http://astrogrid.org/datacenter/axisdataserver/v05", "QueryStatusSoapyBean"));
93 org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
94 elemField.setFieldName("queryID");
95 elemField.setXmlName(new javax.xml.namespace.QName("", "QueryID"));
96 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
97 typeDesc.addFieldDesc(elemField);
98 elemField = new org.apache.axis.description.ElementDesc();
99 elemField.setFieldName("state");
100 elemField.setXmlName(new javax.xml.namespace.QName("", "State"));
101 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
102 typeDesc.addFieldDesc(elemField);
103 elemField = new org.apache.axis.description.ElementDesc();
104 elemField.setFieldName("note");
105 elemField.setXmlName(new javax.xml.namespace.QName("", "Note"));
106 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
107 typeDesc.addFieldDesc(elemField);
108 }
109
110 /***
111 * Return type metadata object
112 */
113 public static org.apache.axis.description.TypeDesc getTypeDesc() {
114 return typeDesc;
115 }
116
117 /***
118 * Get Custom Serializer
119 */
120 public static org.apache.axis.encoding.Serializer getSerializer(
121 java.lang.String mechType,
122 java.lang.Class _javaType,
123 javax.xml.namespace.QName _xmlType) {
124 return
125 new org.apache.axis.encoding.ser.BeanSerializer(
126 _javaType, _xmlType, typeDesc);
127 }
128
129 /***
130 * Get Custom Deserializer
131 */
132 public static org.apache.axis.encoding.Deserializer getDeserializer(
133 java.lang.String mechType,
134 java.lang.Class _javaType,
135 javax.xml.namespace.QName _xmlType) {
136 return
137 new org.apache.axis.encoding.ser.BeanDeserializer(
138 _javaType, _xmlType, typeDesc);
139 }
140
141 }