| Line 16... |
Line 16... |
| 16 |
|
16 |
|
| 17 |
private java.lang.String comments;
|
17 |
private java.lang.String comments;
|
| 18 |
|
18 |
|
| 19 |
private java.lang.String reference;
|
19 |
private java.lang.String reference;
|
| 20 |
|
20 |
|
| 21 |
private com.aramex.stub.ArrayOfDimensions piecesDimensions;
|
21 |
private com.aramex.stub.Dimensions[] piecesDimensions;
|
| 22 |
|
22 |
|
| 23 |
private java.lang.String commodityCode;
|
23 |
private java.lang.String commodityCode;
|
| 24 |
|
24 |
|
| 25 |
private java.lang.String goodsDescription;
|
25 |
private java.lang.String goodsDescription;
|
| 26 |
|
26 |
|
| Line 37... |
Line 37... |
| 37 |
java.lang.String packageType,
|
37 |
java.lang.String packageType,
|
| 38 |
int quantity,
|
38 |
int quantity,
|
| 39 |
com.aramex.stub.Weight weight,
|
39 |
com.aramex.stub.Weight weight,
|
| 40 |
java.lang.String comments,
|
40 |
java.lang.String comments,
|
| 41 |
java.lang.String reference,
|
41 |
java.lang.String reference,
|
| 42 |
com.aramex.stub.ArrayOfDimensions piecesDimensions,
|
42 |
com.aramex.stub.Dimensions[] piecesDimensions,
|
| 43 |
java.lang.String commodityCode,
|
43 |
java.lang.String commodityCode,
|
| 44 |
java.lang.String goodsDescription,
|
44 |
java.lang.String goodsDescription,
|
| 45 |
java.lang.String countryOfOrigin,
|
45 |
java.lang.String countryOfOrigin,
|
| 46 |
com.aramex.stub.Money customsValue,
|
46 |
com.aramex.stub.Money customsValue,
|
| 47 |
java.lang.String containerNumber) {
|
47 |
java.lang.String containerNumber) {
|
| Line 162... |
Line 162... |
| 162 |
/**
|
162 |
/**
|
| 163 |
* Gets the piecesDimensions value for this ShipmentItem.
|
163 |
* Gets the piecesDimensions value for this ShipmentItem.
|
| 164 |
*
|
164 |
*
|
| 165 |
* @return piecesDimensions
|
165 |
* @return piecesDimensions
|
| 166 |
*/
|
166 |
*/
|
| 167 |
public com.aramex.stub.ArrayOfDimensions getPiecesDimensions() {
|
167 |
public com.aramex.stub.Dimensions[] getPiecesDimensions() {
|
| 168 |
return piecesDimensions;
|
168 |
return piecesDimensions;
|
| 169 |
}
|
169 |
}
|
| 170 |
|
170 |
|
| 171 |
|
171 |
|
| 172 |
/**
|
172 |
/**
|
| 173 |
* Sets the piecesDimensions value for this ShipmentItem.
|
173 |
* Sets the piecesDimensions value for this ShipmentItem.
|
| 174 |
*
|
174 |
*
|
| 175 |
* @param piecesDimensions
|
175 |
* @param piecesDimensions
|
| 176 |
*/
|
176 |
*/
|
| 177 |
public void setPiecesDimensions(com.aramex.stub.ArrayOfDimensions piecesDimensions) {
|
177 |
public void setPiecesDimensions(com.aramex.stub.Dimensions[] piecesDimensions) {
|
| 178 |
this.piecesDimensions = piecesDimensions;
|
178 |
this.piecesDimensions = piecesDimensions;
|
| 179 |
}
|
179 |
}
|
| 180 |
|
180 |
|
| 181 |
|
181 |
|
| 182 |
/**
|
182 |
/**
|
| Line 303... |
Line 303... |
| 303 |
((this.reference==null && other.getReference()==null) ||
|
303 |
((this.reference==null && other.getReference()==null) ||
|
| 304 |
(this.reference!=null &&
|
304 |
(this.reference!=null &&
|
| 305 |
this.reference.equals(other.getReference()))) &&
|
305 |
this.reference.equals(other.getReference()))) &&
|
| 306 |
((this.piecesDimensions==null && other.getPiecesDimensions()==null) ||
|
306 |
((this.piecesDimensions==null && other.getPiecesDimensions()==null) ||
|
| 307 |
(this.piecesDimensions!=null &&
|
307 |
(this.piecesDimensions!=null &&
|
| 308 |
this.piecesDimensions.equals(other.getPiecesDimensions()))) &&
|
308 |
java.util.Arrays.equals(this.piecesDimensions, other.getPiecesDimensions()))) &&
|
| 309 |
((this.commodityCode==null && other.getCommodityCode()==null) ||
|
309 |
((this.commodityCode==null && other.getCommodityCode()==null) ||
|
| 310 |
(this.commodityCode!=null &&
|
310 |
(this.commodityCode!=null &&
|
| 311 |
this.commodityCode.equals(other.getCommodityCode()))) &&
|
311 |
this.commodityCode.equals(other.getCommodityCode()))) &&
|
| 312 |
((this.goodsDescription==null && other.getGoodsDescription()==null) ||
|
312 |
((this.goodsDescription==null && other.getGoodsDescription()==null) ||
|
| 313 |
(this.goodsDescription!=null &&
|
313 |
(this.goodsDescription!=null &&
|
| Line 344... |
Line 344... |
| 344 |
}
|
344 |
}
|
| 345 |
if (getReference() != null) {
|
345 |
if (getReference() != null) {
|
| 346 |
_hashCode += getReference().hashCode();
|
346 |
_hashCode += getReference().hashCode();
|
| 347 |
}
|
347 |
}
|
| 348 |
if (getPiecesDimensions() != null) {
|
348 |
if (getPiecesDimensions() != null) {
|
| - |
|
349 |
for (int i=0;
|
| - |
|
350 |
i<java.lang.reflect.Array.getLength(getPiecesDimensions());
|
| - |
|
351 |
i++) {
|
| - |
|
352 |
java.lang.Object obj = java.lang.reflect.Array.get(getPiecesDimensions(), i);
|
| - |
|
353 |
if (obj != null &&
|
| - |
|
354 |
!obj.getClass().isArray()) {
|
| 349 |
_hashCode += getPiecesDimensions().hashCode();
|
355 |
_hashCode += obj.hashCode();
|
| - |
|
356 |
}
|
| - |
|
357 |
}
|
| 350 |
}
|
358 |
}
|
| 351 |
if (getCommodityCode() != null) {
|
359 |
if (getCommodityCode() != null) {
|
| 352 |
_hashCode += getCommodityCode().hashCode();
|
360 |
_hashCode += getCommodityCode().hashCode();
|
| 353 |
}
|
361 |
}
|
| 354 |
if (getGoodsDescription() != null) {
|
362 |
if (getGoodsDescription() != null) {
|
| Line 406... |
Line 414... |
| 406 |
elemField.setNillable(true);
|
414 |
elemField.setNillable(true);
|
| 407 |
typeDesc.addFieldDesc(elemField);
|
415 |
typeDesc.addFieldDesc(elemField);
|
| 408 |
elemField = new org.apache.axis.description.ElementDesc();
|
416 |
elemField = new org.apache.axis.description.ElementDesc();
|
| 409 |
elemField.setFieldName("piecesDimensions");
|
417 |
elemField.setFieldName("piecesDimensions");
|
| 410 |
elemField.setXmlName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "PiecesDimensions"));
|
418 |
elemField.setXmlName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "PiecesDimensions"));
|
| 411 |
elemField.setXmlType(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "ArrayOfDimensions"));
|
419 |
elemField.setXmlType(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "Dimensions"));
|
| 412 |
elemField.setMinOccurs(0);
|
420 |
elemField.setMinOccurs(0);
|
| 413 |
elemField.setNillable(true);
|
421 |
elemField.setNillable(true);
|
| - |
|
422 |
elemField.setItemQName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "Dimensions"));
|
| 414 |
typeDesc.addFieldDesc(elemField);
|
423 |
typeDesc.addFieldDesc(elemField);
|
| 415 |
elemField = new org.apache.axis.description.ElementDesc();
|
424 |
elemField = new org.apache.axis.description.ElementDesc();
|
| 416 |
elemField.setFieldName("commodityCode");
|
425 |
elemField.setFieldName("commodityCode");
|
| 417 |
elemField.setXmlName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "CommodityCode"));
|
426 |
elemField.setXmlName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "CommodityCode"));
|
| 418 |
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
427 |
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|