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