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 SubmitTrade implements java.io.Serializable
19 {
20 private static final long serialVersionUID = 6724911620302616166L;
21
22 private org.mule.test.usecases.axis.Trade arg0;
23
24 public SubmitTrade()
25 {
26 super();
27 }
28
29 public SubmitTrade(org.mule.test.usecases.axis.Trade arg0)
30 {
31 this.arg0 = arg0;
32 }
33
34
35
36
37
38
39 public org.mule.test.usecases.axis.Trade getArg0()
40 {
41 return arg0;
42 }
43
44
45
46
47
48
49 public void setArg0(org.mule.test.usecases.axis.Trade arg0)
50 {
51 this.arg0 = arg0;
52 }
53
54 private java.lang.Object __equalsCalc = null;
55
56 public synchronized boolean equals(java.lang.Object obj)
57 {
58 if (!(obj instanceof SubmitTrade))
59 {
60 return false;
61 }
62 SubmitTrade other = (SubmitTrade)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.arg0 == null && other.getArg0() == null) || (this.arg0 != null && this.arg0.equals(other.getArg0())));
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 (getArg0() != null)
89 {
90 _hashCode += getArg0().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 SubmitTrade.class, true);
99
100 static
101 {
102 typeDesc.setXmlType(new javax.xml.namespace.QName("http://samples.mule.org/hello", "submitTrade"));
103 org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
104 elemField.setFieldName("arg0");
105 elemField.setXmlName(new javax.xml.namespace.QName("http://samples.mule.org/hello", "arg0"));
106 elemField.setXmlType(new javax.xml.namespace.QName("http://samples.mule.org/hello", "arg0"));
107 elemField.setMinOccurs(0);
108 elemField.setNillable(false);
109 typeDesc.addFieldDesc(elemField);
110 }
111
112
113
114
115 public static org.apache.axis.description.TypeDesc getTypeDesc()
116 {
117 return typeDesc;
118 }
119
120
121
122
123 public static org.apache.axis.encoding.Serializer getSerializer(java.lang.String mechType,
124 java.lang.Class _javaType,
125 javax.xml.namespace.QName _xmlType)
126 {
127 return new org.apache.axis.encoding.ser.BeanSerializer(_javaType, _xmlType, typeDesc);
128 }
129
130
131
132
133 public static org.apache.axis.encoding.Deserializer getDeserializer(java.lang.String mechType,
134 java.lang.Class _javaType,
135 javax.xml.namespace.QName _xmlType)
136 {
137 return new org.apache.axis.encoding.ser.BeanDeserializer(_javaType, _xmlType, typeDesc);
138 }
139
140 }