1
2
3
4
5
6
7
8
9
10
11 package org.mule.test.usecases.axis;
12
13
14
15
16
17
18 public class SubmitTradeResponse implements java.io.Serializable
19 {
20 private static final long serialVersionUID = -1096201474470391609L;
21
22 private org.mule.test.usecases.axis.TradeStatus _return;
23
24 public SubmitTradeResponse()
25 {
26 super();
27 }
28
29 public SubmitTradeResponse(org.mule.test.usecases.axis.TradeStatus _return)
30 {
31 this._return = _return;
32 }
33
34
35
36
37
38
39 public org.mule.test.usecases.axis.TradeStatus get_return()
40 {
41 return _return;
42 }
43
44
45
46
47
48
49 public void set_return(org.mule.test.usecases.axis.TradeStatus _return)
50 {
51 this._return = _return;
52 }
53
54 private java.lang.Object __equalsCalc = null;
55
56 public synchronized boolean equals(java.lang.Object obj)
57 {
58 if (!(obj instanceof SubmitTradeResponse))
59 {
60 return false;
61 }
62 SubmitTradeResponse other = (SubmitTradeResponse)obj;
63 if (this == obj)
64 {
65 return true;
66 }
67 if (__equalsCalc != null)
68 {
69 return (__equalsCalc == obj);
70 }
71 __equalsCalc = obj;
72 boolean _equals;
73 _equals = true && ((this._return == null && other.get_return() == null) || (this._return != null && this._return.equals(other.get_return())));
74 __equalsCalc = null;
75 return _equals;
76 }
77
78 private boolean __hashCodeCalc = false;
79
80 public synchronized int hashCode()
81 {
82 if (__hashCodeCalc)
83 {
84 return 0;
85 }
86 __hashCodeCalc = true;
87 int _hashCode = 1;
88 if (get_return() != null)
89 {
90 _hashCode += get_return().hashCode();
91 }
92 __hashCodeCalc = false;
93 return _hashCode;
94 }
95
96
97 private static org.apache.axis.description.TypeDesc typeDesc = new org.apache.axis.description.TypeDesc(
98 SubmitTradeResponse.class, true);
99
100 static
101 {
102 typeDesc.setXmlType(new javax.xml.namespace.QName("http://samples.mule.org/hello",
103 "submitTradeResponse"));
104 org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
105 elemField.setFieldName("_return");
106 elemField.setXmlName(new javax.xml.namespace.QName("http://samples.mule.org/hello", "return"));
107 elemField.setXmlType(new javax.xml.namespace.QName("http://samples.mule.org/hello", "tradeStatus"));
108 elemField.setMinOccurs(0);
109 elemField.setNillable(false);
110 typeDesc.addFieldDesc(elemField);
111 }
112
113
114
115
116 public static org.apache.axis.description.TypeDesc getTypeDesc()
117 {
118 return typeDesc;
119 }
120
121
122
123
124 public static org.apache.axis.encoding.Serializer getSerializer(java.lang.String mechType,
125 java.lang.Class _javaType,
126 javax.xml.namespace.QName _xmlType)
127 {
128 return new org.apache.axis.encoding.ser.BeanSerializer(_javaType, _xmlType, typeDesc);
129 }
130
131
132
133
134 public static org.apache.axis.encoding.Deserializer getDeserializer(java.lang.String mechType,
135 java.lang.Class _javaType,
136 javax.xml.namespace.QName _xmlType)
137 {
138 return new org.apache.axis.encoding.ser.BeanDeserializer(_javaType, _xmlType, typeDesc);
139 }
140
141 }