| 7908 |
manish.sha |
1 |
/**
|
|
|
2 |
* ClientDetail.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.track.stub;
|
|
|
9 |
|
|
|
10 |
|
|
|
11 |
/**
|
|
|
12 |
* Descriptive data for the client submitting a transaction.
|
|
|
13 |
*/
|
|
|
14 |
public class ClientDetail implements java.io.Serializable {
|
|
|
15 |
/* The FedEx account number associated with this transaction. */
|
|
|
16 |
private java.lang.String accountNumber;
|
|
|
17 |
|
|
|
18 |
/* This number is assigned by FedEx and identifies the unique
|
|
|
19 |
* device from which the request is originating */
|
|
|
20 |
private java.lang.String meterNumber;
|
|
|
21 |
|
|
|
22 |
/* Only used in transactions which require identification of the
|
|
|
23 |
* Fed Ex Office integrator. */
|
|
|
24 |
private java.lang.String integratorId;
|
|
|
25 |
|
|
|
26 |
/* The language to be used for human-readable Notification.localizedMessages
|
|
|
27 |
* in responses to the request containing this ClientDetail object. Different
|
|
|
28 |
* requests from the same client may contain different Localization data.
|
|
|
29 |
* (Contrast with TransactionDetail.localization, which governs data
|
|
|
30 |
* payload language/translation.) */
|
|
|
31 |
private com.fedex.track.stub.Localization localization;
|
|
|
32 |
|
|
|
33 |
public ClientDetail() {
|
|
|
34 |
}
|
|
|
35 |
|
|
|
36 |
public ClientDetail(
|
|
|
37 |
java.lang.String accountNumber,
|
|
|
38 |
java.lang.String meterNumber,
|
|
|
39 |
java.lang.String integratorId,
|
|
|
40 |
com.fedex.track.stub.Localization localization) {
|
|
|
41 |
this.accountNumber = accountNumber;
|
|
|
42 |
this.meterNumber = meterNumber;
|
|
|
43 |
this.integratorId = integratorId;
|
|
|
44 |
this.localization = localization;
|
|
|
45 |
}
|
|
|
46 |
|
|
|
47 |
|
|
|
48 |
/**
|
|
|
49 |
* Gets the accountNumber value for this ClientDetail.
|
|
|
50 |
*
|
|
|
51 |
* @return accountNumber * The FedEx account number associated with this transaction.
|
|
|
52 |
*/
|
|
|
53 |
public java.lang.String getAccountNumber() {
|
|
|
54 |
return accountNumber;
|
|
|
55 |
}
|
|
|
56 |
|
|
|
57 |
|
|
|
58 |
/**
|
|
|
59 |
* Sets the accountNumber value for this ClientDetail.
|
|
|
60 |
*
|
|
|
61 |
* @param accountNumber * The FedEx account number associated with this transaction.
|
|
|
62 |
*/
|
|
|
63 |
public void setAccountNumber(java.lang.String accountNumber) {
|
|
|
64 |
this.accountNumber = accountNumber;
|
|
|
65 |
}
|
|
|
66 |
|
|
|
67 |
|
|
|
68 |
/**
|
|
|
69 |
* Gets the meterNumber value for this ClientDetail.
|
|
|
70 |
*
|
|
|
71 |
* @return meterNumber * This number is assigned by FedEx and identifies the unique
|
|
|
72 |
* device from which the request is originating
|
|
|
73 |
*/
|
|
|
74 |
public java.lang.String getMeterNumber() {
|
|
|
75 |
return meterNumber;
|
|
|
76 |
}
|
|
|
77 |
|
|
|
78 |
|
|
|
79 |
/**
|
|
|
80 |
* Sets the meterNumber value for this ClientDetail.
|
|
|
81 |
*
|
|
|
82 |
* @param meterNumber * This number is assigned by FedEx and identifies the unique
|
|
|
83 |
* device from which the request is originating
|
|
|
84 |
*/
|
|
|
85 |
public void setMeterNumber(java.lang.String meterNumber) {
|
|
|
86 |
this.meterNumber = meterNumber;
|
|
|
87 |
}
|
|
|
88 |
|
|
|
89 |
|
|
|
90 |
/**
|
|
|
91 |
* Gets the integratorId value for this ClientDetail.
|
|
|
92 |
*
|
|
|
93 |
* @return integratorId * Only used in transactions which require identification of the
|
|
|
94 |
* Fed Ex Office integrator.
|
|
|
95 |
*/
|
|
|
96 |
public java.lang.String getIntegratorId() {
|
|
|
97 |
return integratorId;
|
|
|
98 |
}
|
|
|
99 |
|
|
|
100 |
|
|
|
101 |
/**
|
|
|
102 |
* Sets the integratorId value for this ClientDetail.
|
|
|
103 |
*
|
|
|
104 |
* @param integratorId * Only used in transactions which require identification of the
|
|
|
105 |
* Fed Ex Office integrator.
|
|
|
106 |
*/
|
|
|
107 |
public void setIntegratorId(java.lang.String integratorId) {
|
|
|
108 |
this.integratorId = integratorId;
|
|
|
109 |
}
|
|
|
110 |
|
|
|
111 |
|
|
|
112 |
/**
|
|
|
113 |
* Gets the localization value for this ClientDetail.
|
|
|
114 |
*
|
|
|
115 |
* @return localization * The language to be used for human-readable Notification.localizedMessages
|
|
|
116 |
* in responses to the request containing this ClientDetail object. Different
|
|
|
117 |
* requests from the same client may contain different Localization data.
|
|
|
118 |
* (Contrast with TransactionDetail.localization, which governs data
|
|
|
119 |
* payload language/translation.)
|
|
|
120 |
*/
|
|
|
121 |
public com.fedex.track.stub.Localization getLocalization() {
|
|
|
122 |
return localization;
|
|
|
123 |
}
|
|
|
124 |
|
|
|
125 |
|
|
|
126 |
/**
|
|
|
127 |
* Sets the localization value for this ClientDetail.
|
|
|
128 |
*
|
|
|
129 |
* @param localization * The language to be used for human-readable Notification.localizedMessages
|
|
|
130 |
* in responses to the request containing this ClientDetail object. Different
|
|
|
131 |
* requests from the same client may contain different Localization data.
|
|
|
132 |
* (Contrast with TransactionDetail.localization, which governs data
|
|
|
133 |
* payload language/translation.)
|
|
|
134 |
*/
|
|
|
135 |
public void setLocalization(com.fedex.track.stub.Localization localization) {
|
|
|
136 |
this.localization = localization;
|
|
|
137 |
}
|
|
|
138 |
|
|
|
139 |
private java.lang.Object __equalsCalc = null;
|
|
|
140 |
public synchronized boolean equals(java.lang.Object obj) {
|
|
|
141 |
if (!(obj instanceof ClientDetail)) return false;
|
|
|
142 |
ClientDetail other = (ClientDetail) obj;
|
|
|
143 |
if (obj == null) return false;
|
|
|
144 |
if (this == obj) return true;
|
|
|
145 |
if (__equalsCalc != null) {
|
|
|
146 |
return (__equalsCalc == obj);
|
|
|
147 |
}
|
|
|
148 |
__equalsCalc = obj;
|
|
|
149 |
boolean _equals;
|
|
|
150 |
_equals = true &&
|
|
|
151 |
((this.accountNumber==null && other.getAccountNumber()==null) ||
|
|
|
152 |
(this.accountNumber!=null &&
|
|
|
153 |
this.accountNumber.equals(other.getAccountNumber()))) &&
|
|
|
154 |
((this.meterNumber==null && other.getMeterNumber()==null) ||
|
|
|
155 |
(this.meterNumber!=null &&
|
|
|
156 |
this.meterNumber.equals(other.getMeterNumber()))) &&
|
|
|
157 |
((this.integratorId==null && other.getIntegratorId()==null) ||
|
|
|
158 |
(this.integratorId!=null &&
|
|
|
159 |
this.integratorId.equals(other.getIntegratorId()))) &&
|
|
|
160 |
((this.localization==null && other.getLocalization()==null) ||
|
|
|
161 |
(this.localization!=null &&
|
|
|
162 |
this.localization.equals(other.getLocalization())));
|
|
|
163 |
__equalsCalc = null;
|
|
|
164 |
return _equals;
|
|
|
165 |
}
|
|
|
166 |
|
|
|
167 |
private boolean __hashCodeCalc = false;
|
|
|
168 |
public synchronized int hashCode() {
|
|
|
169 |
if (__hashCodeCalc) {
|
|
|
170 |
return 0;
|
|
|
171 |
}
|
|
|
172 |
__hashCodeCalc = true;
|
|
|
173 |
int _hashCode = 1;
|
|
|
174 |
if (getAccountNumber() != null) {
|
|
|
175 |
_hashCode += getAccountNumber().hashCode();
|
|
|
176 |
}
|
|
|
177 |
if (getMeterNumber() != null) {
|
|
|
178 |
_hashCode += getMeterNumber().hashCode();
|
|
|
179 |
}
|
|
|
180 |
if (getIntegratorId() != null) {
|
|
|
181 |
_hashCode += getIntegratorId().hashCode();
|
|
|
182 |
}
|
|
|
183 |
if (getLocalization() != null) {
|
|
|
184 |
_hashCode += getLocalization().hashCode();
|
|
|
185 |
}
|
|
|
186 |
__hashCodeCalc = false;
|
|
|
187 |
return _hashCode;
|
|
|
188 |
}
|
|
|
189 |
|
|
|
190 |
// Type metadata
|
|
|
191 |
private static org.apache.axis.description.TypeDesc typeDesc =
|
|
|
192 |
new org.apache.axis.description.TypeDesc(ClientDetail.class, true);
|
|
|
193 |
|
|
|
194 |
static {
|
|
|
195 |
typeDesc.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/track/v6", "ClientDetail"));
|
|
|
196 |
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
|
|
|
197 |
elemField.setFieldName("accountNumber");
|
|
|
198 |
elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/track/v6", "AccountNumber"));
|
|
|
199 |
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
|
|
200 |
elemField.setNillable(false);
|
|
|
201 |
typeDesc.addFieldDesc(elemField);
|
|
|
202 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
203 |
elemField.setFieldName("meterNumber");
|
|
|
204 |
elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/track/v6", "MeterNumber"));
|
|
|
205 |
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
|
|
206 |
elemField.setNillable(false);
|
|
|
207 |
typeDesc.addFieldDesc(elemField);
|
|
|
208 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
209 |
elemField.setFieldName("integratorId");
|
|
|
210 |
elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/track/v6", "IntegratorId"));
|
|
|
211 |
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
|
|
212 |
elemField.setMinOccurs(0);
|
|
|
213 |
elemField.setNillable(false);
|
|
|
214 |
typeDesc.addFieldDesc(elemField);
|
|
|
215 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
216 |
elemField.setFieldName("localization");
|
|
|
217 |
elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/track/v6", "Localization"));
|
|
|
218 |
elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/track/v6", "Localization"));
|
|
|
219 |
elemField.setMinOccurs(0);
|
|
|
220 |
elemField.setNillable(false);
|
|
|
221 |
typeDesc.addFieldDesc(elemField);
|
|
|
222 |
}
|
|
|
223 |
|
|
|
224 |
/**
|
|
|
225 |
* Return type metadata object
|
|
|
226 |
*/
|
|
|
227 |
public static org.apache.axis.description.TypeDesc getTypeDesc() {
|
|
|
228 |
return typeDesc;
|
|
|
229 |
}
|
|
|
230 |
|
|
|
231 |
/**
|
|
|
232 |
* Get Custom Serializer
|
|
|
233 |
*/
|
|
|
234 |
public static org.apache.axis.encoding.Serializer getSerializer(
|
|
|
235 |
java.lang.String mechType,
|
|
|
236 |
java.lang.Class _javaType,
|
|
|
237 |
javax.xml.namespace.QName _xmlType) {
|
|
|
238 |
return
|
|
|
239 |
new org.apache.axis.encoding.ser.BeanSerializer(
|
|
|
240 |
_javaType, _xmlType, typeDesc);
|
|
|
241 |
}
|
|
|
242 |
|
|
|
243 |
/**
|
|
|
244 |
* Get Custom Deserializer
|
|
|
245 |
*/
|
|
|
246 |
public static org.apache.axis.encoding.Deserializer getDeserializer(
|
|
|
247 |
java.lang.String mechType,
|
|
|
248 |
java.lang.Class _javaType,
|
|
|
249 |
javax.xml.namespace.QName _xmlType) {
|
|
|
250 |
return
|
|
|
251 |
new org.apache.axis.encoding.ser.BeanDeserializer(
|
|
|
252 |
_javaType, _xmlType, typeDesc);
|
|
|
253 |
}
|
|
|
254 |
|
|
|
255 |
}
|