| 7905 |
manish.sha |
1 |
/**
|
|
|
2 |
* ReturnAssociationDetail.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 |
public class ReturnAssociationDetail implements java.io.Serializable {
|
|
|
11 |
/* Specifies the tracking number of the master associated with
|
|
|
12 |
* the return shipment. */
|
|
|
13 |
private java.lang.String trackingNumber;
|
|
|
14 |
|
|
|
15 |
private java.util.Date shipDate;
|
|
|
16 |
|
|
|
17 |
public ReturnAssociationDetail() {
|
|
|
18 |
}
|
|
|
19 |
|
|
|
20 |
public ReturnAssociationDetail(
|
|
|
21 |
java.lang.String trackingNumber,
|
|
|
22 |
java.util.Date shipDate) {
|
|
|
23 |
this.trackingNumber = trackingNumber;
|
|
|
24 |
this.shipDate = shipDate;
|
|
|
25 |
}
|
|
|
26 |
|
|
|
27 |
|
|
|
28 |
/**
|
|
|
29 |
* Gets the trackingNumber value for this ReturnAssociationDetail.
|
|
|
30 |
*
|
|
|
31 |
* @return trackingNumber * Specifies the tracking number of the master associated with
|
|
|
32 |
* the return shipment.
|
|
|
33 |
*/
|
|
|
34 |
public java.lang.String getTrackingNumber() {
|
|
|
35 |
return trackingNumber;
|
|
|
36 |
}
|
|
|
37 |
|
|
|
38 |
|
|
|
39 |
/**
|
|
|
40 |
* Sets the trackingNumber value for this ReturnAssociationDetail.
|
|
|
41 |
*
|
|
|
42 |
* @param trackingNumber * Specifies the tracking number of the master associated with
|
|
|
43 |
* the return shipment.
|
|
|
44 |
*/
|
|
|
45 |
public void setTrackingNumber(java.lang.String trackingNumber) {
|
|
|
46 |
this.trackingNumber = trackingNumber;
|
|
|
47 |
}
|
|
|
48 |
|
|
|
49 |
|
|
|
50 |
/**
|
|
|
51 |
* Gets the shipDate value for this ReturnAssociationDetail.
|
|
|
52 |
*
|
|
|
53 |
* @return shipDate
|
|
|
54 |
*/
|
|
|
55 |
public java.util.Date getShipDate() {
|
|
|
56 |
return shipDate;
|
|
|
57 |
}
|
|
|
58 |
|
|
|
59 |
|
|
|
60 |
/**
|
|
|
61 |
* Sets the shipDate value for this ReturnAssociationDetail.
|
|
|
62 |
*
|
|
|
63 |
* @param shipDate
|
|
|
64 |
*/
|
|
|
65 |
public void setShipDate(java.util.Date shipDate) {
|
|
|
66 |
this.shipDate = shipDate;
|
|
|
67 |
}
|
|
|
68 |
|
|
|
69 |
private java.lang.Object __equalsCalc = null;
|
|
|
70 |
public synchronized boolean equals(java.lang.Object obj) {
|
|
|
71 |
if (!(obj instanceof ReturnAssociationDetail)) return false;
|
|
|
72 |
ReturnAssociationDetail other = (ReturnAssociationDetail) obj;
|
|
|
73 |
if (obj == null) return false;
|
|
|
74 |
if (this == obj) return true;
|
|
|
75 |
if (__equalsCalc != null) {
|
|
|
76 |
return (__equalsCalc == obj);
|
|
|
77 |
}
|
|
|
78 |
__equalsCalc = obj;
|
|
|
79 |
boolean _equals;
|
|
|
80 |
_equals = true &&
|
|
|
81 |
((this.trackingNumber==null && other.getTrackingNumber()==null) ||
|
|
|
82 |
(this.trackingNumber!=null &&
|
|
|
83 |
this.trackingNumber.equals(other.getTrackingNumber()))) &&
|
|
|
84 |
((this.shipDate==null && other.getShipDate()==null) ||
|
|
|
85 |
(this.shipDate!=null &&
|
|
|
86 |
this.shipDate.equals(other.getShipDate())));
|
|
|
87 |
__equalsCalc = null;
|
|
|
88 |
return _equals;
|
|
|
89 |
}
|
|
|
90 |
|
|
|
91 |
private boolean __hashCodeCalc = false;
|
|
|
92 |
public synchronized int hashCode() {
|
|
|
93 |
if (__hashCodeCalc) {
|
|
|
94 |
return 0;
|
|
|
95 |
}
|
|
|
96 |
__hashCodeCalc = true;
|
|
|
97 |
int _hashCode = 1;
|
|
|
98 |
if (getTrackingNumber() != null) {
|
|
|
99 |
_hashCode += getTrackingNumber().hashCode();
|
|
|
100 |
}
|
|
|
101 |
if (getShipDate() != null) {
|
|
|
102 |
_hashCode += getShipDate().hashCode();
|
|
|
103 |
}
|
|
|
104 |
__hashCodeCalc = false;
|
|
|
105 |
return _hashCode;
|
|
|
106 |
}
|
|
|
107 |
|
|
|
108 |
// Type metadata
|
|
|
109 |
private static org.apache.axis.description.TypeDesc typeDesc =
|
|
|
110 |
new org.apache.axis.description.TypeDesc(ReturnAssociationDetail.class, true);
|
|
|
111 |
|
|
|
112 |
static {
|
|
|
113 |
typeDesc.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "ReturnAssociationDetail"));
|
|
|
114 |
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
|
|
|
115 |
elemField.setFieldName("trackingNumber");
|
|
|
116 |
elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "TrackingNumber"));
|
|
|
117 |
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
|
|
118 |
elemField.setMinOccurs(0);
|
|
|
119 |
elemField.setNillable(false);
|
|
|
120 |
typeDesc.addFieldDesc(elemField);
|
|
|
121 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
122 |
elemField.setFieldName("shipDate");
|
|
|
123 |
elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "ShipDate"));
|
|
|
124 |
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "date"));
|
|
|
125 |
elemField.setMinOccurs(0);
|
|
|
126 |
elemField.setNillable(false);
|
|
|
127 |
typeDesc.addFieldDesc(elemField);
|
|
|
128 |
}
|
|
|
129 |
|
|
|
130 |
/**
|
|
|
131 |
* Return type metadata object
|
|
|
132 |
*/
|
|
|
133 |
public static org.apache.axis.description.TypeDesc getTypeDesc() {
|
|
|
134 |
return typeDesc;
|
|
|
135 |
}
|
|
|
136 |
|
|
|
137 |
/**
|
|
|
138 |
* Get Custom Serializer
|
|
|
139 |
*/
|
|
|
140 |
public static org.apache.axis.encoding.Serializer getSerializer(
|
|
|
141 |
java.lang.String mechType,
|
|
|
142 |
java.lang.Class _javaType,
|
|
|
143 |
javax.xml.namespace.QName _xmlType) {
|
|
|
144 |
return
|
|
|
145 |
new org.apache.axis.encoding.ser.BeanSerializer(
|
|
|
146 |
_javaType, _xmlType, typeDesc);
|
|
|
147 |
}
|
|
|
148 |
|
|
|
149 |
/**
|
|
|
150 |
* Get Custom Deserializer
|
|
|
151 |
*/
|
|
|
152 |
public static org.apache.axis.encoding.Deserializer getDeserializer(
|
|
|
153 |
java.lang.String mechType,
|
|
|
154 |
java.lang.Class _javaType,
|
|
|
155 |
javax.xml.namespace.QName _xmlType) {
|
|
|
156 |
return
|
|
|
157 |
new org.apache.axis.encoding.ser.BeanDeserializer(
|
|
|
158 |
_javaType, _xmlType, typeDesc);
|
|
|
159 |
}
|
|
|
160 |
|
|
|
161 |
}
|