| 7905 |
manish.sha |
1 |
/**
|
|
|
2 |
* UploadDocumentReferenceDetail.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 UploadDocumentReferenceDetail implements java.io.Serializable {
|
|
|
11 |
private org.apache.axis.types.NonNegativeInteger lineNumber;
|
|
|
12 |
|
|
|
13 |
private java.lang.String customerReference;
|
|
|
14 |
|
|
|
15 |
private com.fedex.ship.stub.UploadDocumentProducerType documentProducer;
|
|
|
16 |
|
|
|
17 |
private com.fedex.ship.stub.UploadDocumentType documentType;
|
|
|
18 |
|
|
|
19 |
private java.lang.String documentId;
|
|
|
20 |
|
|
|
21 |
private com.fedex.ship.stub.UploadDocumentIdProducer documentIdProducer;
|
|
|
22 |
|
|
|
23 |
public UploadDocumentReferenceDetail() {
|
|
|
24 |
}
|
|
|
25 |
|
|
|
26 |
public UploadDocumentReferenceDetail(
|
|
|
27 |
org.apache.axis.types.NonNegativeInteger lineNumber,
|
|
|
28 |
java.lang.String customerReference,
|
|
|
29 |
com.fedex.ship.stub.UploadDocumentProducerType documentProducer,
|
|
|
30 |
com.fedex.ship.stub.UploadDocumentType documentType,
|
|
|
31 |
java.lang.String documentId,
|
|
|
32 |
com.fedex.ship.stub.UploadDocumentIdProducer documentIdProducer) {
|
|
|
33 |
this.lineNumber = lineNumber;
|
|
|
34 |
this.customerReference = customerReference;
|
|
|
35 |
this.documentProducer = documentProducer;
|
|
|
36 |
this.documentType = documentType;
|
|
|
37 |
this.documentId = documentId;
|
|
|
38 |
this.documentIdProducer = documentIdProducer;
|
|
|
39 |
}
|
|
|
40 |
|
|
|
41 |
|
|
|
42 |
/**
|
|
|
43 |
* Gets the lineNumber value for this UploadDocumentReferenceDetail.
|
|
|
44 |
*
|
|
|
45 |
* @return lineNumber
|
|
|
46 |
*/
|
|
|
47 |
public org.apache.axis.types.NonNegativeInteger getLineNumber() {
|
|
|
48 |
return lineNumber;
|
|
|
49 |
}
|
|
|
50 |
|
|
|
51 |
|
|
|
52 |
/**
|
|
|
53 |
* Sets the lineNumber value for this UploadDocumentReferenceDetail.
|
|
|
54 |
*
|
|
|
55 |
* @param lineNumber
|
|
|
56 |
*/
|
|
|
57 |
public void setLineNumber(org.apache.axis.types.NonNegativeInteger lineNumber) {
|
|
|
58 |
this.lineNumber = lineNumber;
|
|
|
59 |
}
|
|
|
60 |
|
|
|
61 |
|
|
|
62 |
/**
|
|
|
63 |
* Gets the customerReference value for this UploadDocumentReferenceDetail.
|
|
|
64 |
*
|
|
|
65 |
* @return customerReference
|
|
|
66 |
*/
|
|
|
67 |
public java.lang.String getCustomerReference() {
|
|
|
68 |
return customerReference;
|
|
|
69 |
}
|
|
|
70 |
|
|
|
71 |
|
|
|
72 |
/**
|
|
|
73 |
* Sets the customerReference value for this UploadDocumentReferenceDetail.
|
|
|
74 |
*
|
|
|
75 |
* @param customerReference
|
|
|
76 |
*/
|
|
|
77 |
public void setCustomerReference(java.lang.String customerReference) {
|
|
|
78 |
this.customerReference = customerReference;
|
|
|
79 |
}
|
|
|
80 |
|
|
|
81 |
|
|
|
82 |
/**
|
|
|
83 |
* Gets the documentProducer value for this UploadDocumentReferenceDetail.
|
|
|
84 |
*
|
|
|
85 |
* @return documentProducer
|
|
|
86 |
*/
|
|
|
87 |
public com.fedex.ship.stub.UploadDocumentProducerType getDocumentProducer() {
|
|
|
88 |
return documentProducer;
|
|
|
89 |
}
|
|
|
90 |
|
|
|
91 |
|
|
|
92 |
/**
|
|
|
93 |
* Sets the documentProducer value for this UploadDocumentReferenceDetail.
|
|
|
94 |
*
|
|
|
95 |
* @param documentProducer
|
|
|
96 |
*/
|
|
|
97 |
public void setDocumentProducer(com.fedex.ship.stub.UploadDocumentProducerType documentProducer) {
|
|
|
98 |
this.documentProducer = documentProducer;
|
|
|
99 |
}
|
|
|
100 |
|
|
|
101 |
|
|
|
102 |
/**
|
|
|
103 |
* Gets the documentType value for this UploadDocumentReferenceDetail.
|
|
|
104 |
*
|
|
|
105 |
* @return documentType
|
|
|
106 |
*/
|
|
|
107 |
public com.fedex.ship.stub.UploadDocumentType getDocumentType() {
|
|
|
108 |
return documentType;
|
|
|
109 |
}
|
|
|
110 |
|
|
|
111 |
|
|
|
112 |
/**
|
|
|
113 |
* Sets the documentType value for this UploadDocumentReferenceDetail.
|
|
|
114 |
*
|
|
|
115 |
* @param documentType
|
|
|
116 |
*/
|
|
|
117 |
public void setDocumentType(com.fedex.ship.stub.UploadDocumentType documentType) {
|
|
|
118 |
this.documentType = documentType;
|
|
|
119 |
}
|
|
|
120 |
|
|
|
121 |
|
|
|
122 |
/**
|
|
|
123 |
* Gets the documentId value for this UploadDocumentReferenceDetail.
|
|
|
124 |
*
|
|
|
125 |
* @return documentId
|
|
|
126 |
*/
|
|
|
127 |
public java.lang.String getDocumentId() {
|
|
|
128 |
return documentId;
|
|
|
129 |
}
|
|
|
130 |
|
|
|
131 |
|
|
|
132 |
/**
|
|
|
133 |
* Sets the documentId value for this UploadDocumentReferenceDetail.
|
|
|
134 |
*
|
|
|
135 |
* @param documentId
|
|
|
136 |
*/
|
|
|
137 |
public void setDocumentId(java.lang.String documentId) {
|
|
|
138 |
this.documentId = documentId;
|
|
|
139 |
}
|
|
|
140 |
|
|
|
141 |
|
|
|
142 |
/**
|
|
|
143 |
* Gets the documentIdProducer value for this UploadDocumentReferenceDetail.
|
|
|
144 |
*
|
|
|
145 |
* @return documentIdProducer
|
|
|
146 |
*/
|
|
|
147 |
public com.fedex.ship.stub.UploadDocumentIdProducer getDocumentIdProducer() {
|
|
|
148 |
return documentIdProducer;
|
|
|
149 |
}
|
|
|
150 |
|
|
|
151 |
|
|
|
152 |
/**
|
|
|
153 |
* Sets the documentIdProducer value for this UploadDocumentReferenceDetail.
|
|
|
154 |
*
|
|
|
155 |
* @param documentIdProducer
|
|
|
156 |
*/
|
|
|
157 |
public void setDocumentIdProducer(com.fedex.ship.stub.UploadDocumentIdProducer documentIdProducer) {
|
|
|
158 |
this.documentIdProducer = documentIdProducer;
|
|
|
159 |
}
|
|
|
160 |
|
|
|
161 |
private java.lang.Object __equalsCalc = null;
|
|
|
162 |
public synchronized boolean equals(java.lang.Object obj) {
|
|
|
163 |
if (!(obj instanceof UploadDocumentReferenceDetail)) return false;
|
|
|
164 |
UploadDocumentReferenceDetail other = (UploadDocumentReferenceDetail) obj;
|
|
|
165 |
if (obj == null) return false;
|
|
|
166 |
if (this == obj) return true;
|
|
|
167 |
if (__equalsCalc != null) {
|
|
|
168 |
return (__equalsCalc == obj);
|
|
|
169 |
}
|
|
|
170 |
__equalsCalc = obj;
|
|
|
171 |
boolean _equals;
|
|
|
172 |
_equals = true &&
|
|
|
173 |
((this.lineNumber==null && other.getLineNumber()==null) ||
|
|
|
174 |
(this.lineNumber!=null &&
|
|
|
175 |
this.lineNumber.equals(other.getLineNumber()))) &&
|
|
|
176 |
((this.customerReference==null && other.getCustomerReference()==null) ||
|
|
|
177 |
(this.customerReference!=null &&
|
|
|
178 |
this.customerReference.equals(other.getCustomerReference()))) &&
|
|
|
179 |
((this.documentProducer==null && other.getDocumentProducer()==null) ||
|
|
|
180 |
(this.documentProducer!=null &&
|
|
|
181 |
this.documentProducer.equals(other.getDocumentProducer()))) &&
|
|
|
182 |
((this.documentType==null && other.getDocumentType()==null) ||
|
|
|
183 |
(this.documentType!=null &&
|
|
|
184 |
this.documentType.equals(other.getDocumentType()))) &&
|
|
|
185 |
((this.documentId==null && other.getDocumentId()==null) ||
|
|
|
186 |
(this.documentId!=null &&
|
|
|
187 |
this.documentId.equals(other.getDocumentId()))) &&
|
|
|
188 |
((this.documentIdProducer==null && other.getDocumentIdProducer()==null) ||
|
|
|
189 |
(this.documentIdProducer!=null &&
|
|
|
190 |
this.documentIdProducer.equals(other.getDocumentIdProducer())));
|
|
|
191 |
__equalsCalc = null;
|
|
|
192 |
return _equals;
|
|
|
193 |
}
|
|
|
194 |
|
|
|
195 |
private boolean __hashCodeCalc = false;
|
|
|
196 |
public synchronized int hashCode() {
|
|
|
197 |
if (__hashCodeCalc) {
|
|
|
198 |
return 0;
|
|
|
199 |
}
|
|
|
200 |
__hashCodeCalc = true;
|
|
|
201 |
int _hashCode = 1;
|
|
|
202 |
if (getLineNumber() != null) {
|
|
|
203 |
_hashCode += getLineNumber().hashCode();
|
|
|
204 |
}
|
|
|
205 |
if (getCustomerReference() != null) {
|
|
|
206 |
_hashCode += getCustomerReference().hashCode();
|
|
|
207 |
}
|
|
|
208 |
if (getDocumentProducer() != null) {
|
|
|
209 |
_hashCode += getDocumentProducer().hashCode();
|
|
|
210 |
}
|
|
|
211 |
if (getDocumentType() != null) {
|
|
|
212 |
_hashCode += getDocumentType().hashCode();
|
|
|
213 |
}
|
|
|
214 |
if (getDocumentId() != null) {
|
|
|
215 |
_hashCode += getDocumentId().hashCode();
|
|
|
216 |
}
|
|
|
217 |
if (getDocumentIdProducer() != null) {
|
|
|
218 |
_hashCode += getDocumentIdProducer().hashCode();
|
|
|
219 |
}
|
|
|
220 |
__hashCodeCalc = false;
|
|
|
221 |
return _hashCode;
|
|
|
222 |
}
|
|
|
223 |
|
|
|
224 |
// Type metadata
|
|
|
225 |
private static org.apache.axis.description.TypeDesc typeDesc =
|
|
|
226 |
new org.apache.axis.description.TypeDesc(UploadDocumentReferenceDetail.class, true);
|
|
|
227 |
|
|
|
228 |
static {
|
|
|
229 |
typeDesc.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "UploadDocumentReferenceDetail"));
|
|
|
230 |
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
|
|
|
231 |
elemField.setFieldName("lineNumber");
|
|
|
232 |
elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "LineNumber"));
|
|
|
233 |
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "nonNegativeInteger"));
|
|
|
234 |
elemField.setMinOccurs(0);
|
|
|
235 |
elemField.setNillable(false);
|
|
|
236 |
typeDesc.addFieldDesc(elemField);
|
|
|
237 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
238 |
elemField.setFieldName("customerReference");
|
|
|
239 |
elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "CustomerReference"));
|
|
|
240 |
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
|
|
241 |
elemField.setMinOccurs(0);
|
|
|
242 |
elemField.setNillable(false);
|
|
|
243 |
typeDesc.addFieldDesc(elemField);
|
|
|
244 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
245 |
elemField.setFieldName("documentProducer");
|
|
|
246 |
elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "DocumentProducer"));
|
|
|
247 |
elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "UploadDocumentProducerType"));
|
|
|
248 |
elemField.setMinOccurs(0);
|
|
|
249 |
elemField.setNillable(false);
|
|
|
250 |
typeDesc.addFieldDesc(elemField);
|
|
|
251 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
252 |
elemField.setFieldName("documentType");
|
|
|
253 |
elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "DocumentType"));
|
|
|
254 |
elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "UploadDocumentType"));
|
|
|
255 |
elemField.setMinOccurs(0);
|
|
|
256 |
elemField.setNillable(false);
|
|
|
257 |
typeDesc.addFieldDesc(elemField);
|
|
|
258 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
259 |
elemField.setFieldName("documentId");
|
|
|
260 |
elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "DocumentId"));
|
|
|
261 |
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
|
|
262 |
elemField.setMinOccurs(0);
|
|
|
263 |
elemField.setNillable(false);
|
|
|
264 |
typeDesc.addFieldDesc(elemField);
|
|
|
265 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
266 |
elemField.setFieldName("documentIdProducer");
|
|
|
267 |
elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "DocumentIdProducer"));
|
|
|
268 |
elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "UploadDocumentIdProducer"));
|
|
|
269 |
elemField.setMinOccurs(0);
|
|
|
270 |
elemField.setNillable(false);
|
|
|
271 |
typeDesc.addFieldDesc(elemField);
|
|
|
272 |
}
|
|
|
273 |
|
|
|
274 |
/**
|
|
|
275 |
* Return type metadata object
|
|
|
276 |
*/
|
|
|
277 |
public static org.apache.axis.description.TypeDesc getTypeDesc() {
|
|
|
278 |
return typeDesc;
|
|
|
279 |
}
|
|
|
280 |
|
|
|
281 |
/**
|
|
|
282 |
* Get Custom Serializer
|
|
|
283 |
*/
|
|
|
284 |
public static org.apache.axis.encoding.Serializer getSerializer(
|
|
|
285 |
java.lang.String mechType,
|
|
|
286 |
java.lang.Class _javaType,
|
|
|
287 |
javax.xml.namespace.QName _xmlType) {
|
|
|
288 |
return
|
|
|
289 |
new org.apache.axis.encoding.ser.BeanSerializer(
|
|
|
290 |
_javaType, _xmlType, typeDesc);
|
|
|
291 |
}
|
|
|
292 |
|
|
|
293 |
/**
|
|
|
294 |
* Get Custom Deserializer
|
|
|
295 |
*/
|
|
|
296 |
public static org.apache.axis.encoding.Deserializer getDeserializer(
|
|
|
297 |
java.lang.String mechType,
|
|
|
298 |
java.lang.Class _javaType,
|
|
|
299 |
javax.xml.namespace.QName _xmlType) {
|
|
|
300 |
return
|
|
|
301 |
new org.apache.axis.encoding.ser.BeanDeserializer(
|
|
|
302 |
_javaType, _xmlType, typeDesc);
|
|
|
303 |
}
|
|
|
304 |
|
|
|
305 |
}
|