| 20640 |
amit.gupta |
1 |
/**
|
|
|
2 |
* ArrayOfWayBillGenerationStatus.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.bluedart.stub;
|
|
|
9 |
|
|
|
10 |
public class ArrayOfWayBillGenerationStatus implements java.io.Serializable {
|
|
|
11 |
private com.bluedart.stub.WayBillGenerationStatus[] wayBillGenerationStatus;
|
|
|
12 |
|
|
|
13 |
public ArrayOfWayBillGenerationStatus() {
|
|
|
14 |
}
|
|
|
15 |
|
|
|
16 |
public ArrayOfWayBillGenerationStatus(
|
|
|
17 |
com.bluedart.stub.WayBillGenerationStatus[] wayBillGenerationStatus) {
|
|
|
18 |
this.wayBillGenerationStatus = wayBillGenerationStatus;
|
|
|
19 |
}
|
|
|
20 |
|
|
|
21 |
|
|
|
22 |
/**
|
|
|
23 |
* Gets the wayBillGenerationStatus value for this ArrayOfWayBillGenerationStatus.
|
|
|
24 |
*
|
|
|
25 |
* @return wayBillGenerationStatus
|
|
|
26 |
*/
|
|
|
27 |
public com.bluedart.stub.WayBillGenerationStatus[] getWayBillGenerationStatus() {
|
|
|
28 |
return wayBillGenerationStatus;
|
|
|
29 |
}
|
|
|
30 |
|
|
|
31 |
|
|
|
32 |
/**
|
|
|
33 |
* Sets the wayBillGenerationStatus value for this ArrayOfWayBillGenerationStatus.
|
|
|
34 |
*
|
|
|
35 |
* @param wayBillGenerationStatus
|
|
|
36 |
*/
|
|
|
37 |
public void setWayBillGenerationStatus(com.bluedart.stub.WayBillGenerationStatus[] wayBillGenerationStatus) {
|
|
|
38 |
this.wayBillGenerationStatus = wayBillGenerationStatus;
|
|
|
39 |
}
|
|
|
40 |
|
|
|
41 |
public com.bluedart.stub.WayBillGenerationStatus getWayBillGenerationStatus(int i) {
|
|
|
42 |
return this.wayBillGenerationStatus[i];
|
|
|
43 |
}
|
|
|
44 |
|
|
|
45 |
public void setWayBillGenerationStatus(int i, com.bluedart.stub.WayBillGenerationStatus _value) {
|
|
|
46 |
this.wayBillGenerationStatus[i] = _value;
|
|
|
47 |
}
|
|
|
48 |
|
|
|
49 |
private java.lang.Object __equalsCalc = null;
|
|
|
50 |
public synchronized boolean equals(java.lang.Object obj) {
|
|
|
51 |
if (!(obj instanceof ArrayOfWayBillGenerationStatus)) return false;
|
|
|
52 |
ArrayOfWayBillGenerationStatus other = (ArrayOfWayBillGenerationStatus) obj;
|
|
|
53 |
if (obj == null) return false;
|
|
|
54 |
if (this == obj) return true;
|
|
|
55 |
if (__equalsCalc != null) {
|
|
|
56 |
return (__equalsCalc == obj);
|
|
|
57 |
}
|
|
|
58 |
__equalsCalc = obj;
|
|
|
59 |
boolean _equals;
|
|
|
60 |
_equals = true &&
|
|
|
61 |
((this.wayBillGenerationStatus==null && other.getWayBillGenerationStatus()==null) ||
|
|
|
62 |
(this.wayBillGenerationStatus!=null &&
|
|
|
63 |
java.util.Arrays.equals(this.wayBillGenerationStatus, other.getWayBillGenerationStatus())));
|
|
|
64 |
__equalsCalc = null;
|
|
|
65 |
return _equals;
|
|
|
66 |
}
|
|
|
67 |
|
|
|
68 |
private boolean __hashCodeCalc = false;
|
|
|
69 |
public synchronized int hashCode() {
|
|
|
70 |
if (__hashCodeCalc) {
|
|
|
71 |
return 0;
|
|
|
72 |
}
|
|
|
73 |
__hashCodeCalc = true;
|
|
|
74 |
int _hashCode = 1;
|
|
|
75 |
if (getWayBillGenerationStatus() != null) {
|
|
|
76 |
for (int i=0;
|
|
|
77 |
i<java.lang.reflect.Array.getLength(getWayBillGenerationStatus());
|
|
|
78 |
i++) {
|
|
|
79 |
java.lang.Object obj = java.lang.reflect.Array.get(getWayBillGenerationStatus(), i);
|
|
|
80 |
if (obj != null &&
|
|
|
81 |
!obj.getClass().isArray()) {
|
|
|
82 |
_hashCode += obj.hashCode();
|
|
|
83 |
}
|
|
|
84 |
}
|
|
|
85 |
}
|
|
|
86 |
__hashCodeCalc = false;
|
|
|
87 |
return _hashCode;
|
|
|
88 |
}
|
|
|
89 |
|
|
|
90 |
// Type metadata
|
|
|
91 |
private static org.apache.axis.description.TypeDesc typeDesc =
|
|
|
92 |
new org.apache.axis.description.TypeDesc(ArrayOfWayBillGenerationStatus.class, true);
|
|
|
93 |
|
|
|
94 |
static {
|
|
|
95 |
typeDesc.setXmlType(new javax.xml.namespace.QName("http://schemas.datacontract.org/2004/07/SAPI.Entities.WayBillGeneration", "ArrayOfWayBillGenerationStatus"));
|
|
|
96 |
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
|
|
|
97 |
elemField.setFieldName("wayBillGenerationStatus");
|
|
|
98 |
elemField.setXmlName(new javax.xml.namespace.QName("http://schemas.datacontract.org/2004/07/SAPI.Entities.WayBillGeneration", "WayBillGenerationStatus"));
|
|
|
99 |
elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.datacontract.org/2004/07/SAPI.Entities.WayBillGeneration", "WayBillGenerationStatus"));
|
|
|
100 |
elemField.setMinOccurs(0);
|
|
|
101 |
elemField.setNillable(true);
|
|
|
102 |
elemField.setMaxOccursUnbounded(true);
|
|
|
103 |
typeDesc.addFieldDesc(elemField);
|
|
|
104 |
}
|
|
|
105 |
|
|
|
106 |
/**
|
|
|
107 |
* Return type metadata object
|
|
|
108 |
*/
|
|
|
109 |
public static org.apache.axis.description.TypeDesc getTypeDesc() {
|
|
|
110 |
return typeDesc;
|
|
|
111 |
}
|
|
|
112 |
|
|
|
113 |
/**
|
|
|
114 |
* Get Custom Serializer
|
|
|
115 |
*/
|
|
|
116 |
public static org.apache.axis.encoding.Serializer getSerializer(
|
|
|
117 |
java.lang.String mechType,
|
|
|
118 |
java.lang.Class _javaType,
|
|
|
119 |
javax.xml.namespace.QName _xmlType) {
|
|
|
120 |
return
|
|
|
121 |
new org.apache.axis.encoding.ser.BeanSerializer(
|
|
|
122 |
_javaType, _xmlType, typeDesc);
|
|
|
123 |
}
|
|
|
124 |
|
|
|
125 |
/**
|
|
|
126 |
* Get Custom Deserializer
|
|
|
127 |
*/
|
|
|
128 |
public static org.apache.axis.encoding.Deserializer getDeserializer(
|
|
|
129 |
java.lang.String mechType,
|
|
|
130 |
java.lang.Class _javaType,
|
|
|
131 |
javax.xml.namespace.QName _xmlType) {
|
|
|
132 |
return
|
|
|
133 |
new org.apache.axis.encoding.ser.BeanDeserializer(
|
|
|
134 |
_javaType, _xmlType, typeDesc);
|
|
|
135 |
}
|
|
|
136 |
|
|
|
137 |
}
|