1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18 package org.apache.axis.message.addressing;
19
20 /***
21 * Class ReplyAfterType
22 */
23 public class ReplyAfterType
24 implements java.io.Serializable, org.apache.axis.encoding.SimpleType {
25
26 /***
27 * Field _value
28 */
29 private org.apache.axis.types.NonNegativeInteger _value;
30
31 /***
32 * Constructor ReplyAfterType
33 */
34 public ReplyAfterType() {
35 }
36
37 /***
38 * Constructor ReplyAfterType
39 *
40 * @param _value
41 */
42 public ReplyAfterType(org.apache.axis.types.NonNegativeInteger _value) {
43 this._value = _value;
44 }
45
46 /***
47 * Simple Types must have a String constructor
48 *
49 * @param _value
50 */
51 public ReplyAfterType(java.lang.String _value) {
52 this._value = new org.apache.axis.types.NonNegativeInteger(_value);
53 }
54
55 /***
56 * Simple Types must have a toString for serializing the value
57 *
58 * @return
59 */
60 public java.lang.String toString() {
61
62 return (_value == null)
63 ? null
64 : _value.toString();
65 }
66
67 /***
68 * Gets the _value value for this ReplyAfterType.
69 *
70 * @return _value
71 */
72 public org.apache.axis.types.NonNegativeInteger get_value() {
73 return _value;
74 }
75
76 /***
77 * Sets the _value value for this ReplyAfterType.
78 *
79 * @param _value
80 */
81 public void set_value(org.apache.axis.types.NonNegativeInteger _value) {
82 this._value = _value;
83 }
84
85 /***
86 * Field __equalsCalc
87 */
88 private java.lang.Object __equalsCalc = null;
89
90 /***
91 * Method equals
92 *
93 * @param obj
94 * @return
95 */
96 public synchronized boolean equals(java.lang.Object obj) {
97
98 if (!(obj instanceof ReplyAfterType)) {
99 return false;
100 }
101
102 ReplyAfterType other = (ReplyAfterType) obj;
103
104 if (obj == null) {
105 return false;
106 }
107
108 if (this == obj) {
109 return true;
110 }
111
112 if (__equalsCalc != null) {
113 return (__equalsCalc == obj);
114 }
115
116 __equalsCalc = obj;
117
118 boolean _equals;
119
120 _equals =
121 true
122 && (((this._value == null) && (other.get_value() == null))
123 || ((this._value != null)
124 && this._value.equals(other.get_value())));
125 __equalsCalc = null;
126
127 return _equals;
128 }
129
130 /***
131 * Field __hashCodeCalc
132 */
133 private boolean __hashCodeCalc = false;
134
135 /***
136 * Method hashCode
137 *
138 * @return
139 */
140 public synchronized int hashCode() {
141 if (__hashCodeCalc) {
142 return 0;
143 }
144
145 __hashCodeCalc = true;
146
147 int _hashCode = 1;
148
149 if (get_value() != null) {
150 _hashCode += get_value().hashCode();
151 }
152
153 __hashCodeCalc = false;
154
155 return _hashCode;
156 }
157
158
159 /***
160 * Field typeDesc
161 */
162 private static org.apache.axis.description.TypeDesc typeDesc =
163 new org.apache.axis.description.TypeDesc(ReplyAfterType.class, true);
164
165 static {
166 typeDesc.setXmlType(new javax.xml.namespace.QName(Constants.NS_URI_ADDRESSING_DEFAULT, "ReplyAfterType"));
167
168 org.apache.axis.description.ElementDesc elemField =
169 new org.apache.axis.description.ElementDesc();
170
171 elemField.setFieldName("_value");
172 elemField.setXmlName(new javax.xml.namespace.QName("", "_value"));
173 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "nonNegativeInteger"));
174 typeDesc.addFieldDesc(elemField);
175 }
176
177 /***
178 * Return type metadata object
179 *
180 * @return
181 */
182 public static org.apache.axis.description.TypeDesc getTypeDesc() {
183 return typeDesc;
184 }
185
186 /***
187 * Get Custom Serializer
188 *
189 * @param mechType
190 * @param _javaType
191 * @param _xmlType
192 * @return
193 */
194 public static org.apache.axis.encoding.Serializer getSerializer(java.lang.String mechType, java.lang.Class _javaType,
195 javax.xml.namespace.QName _xmlType) {
196 return new org.apache.axis.encoding.ser.SimpleSerializer(_javaType,
197 _xmlType, typeDesc);
198 }
199
200 /***
201 * Get Custom Deserializer
202 *
203 * @param mechType
204 * @param _javaType
205 * @param _xmlType
206 * @return
207 */
208 public static org.apache.axis.encoding.Deserializer getDeserializer(java.lang.String mechType, java.lang.Class _javaType,
209 javax.xml.namespace.QName _xmlType) {
210 return new org.apache.axis.encoding.ser.SimpleDeserializer(_javaType,
211 _xmlType, typeDesc);
212 }
213 }