| 7905 |
manish.sha |
1 |
/**
|
|
|
2 |
* CompletedTagDetail.java
|
|
|
3 |
*
|
|
|
4 |
* This file was auto-generated from WSDL
|
|
|
5 |
* by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
|
|
|
6 |
*/
|
|
|
7 |
|
|
|
8 |
package com.fedex.ship.stub;
|
|
|
9 |
|
|
|
10 |
|
|
|
11 |
/**
|
|
|
12 |
* Provides reply information specific to a tag request.
|
|
|
13 |
*/
|
|
|
14 |
public class CompletedTagDetail implements java.io.Serializable {
|
|
|
15 |
/* . */
|
|
|
16 |
private java.lang.String confirmationNumber;
|
|
|
17 |
|
|
|
18 |
/* As of June 2007, returned only for FedEx Express services. */
|
|
|
19 |
private org.apache.axis.types.Duration accessTime;
|
|
|
20 |
|
|
|
21 |
/* As of June 2007, returned only for FedEx Express services. */
|
|
|
22 |
private org.apache.axis.types.Time cutoffTime;
|
|
|
23 |
|
|
|
24 |
/* As of June 2007, returned only for FedEx Express services. */
|
|
|
25 |
private java.lang.String location;
|
|
|
26 |
|
|
|
27 |
/* As of June 2007, returned only for FedEx Express services. */
|
|
|
28 |
private java.util.Calendar deliveryCommitment;
|
|
|
29 |
|
|
|
30 |
/* FEDEX INTERNAL USE ONLY: for use by INET. */
|
|
|
31 |
private java.util.Date dispatchDate;
|
|
|
32 |
|
|
|
33 |
public CompletedTagDetail() {
|
|
|
34 |
}
|
|
|
35 |
|
|
|
36 |
public CompletedTagDetail(
|
|
|
37 |
java.lang.String confirmationNumber,
|
|
|
38 |
org.apache.axis.types.Duration accessTime,
|
|
|
39 |
org.apache.axis.types.Time cutoffTime,
|
|
|
40 |
java.lang.String location,
|
|
|
41 |
java.util.Calendar deliveryCommitment,
|
|
|
42 |
java.util.Date dispatchDate) {
|
|
|
43 |
this.confirmationNumber = confirmationNumber;
|
|
|
44 |
this.accessTime = accessTime;
|
|
|
45 |
this.cutoffTime = cutoffTime;
|
|
|
46 |
this.location = location;
|
|
|
47 |
this.deliveryCommitment = deliveryCommitment;
|
|
|
48 |
this.dispatchDate = dispatchDate;
|
|
|
49 |
}
|
|
|
50 |
|
|
|
51 |
|
|
|
52 |
/**
|
|
|
53 |
* Gets the confirmationNumber value for this CompletedTagDetail.
|
|
|
54 |
*
|
|
|
55 |
* @return confirmationNumber * .
|
|
|
56 |
*/
|
|
|
57 |
public java.lang.String getConfirmationNumber() {
|
|
|
58 |
return confirmationNumber;
|
|
|
59 |
}
|
|
|
60 |
|
|
|
61 |
|
|
|
62 |
/**
|
|
|
63 |
* Sets the confirmationNumber value for this CompletedTagDetail.
|
|
|
64 |
*
|
|
|
65 |
* @param confirmationNumber * .
|
|
|
66 |
*/
|
|
|
67 |
public void setConfirmationNumber(java.lang.String confirmationNumber) {
|
|
|
68 |
this.confirmationNumber = confirmationNumber;
|
|
|
69 |
}
|
|
|
70 |
|
|
|
71 |
|
|
|
72 |
/**
|
|
|
73 |
* Gets the accessTime value for this CompletedTagDetail.
|
|
|
74 |
*
|
|
|
75 |
* @return accessTime * As of June 2007, returned only for FedEx Express services.
|
|
|
76 |
*/
|
|
|
77 |
public org.apache.axis.types.Duration getAccessTime() {
|
|
|
78 |
return accessTime;
|
|
|
79 |
}
|
|
|
80 |
|
|
|
81 |
|
|
|
82 |
/**
|
|
|
83 |
* Sets the accessTime value for this CompletedTagDetail.
|
|
|
84 |
*
|
|
|
85 |
* @param accessTime * As of June 2007, returned only for FedEx Express services.
|
|
|
86 |
*/
|
|
|
87 |
public void setAccessTime(org.apache.axis.types.Duration accessTime) {
|
|
|
88 |
this.accessTime = accessTime;
|
|
|
89 |
}
|
|
|
90 |
|
|
|
91 |
|
|
|
92 |
/**
|
|
|
93 |
* Gets the cutoffTime value for this CompletedTagDetail.
|
|
|
94 |
*
|
|
|
95 |
* @return cutoffTime * As of June 2007, returned only for FedEx Express services.
|
|
|
96 |
*/
|
|
|
97 |
public org.apache.axis.types.Time getCutoffTime() {
|
|
|
98 |
return cutoffTime;
|
|
|
99 |
}
|
|
|
100 |
|
|
|
101 |
|
|
|
102 |
/**
|
|
|
103 |
* Sets the cutoffTime value for this CompletedTagDetail.
|
|
|
104 |
*
|
|
|
105 |
* @param cutoffTime * As of June 2007, returned only for FedEx Express services.
|
|
|
106 |
*/
|
|
|
107 |
public void setCutoffTime(org.apache.axis.types.Time cutoffTime) {
|
|
|
108 |
this.cutoffTime = cutoffTime;
|
|
|
109 |
}
|
|
|
110 |
|
|
|
111 |
|
|
|
112 |
/**
|
|
|
113 |
* Gets the location value for this CompletedTagDetail.
|
|
|
114 |
*
|
|
|
115 |
* @return location * As of June 2007, returned only for FedEx Express services.
|
|
|
116 |
*/
|
|
|
117 |
public java.lang.String getLocation() {
|
|
|
118 |
return location;
|
|
|
119 |
}
|
|
|
120 |
|
|
|
121 |
|
|
|
122 |
/**
|
|
|
123 |
* Sets the location value for this CompletedTagDetail.
|
|
|
124 |
*
|
|
|
125 |
* @param location * As of June 2007, returned only for FedEx Express services.
|
|
|
126 |
*/
|
|
|
127 |
public void setLocation(java.lang.String location) {
|
|
|
128 |
this.location = location;
|
|
|
129 |
}
|
|
|
130 |
|
|
|
131 |
|
|
|
132 |
/**
|
|
|
133 |
* Gets the deliveryCommitment value for this CompletedTagDetail.
|
|
|
134 |
*
|
|
|
135 |
* @return deliveryCommitment * As of June 2007, returned only for FedEx Express services.
|
|
|
136 |
*/
|
|
|
137 |
public java.util.Calendar getDeliveryCommitment() {
|
|
|
138 |
return deliveryCommitment;
|
|
|
139 |
}
|
|
|
140 |
|
|
|
141 |
|
|
|
142 |
/**
|
|
|
143 |
* Sets the deliveryCommitment value for this CompletedTagDetail.
|
|
|
144 |
*
|
|
|
145 |
* @param deliveryCommitment * As of June 2007, returned only for FedEx Express services.
|
|
|
146 |
*/
|
|
|
147 |
public void setDeliveryCommitment(java.util.Calendar deliveryCommitment) {
|
|
|
148 |
this.deliveryCommitment = deliveryCommitment;
|
|
|
149 |
}
|
|
|
150 |
|
|
|
151 |
|
|
|
152 |
/**
|
|
|
153 |
* Gets the dispatchDate value for this CompletedTagDetail.
|
|
|
154 |
*
|
|
|
155 |
* @return dispatchDate * FEDEX INTERNAL USE ONLY: for use by INET.
|
|
|
156 |
*/
|
|
|
157 |
public java.util.Date getDispatchDate() {
|
|
|
158 |
return dispatchDate;
|
|
|
159 |
}
|
|
|
160 |
|
|
|
161 |
|
|
|
162 |
/**
|
|
|
163 |
* Sets the dispatchDate value for this CompletedTagDetail.
|
|
|
164 |
*
|
|
|
165 |
* @param dispatchDate * FEDEX INTERNAL USE ONLY: for use by INET.
|
|
|
166 |
*/
|
|
|
167 |
public void setDispatchDate(java.util.Date dispatchDate) {
|
|
|
168 |
this.dispatchDate = dispatchDate;
|
|
|
169 |
}
|
|
|
170 |
|
|
|
171 |
private java.lang.Object __equalsCalc = null;
|
|
|
172 |
public synchronized boolean equals(java.lang.Object obj) {
|
|
|
173 |
if (!(obj instanceof CompletedTagDetail)) return false;
|
|
|
174 |
CompletedTagDetail other = (CompletedTagDetail) obj;
|
|
|
175 |
if (obj == null) return false;
|
|
|
176 |
if (this == obj) return true;
|
|
|
177 |
if (__equalsCalc != null) {
|
|
|
178 |
return (__equalsCalc == obj);
|
|
|
179 |
}
|
|
|
180 |
__equalsCalc = obj;
|
|
|
181 |
boolean _equals;
|
|
|
182 |
_equals = true &&
|
|
|
183 |
((this.confirmationNumber==null && other.getConfirmationNumber()==null) ||
|
|
|
184 |
(this.confirmationNumber!=null &&
|
|
|
185 |
this.confirmationNumber.equals(other.getConfirmationNumber()))) &&
|
|
|
186 |
((this.accessTime==null && other.getAccessTime()==null) ||
|
|
|
187 |
(this.accessTime!=null &&
|
|
|
188 |
this.accessTime.equals(other.getAccessTime()))) &&
|
|
|
189 |
((this.cutoffTime==null && other.getCutoffTime()==null) ||
|
|
|
190 |
(this.cutoffTime!=null &&
|
|
|
191 |
this.cutoffTime.equals(other.getCutoffTime()))) &&
|
|
|
192 |
((this.location==null && other.getLocation()==null) ||
|
|
|
193 |
(this.location!=null &&
|
|
|
194 |
this.location.equals(other.getLocation()))) &&
|
|
|
195 |
((this.deliveryCommitment==null && other.getDeliveryCommitment()==null) ||
|
|
|
196 |
(this.deliveryCommitment!=null &&
|
|
|
197 |
this.deliveryCommitment.equals(other.getDeliveryCommitment()))) &&
|
|
|
198 |
((this.dispatchDate==null && other.getDispatchDate()==null) ||
|
|
|
199 |
(this.dispatchDate!=null &&
|
|
|
200 |
this.dispatchDate.equals(other.getDispatchDate())));
|
|
|
201 |
__equalsCalc = null;
|
|
|
202 |
return _equals;
|
|
|
203 |
}
|
|
|
204 |
|
|
|
205 |
private boolean __hashCodeCalc = false;
|
|
|
206 |
public synchronized int hashCode() {
|
|
|
207 |
if (__hashCodeCalc) {
|
|
|
208 |
return 0;
|
|
|
209 |
}
|
|
|
210 |
__hashCodeCalc = true;
|
|
|
211 |
int _hashCode = 1;
|
|
|
212 |
if (getConfirmationNumber() != null) {
|
|
|
213 |
_hashCode += getConfirmationNumber().hashCode();
|
|
|
214 |
}
|
|
|
215 |
if (getAccessTime() != null) {
|
|
|
216 |
_hashCode += getAccessTime().hashCode();
|
|
|
217 |
}
|
|
|
218 |
if (getCutoffTime() != null) {
|
|
|
219 |
_hashCode += getCutoffTime().hashCode();
|
|
|
220 |
}
|
|
|
221 |
if (getLocation() != null) {
|
|
|
222 |
_hashCode += getLocation().hashCode();
|
|
|
223 |
}
|
|
|
224 |
if (getDeliveryCommitment() != null) {
|
|
|
225 |
_hashCode += getDeliveryCommitment().hashCode();
|
|
|
226 |
}
|
|
|
227 |
if (getDispatchDate() != null) {
|
|
|
228 |
_hashCode += getDispatchDate().hashCode();
|
|
|
229 |
}
|
|
|
230 |
__hashCodeCalc = false;
|
|
|
231 |
return _hashCode;
|
|
|
232 |
}
|
|
|
233 |
|
|
|
234 |
// Type metadata
|
|
|
235 |
private static org.apache.axis.description.TypeDesc typeDesc =
|
|
|
236 |
new org.apache.axis.description.TypeDesc(CompletedTagDetail.class, true);
|
|
|
237 |
|
|
|
238 |
static {
|
|
|
239 |
typeDesc.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "CompletedTagDetail"));
|
|
|
240 |
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
|
|
|
241 |
elemField.setFieldName("confirmationNumber");
|
|
|
242 |
elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "ConfirmationNumber"));
|
|
|
243 |
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
|
|
244 |
elemField.setNillable(false);
|
|
|
245 |
typeDesc.addFieldDesc(elemField);
|
|
|
246 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
247 |
elemField.setFieldName("accessTime");
|
|
|
248 |
elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "AccessTime"));
|
|
|
249 |
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "duration"));
|
|
|
250 |
elemField.setMinOccurs(0);
|
|
|
251 |
elemField.setNillable(false);
|
|
|
252 |
typeDesc.addFieldDesc(elemField);
|
|
|
253 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
254 |
elemField.setFieldName("cutoffTime");
|
|
|
255 |
elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "CutoffTime"));
|
|
|
256 |
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "time"));
|
|
|
257 |
elemField.setMinOccurs(0);
|
|
|
258 |
elemField.setNillable(false);
|
|
|
259 |
typeDesc.addFieldDesc(elemField);
|
|
|
260 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
261 |
elemField.setFieldName("location");
|
|
|
262 |
elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "Location"));
|
|
|
263 |
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
|
|
264 |
elemField.setMinOccurs(0);
|
|
|
265 |
elemField.setNillable(false);
|
|
|
266 |
typeDesc.addFieldDesc(elemField);
|
|
|
267 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
268 |
elemField.setFieldName("deliveryCommitment");
|
|
|
269 |
elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "DeliveryCommitment"));
|
|
|
270 |
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime"));
|
|
|
271 |
elemField.setMinOccurs(0);
|
|
|
272 |
elemField.setNillable(false);
|
|
|
273 |
typeDesc.addFieldDesc(elemField);
|
|
|
274 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
275 |
elemField.setFieldName("dispatchDate");
|
|
|
276 |
elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "DispatchDate"));
|
|
|
277 |
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "date"));
|
|
|
278 |
elemField.setMinOccurs(0);
|
|
|
279 |
elemField.setNillable(false);
|
|
|
280 |
typeDesc.addFieldDesc(elemField);
|
|
|
281 |
}
|
|
|
282 |
|
|
|
283 |
/**
|
|
|
284 |
* Return type metadata object
|
|
|
285 |
*/
|
|
|
286 |
public static org.apache.axis.description.TypeDesc getTypeDesc() {
|
|
|
287 |
return typeDesc;
|
|
|
288 |
}
|
|
|
289 |
|
|
|
290 |
/**
|
|
|
291 |
* Get Custom Serializer
|
|
|
292 |
*/
|
|
|
293 |
public static org.apache.axis.encoding.Serializer getSerializer(
|
|
|
294 |
java.lang.String mechType,
|
|
|
295 |
java.lang.Class _javaType,
|
|
|
296 |
javax.xml.namespace.QName _xmlType) {
|
|
|
297 |
return
|
|
|
298 |
new org.apache.axis.encoding.ser.BeanSerializer(
|
|
|
299 |
_javaType, _xmlType, typeDesc);
|
|
|
300 |
}
|
|
|
301 |
|
|
|
302 |
/**
|
|
|
303 |
* Get Custom Deserializer
|
|
|
304 |
*/
|
|
|
305 |
public static org.apache.axis.encoding.Deserializer getDeserializer(
|
|
|
306 |
java.lang.String mechType,
|
|
|
307 |
java.lang.Class _javaType,
|
|
|
308 |
javax.xml.namespace.QName _xmlType) {
|
|
|
309 |
return
|
|
|
310 |
new org.apache.axis.encoding.ser.BeanDeserializer(
|
|
|
311 |
_javaType, _xmlType, typeDesc);
|
|
|
312 |
}
|
|
|
313 |
|
|
|
314 |
}
|