| Line 6... |
Line 6... |
| 6 |
*/
|
6 |
*/
|
| 7 |
|
7 |
|
| 8 |
package com.aramex.stub;
|
8 |
package com.aramex.stub;
|
| 9 |
|
9 |
|
| 10 |
public class Shipment implements java.io.Serializable {
|
10 |
public class Shipment implements java.io.Serializable {
|
| 11 |
@Override
|
- |
|
| 12 |
public String toString() {
|
- |
|
| 13 |
return "Shipment [reference1=" + reference1 + ", reference2=" + reference2 + ", reference3=" + reference3 + ", shipper=" + shipper
|
- |
|
| 14 |
+ ", consignee=" + consignee + ", thirdParty=" + thirdParty + ", shippingDateTime=" + shippingDateTime + ", dueDate="
|
- |
|
| 15 |
+ dueDate + ", comments=" + comments + ", pickupLocation=" + pickupLocation + ", operationsInstructions="
|
- |
|
| 16 |
+ operationsInstructions + ", accountingInstrcutions=" + accountingInstrcutions + ", details=" + details + ", attachments="
|
- |
|
| 17 |
+ attachments + ", foreignHAWB=" + foreignHAWB + ", transportType_x0020_=" + transportType_x0020_ + ", pickupGUID="
|
- |
|
| 18 |
+ pickupGUID + ", number=" + number + ", scheduledDelivery=" + scheduledDelivery + "]";
|
- |
|
| 19 |
}
|
- |
|
| 20 |
|
- |
|
| 21 |
private java.lang.String reference1;
|
11 |
private java.lang.String reference1;
|
| 22 |
|
12 |
|
| 23 |
private java.lang.String reference2;
|
13 |
private java.lang.String reference2;
|
| 24 |
|
14 |
|
| 25 |
private java.lang.String reference3;
|
15 |
private java.lang.String reference3;
|
| 26 |
|
16 |
|
| Line 42... |
Line 32... |
| 42 |
|
32 |
|
| 43 |
private java.lang.String accountingInstrcutions;
|
33 |
private java.lang.String accountingInstrcutions;
|
| 44 |
|
34 |
|
| 45 |
private com.aramex.stub.ShipmentDetails details;
|
35 |
private com.aramex.stub.ShipmentDetails details;
|
| 46 |
|
36 |
|
| 47 |
private com.aramex.stub.ArrayOfAttachment attachments;
|
37 |
private com.aramex.stub.Attachment[] attachments;
|
| 48 |
|
38 |
|
| 49 |
private java.lang.String foreignHAWB;
|
39 |
private java.lang.String foreignHAWB;
|
| 50 |
|
40 |
|
| 51 |
private java.lang.Integer transportType_x0020_;
|
41 |
private java.lang.Integer transportType_x0020_;
|
| 52 |
|
42 |
|
| Line 71... |
Line 61... |
| 71 |
java.lang.String comments,
|
61 |
java.lang.String comments,
|
| 72 |
java.lang.String pickupLocation,
|
62 |
java.lang.String pickupLocation,
|
| 73 |
java.lang.String operationsInstructions,
|
63 |
java.lang.String operationsInstructions,
|
| 74 |
java.lang.String accountingInstrcutions,
|
64 |
java.lang.String accountingInstrcutions,
|
| 75 |
com.aramex.stub.ShipmentDetails details,
|
65 |
com.aramex.stub.ShipmentDetails details,
|
| 76 |
com.aramex.stub.ArrayOfAttachment attachments,
|
66 |
com.aramex.stub.Attachment[] attachments,
|
| 77 |
java.lang.String foreignHAWB,
|
67 |
java.lang.String foreignHAWB,
|
| 78 |
java.lang.Integer transportType_x0020_,
|
68 |
java.lang.Integer transportType_x0020_,
|
| 79 |
java.lang.String pickupGUID,
|
69 |
java.lang.String pickupGUID,
|
| 80 |
java.lang.String number,
|
70 |
java.lang.String number,
|
| 81 |
com.aramex.stub.ScheduledDelivery scheduledDelivery) {
|
71 |
com.aramex.stub.ScheduledDelivery scheduledDelivery) {
|
| Line 364... |
Line 354... |
| 364 |
/**
|
354 |
/**
|
| 365 |
* Gets the attachments value for this Shipment.
|
355 |
* Gets the attachments value for this Shipment.
|
| 366 |
*
|
356 |
*
|
| 367 |
* @return attachments
|
357 |
* @return attachments
|
| 368 |
*/
|
358 |
*/
|
| 369 |
public com.aramex.stub.ArrayOfAttachment getAttachments() {
|
359 |
public com.aramex.stub.Attachment[] getAttachments() {
|
| 370 |
return attachments;
|
360 |
return attachments;
|
| 371 |
}
|
361 |
}
|
| 372 |
|
362 |
|
| 373 |
|
363 |
|
| 374 |
/**
|
364 |
/**
|
| 375 |
* Sets the attachments value for this Shipment.
|
365 |
* Sets the attachments value for this Shipment.
|
| 376 |
*
|
366 |
*
|
| 377 |
* @param attachments
|
367 |
* @param attachments
|
| 378 |
*/
|
368 |
*/
|
| 379 |
public void setAttachments(com.aramex.stub.ArrayOfAttachment attachments) {
|
369 |
public void setAttachments(com.aramex.stub.Attachment[] attachments) {
|
| 380 |
this.attachments = attachments;
|
370 |
this.attachments = attachments;
|
| 381 |
}
|
371 |
}
|
| 382 |
|
372 |
|
| 383 |
|
373 |
|
| 384 |
/**
|
374 |
/**
|
| Line 531... |
Line 521... |
| 531 |
((this.details==null && other.getDetails()==null) ||
|
521 |
((this.details==null && other.getDetails()==null) ||
|
| 532 |
(this.details!=null &&
|
522 |
(this.details!=null &&
|
| 533 |
this.details.equals(other.getDetails()))) &&
|
523 |
this.details.equals(other.getDetails()))) &&
|
| 534 |
((this.attachments==null && other.getAttachments()==null) ||
|
524 |
((this.attachments==null && other.getAttachments()==null) ||
|
| 535 |
(this.attachments!=null &&
|
525 |
(this.attachments!=null &&
|
| 536 |
this.attachments.equals(other.getAttachments()))) &&
|
526 |
java.util.Arrays.equals(this.attachments, other.getAttachments()))) &&
|
| 537 |
((this.foreignHAWB==null && other.getForeignHAWB()==null) ||
|
527 |
((this.foreignHAWB==null && other.getForeignHAWB()==null) ||
|
| 538 |
(this.foreignHAWB!=null &&
|
528 |
(this.foreignHAWB!=null &&
|
| 539 |
this.foreignHAWB.equals(other.getForeignHAWB()))) &&
|
529 |
this.foreignHAWB.equals(other.getForeignHAWB()))) &&
|
| 540 |
((this.transportType_x0020_==null && other.getTransportType_x0020_()==null) ||
|
530 |
((this.transportType_x0020_==null && other.getTransportType_x0020_()==null) ||
|
| 541 |
(this.transportType_x0020_!=null &&
|
531 |
(this.transportType_x0020_!=null &&
|
| Line 598... |
Line 588... |
| 598 |
}
|
588 |
}
|
| 599 |
if (getDetails() != null) {
|
589 |
if (getDetails() != null) {
|
| 600 |
_hashCode += getDetails().hashCode();
|
590 |
_hashCode += getDetails().hashCode();
|
| 601 |
}
|
591 |
}
|
| 602 |
if (getAttachments() != null) {
|
592 |
if (getAttachments() != null) {
|
| - |
|
593 |
for (int i=0;
|
| - |
|
594 |
i<java.lang.reflect.Array.getLength(getAttachments());
|
| - |
|
595 |
i++) {
|
| - |
|
596 |
java.lang.Object obj = java.lang.reflect.Array.get(getAttachments(), i);
|
| - |
|
597 |
if (obj != null &&
|
| - |
|
598 |
!obj.getClass().isArray()) {
|
| 603 |
_hashCode += getAttachments().hashCode();
|
599 |
_hashCode += obj.hashCode();
|
| - |
|
600 |
}
|
| - |
|
601 |
}
|
| 604 |
}
|
602 |
}
|
| 605 |
if (getForeignHAWB() != null) {
|
603 |
if (getForeignHAWB() != null) {
|
| 606 |
_hashCode += getForeignHAWB().hashCode();
|
604 |
_hashCode += getForeignHAWB().hashCode();
|
| 607 |
}
|
605 |
}
|
| 608 |
if (getTransportType_x0020_() != null) {
|
606 |
if (getTransportType_x0020_() != null) {
|
| Line 715... |
Line 713... |
| 715 |
elemField.setNillable(true);
|
713 |
elemField.setNillable(true);
|
| 716 |
typeDesc.addFieldDesc(elemField);
|
714 |
typeDesc.addFieldDesc(elemField);
|
| 717 |
elemField = new org.apache.axis.description.ElementDesc();
|
715 |
elemField = new org.apache.axis.description.ElementDesc();
|
| 718 |
elemField.setFieldName("attachments");
|
716 |
elemField.setFieldName("attachments");
|
| 719 |
elemField.setXmlName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "Attachments"));
|
717 |
elemField.setXmlName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "Attachments"));
|
| 720 |
elemField.setXmlType(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "ArrayOfAttachment"));
|
718 |
elemField.setXmlType(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "Attachment"));
|
| 721 |
elemField.setMinOccurs(0);
|
719 |
elemField.setMinOccurs(0);
|
| 722 |
elemField.setNillable(true);
|
720 |
elemField.setNillable(true);
|
| - |
|
721 |
elemField.setItemQName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "Attachment"));
|
| 723 |
typeDesc.addFieldDesc(elemField);
|
722 |
typeDesc.addFieldDesc(elemField);
|
| 724 |
elemField = new org.apache.axis.description.ElementDesc();
|
723 |
elemField = new org.apache.axis.description.ElementDesc();
|
| 725 |
elemField.setFieldName("foreignHAWB");
|
724 |
elemField.setFieldName("foreignHAWB");
|
| 726 |
elemField.setXmlName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "ForeignHAWB"));
|
725 |
elemField.setXmlName(new javax.xml.namespace.QName("http://ws.aramex.net/ShippingAPI/v1/", "ForeignHAWB"));
|
| 727 |
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
726 |
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|