| 7905 |
manish.sha |
1 |
/**
|
|
|
2 |
* DocTabZoneSpecification.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 DocTabZoneSpecification implements java.io.Serializable {
|
|
|
11 |
/* Zone number can be between 1 and 12. */
|
|
|
12 |
private org.apache.axis.types.PositiveInteger zoneNumber;
|
|
|
13 |
|
|
|
14 |
/* Header value on this zone. */
|
|
|
15 |
private java.lang.String header;
|
|
|
16 |
|
|
|
17 |
/* Reference path to the element in the request/reply whose value
|
|
|
18 |
* should be printed on this zone. */
|
|
|
19 |
private java.lang.String dataField;
|
|
|
20 |
|
|
|
21 |
/* Free form-text to be printed in this zone. */
|
|
|
22 |
private java.lang.String literalValue;
|
|
|
23 |
|
|
|
24 |
/* Justification for the text printed on this zone. */
|
|
|
25 |
private com.fedex.ship.stub.DocTabZoneJustificationType justification;
|
|
|
26 |
|
|
|
27 |
public DocTabZoneSpecification() {
|
|
|
28 |
}
|
|
|
29 |
|
|
|
30 |
public DocTabZoneSpecification(
|
|
|
31 |
org.apache.axis.types.PositiveInteger zoneNumber,
|
|
|
32 |
java.lang.String header,
|
|
|
33 |
java.lang.String dataField,
|
|
|
34 |
java.lang.String literalValue,
|
|
|
35 |
com.fedex.ship.stub.DocTabZoneJustificationType justification) {
|
|
|
36 |
this.zoneNumber = zoneNumber;
|
|
|
37 |
this.header = header;
|
|
|
38 |
this.dataField = dataField;
|
|
|
39 |
this.literalValue = literalValue;
|
|
|
40 |
this.justification = justification;
|
|
|
41 |
}
|
|
|
42 |
|
|
|
43 |
|
|
|
44 |
/**
|
|
|
45 |
* Gets the zoneNumber value for this DocTabZoneSpecification.
|
|
|
46 |
*
|
|
|
47 |
* @return zoneNumber * Zone number can be between 1 and 12.
|
|
|
48 |
*/
|
|
|
49 |
public org.apache.axis.types.PositiveInteger getZoneNumber() {
|
|
|
50 |
return zoneNumber;
|
|
|
51 |
}
|
|
|
52 |
|
|
|
53 |
|
|
|
54 |
/**
|
|
|
55 |
* Sets the zoneNumber value for this DocTabZoneSpecification.
|
|
|
56 |
*
|
|
|
57 |
* @param zoneNumber * Zone number can be between 1 and 12.
|
|
|
58 |
*/
|
|
|
59 |
public void setZoneNumber(org.apache.axis.types.PositiveInteger zoneNumber) {
|
|
|
60 |
this.zoneNumber = zoneNumber;
|
|
|
61 |
}
|
|
|
62 |
|
|
|
63 |
|
|
|
64 |
/**
|
|
|
65 |
* Gets the header value for this DocTabZoneSpecification.
|
|
|
66 |
*
|
|
|
67 |
* @return header * Header value on this zone.
|
|
|
68 |
*/
|
|
|
69 |
public java.lang.String getHeader() {
|
|
|
70 |
return header;
|
|
|
71 |
}
|
|
|
72 |
|
|
|
73 |
|
|
|
74 |
/**
|
|
|
75 |
* Sets the header value for this DocTabZoneSpecification.
|
|
|
76 |
*
|
|
|
77 |
* @param header * Header value on this zone.
|
|
|
78 |
*/
|
|
|
79 |
public void setHeader(java.lang.String header) {
|
|
|
80 |
this.header = header;
|
|
|
81 |
}
|
|
|
82 |
|
|
|
83 |
|
|
|
84 |
/**
|
|
|
85 |
* Gets the dataField value for this DocTabZoneSpecification.
|
|
|
86 |
*
|
|
|
87 |
* @return dataField * Reference path to the element in the request/reply whose value
|
|
|
88 |
* should be printed on this zone.
|
|
|
89 |
*/
|
|
|
90 |
public java.lang.String getDataField() {
|
|
|
91 |
return dataField;
|
|
|
92 |
}
|
|
|
93 |
|
|
|
94 |
|
|
|
95 |
/**
|
|
|
96 |
* Sets the dataField value for this DocTabZoneSpecification.
|
|
|
97 |
*
|
|
|
98 |
* @param dataField * Reference path to the element in the request/reply whose value
|
|
|
99 |
* should be printed on this zone.
|
|
|
100 |
*/
|
|
|
101 |
public void setDataField(java.lang.String dataField) {
|
|
|
102 |
this.dataField = dataField;
|
|
|
103 |
}
|
|
|
104 |
|
|
|
105 |
|
|
|
106 |
/**
|
|
|
107 |
* Gets the literalValue value for this DocTabZoneSpecification.
|
|
|
108 |
*
|
|
|
109 |
* @return literalValue * Free form-text to be printed in this zone.
|
|
|
110 |
*/
|
|
|
111 |
public java.lang.String getLiteralValue() {
|
|
|
112 |
return literalValue;
|
|
|
113 |
}
|
|
|
114 |
|
|
|
115 |
|
|
|
116 |
/**
|
|
|
117 |
* Sets the literalValue value for this DocTabZoneSpecification.
|
|
|
118 |
*
|
|
|
119 |
* @param literalValue * Free form-text to be printed in this zone.
|
|
|
120 |
*/
|
|
|
121 |
public void setLiteralValue(java.lang.String literalValue) {
|
|
|
122 |
this.literalValue = literalValue;
|
|
|
123 |
}
|
|
|
124 |
|
|
|
125 |
|
|
|
126 |
/**
|
|
|
127 |
* Gets the justification value for this DocTabZoneSpecification.
|
|
|
128 |
*
|
|
|
129 |
* @return justification * Justification for the text printed on this zone.
|
|
|
130 |
*/
|
|
|
131 |
public com.fedex.ship.stub.DocTabZoneJustificationType getJustification() {
|
|
|
132 |
return justification;
|
|
|
133 |
}
|
|
|
134 |
|
|
|
135 |
|
|
|
136 |
/**
|
|
|
137 |
* Sets the justification value for this DocTabZoneSpecification.
|
|
|
138 |
*
|
|
|
139 |
* @param justification * Justification for the text printed on this zone.
|
|
|
140 |
*/
|
|
|
141 |
public void setJustification(com.fedex.ship.stub.DocTabZoneJustificationType justification) {
|
|
|
142 |
this.justification = justification;
|
|
|
143 |
}
|
|
|
144 |
|
|
|
145 |
private java.lang.Object __equalsCalc = null;
|
|
|
146 |
public synchronized boolean equals(java.lang.Object obj) {
|
|
|
147 |
if (!(obj instanceof DocTabZoneSpecification)) return false;
|
|
|
148 |
DocTabZoneSpecification other = (DocTabZoneSpecification) obj;
|
|
|
149 |
if (obj == null) return false;
|
|
|
150 |
if (this == obj) return true;
|
|
|
151 |
if (__equalsCalc != null) {
|
|
|
152 |
return (__equalsCalc == obj);
|
|
|
153 |
}
|
|
|
154 |
__equalsCalc = obj;
|
|
|
155 |
boolean _equals;
|
|
|
156 |
_equals = true &&
|
|
|
157 |
((this.zoneNumber==null && other.getZoneNumber()==null) ||
|
|
|
158 |
(this.zoneNumber!=null &&
|
|
|
159 |
this.zoneNumber.equals(other.getZoneNumber()))) &&
|
|
|
160 |
((this.header==null && other.getHeader()==null) ||
|
|
|
161 |
(this.header!=null &&
|
|
|
162 |
this.header.equals(other.getHeader()))) &&
|
|
|
163 |
((this.dataField==null && other.getDataField()==null) ||
|
|
|
164 |
(this.dataField!=null &&
|
|
|
165 |
this.dataField.equals(other.getDataField()))) &&
|
|
|
166 |
((this.literalValue==null && other.getLiteralValue()==null) ||
|
|
|
167 |
(this.literalValue!=null &&
|
|
|
168 |
this.literalValue.equals(other.getLiteralValue()))) &&
|
|
|
169 |
((this.justification==null && other.getJustification()==null) ||
|
|
|
170 |
(this.justification!=null &&
|
|
|
171 |
this.justification.equals(other.getJustification())));
|
|
|
172 |
__equalsCalc = null;
|
|
|
173 |
return _equals;
|
|
|
174 |
}
|
|
|
175 |
|
|
|
176 |
private boolean __hashCodeCalc = false;
|
|
|
177 |
public synchronized int hashCode() {
|
|
|
178 |
if (__hashCodeCalc) {
|
|
|
179 |
return 0;
|
|
|
180 |
}
|
|
|
181 |
__hashCodeCalc = true;
|
|
|
182 |
int _hashCode = 1;
|
|
|
183 |
if (getZoneNumber() != null) {
|
|
|
184 |
_hashCode += getZoneNumber().hashCode();
|
|
|
185 |
}
|
|
|
186 |
if (getHeader() != null) {
|
|
|
187 |
_hashCode += getHeader().hashCode();
|
|
|
188 |
}
|
|
|
189 |
if (getDataField() != null) {
|
|
|
190 |
_hashCode += getDataField().hashCode();
|
|
|
191 |
}
|
|
|
192 |
if (getLiteralValue() != null) {
|
|
|
193 |
_hashCode += getLiteralValue().hashCode();
|
|
|
194 |
}
|
|
|
195 |
if (getJustification() != null) {
|
|
|
196 |
_hashCode += getJustification().hashCode();
|
|
|
197 |
}
|
|
|
198 |
__hashCodeCalc = false;
|
|
|
199 |
return _hashCode;
|
|
|
200 |
}
|
|
|
201 |
|
|
|
202 |
// Type metadata
|
|
|
203 |
private static org.apache.axis.description.TypeDesc typeDesc =
|
|
|
204 |
new org.apache.axis.description.TypeDesc(DocTabZoneSpecification.class, true);
|
|
|
205 |
|
|
|
206 |
static {
|
|
|
207 |
typeDesc.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "DocTabZoneSpecification"));
|
|
|
208 |
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
|
|
|
209 |
elemField.setFieldName("zoneNumber");
|
|
|
210 |
elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "ZoneNumber"));
|
|
|
211 |
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "positiveInteger"));
|
|
|
212 |
elemField.setNillable(false);
|
|
|
213 |
typeDesc.addFieldDesc(elemField);
|
|
|
214 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
215 |
elemField.setFieldName("header");
|
|
|
216 |
elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "Header"));
|
|
|
217 |
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
|
|
218 |
elemField.setMinOccurs(0);
|
|
|
219 |
elemField.setNillable(false);
|
|
|
220 |
typeDesc.addFieldDesc(elemField);
|
|
|
221 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
222 |
elemField.setFieldName("dataField");
|
|
|
223 |
elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "DataField"));
|
|
|
224 |
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
|
|
225 |
elemField.setMinOccurs(0);
|
|
|
226 |
elemField.setNillable(false);
|
|
|
227 |
typeDesc.addFieldDesc(elemField);
|
|
|
228 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
229 |
elemField.setFieldName("literalValue");
|
|
|
230 |
elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "LiteralValue"));
|
|
|
231 |
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
|
|
|
232 |
elemField.setMinOccurs(0);
|
|
|
233 |
elemField.setNillable(false);
|
|
|
234 |
typeDesc.addFieldDesc(elemField);
|
|
|
235 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
236 |
elemField.setFieldName("justification");
|
|
|
237 |
elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "Justification"));
|
|
|
238 |
elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "DocTabZoneJustificationType"));
|
|
|
239 |
elemField.setMinOccurs(0);
|
|
|
240 |
elemField.setNillable(false);
|
|
|
241 |
typeDesc.addFieldDesc(elemField);
|
|
|
242 |
}
|
|
|
243 |
|
|
|
244 |
/**
|
|
|
245 |
* Return type metadata object
|
|
|
246 |
*/
|
|
|
247 |
public static org.apache.axis.description.TypeDesc getTypeDesc() {
|
|
|
248 |
return typeDesc;
|
|
|
249 |
}
|
|
|
250 |
|
|
|
251 |
/**
|
|
|
252 |
* Get Custom Serializer
|
|
|
253 |
*/
|
|
|
254 |
public static org.apache.axis.encoding.Serializer getSerializer(
|
|
|
255 |
java.lang.String mechType,
|
|
|
256 |
java.lang.Class _javaType,
|
|
|
257 |
javax.xml.namespace.QName _xmlType) {
|
|
|
258 |
return
|
|
|
259 |
new org.apache.axis.encoding.ser.BeanSerializer(
|
|
|
260 |
_javaType, _xmlType, typeDesc);
|
|
|
261 |
}
|
|
|
262 |
|
|
|
263 |
/**
|
|
|
264 |
* Get Custom Deserializer
|
|
|
265 |
*/
|
|
|
266 |
public static org.apache.axis.encoding.Deserializer getDeserializer(
|
|
|
267 |
java.lang.String mechType,
|
|
|
268 |
java.lang.Class _javaType,
|
|
|
269 |
javax.xml.namespace.QName _xmlType) {
|
|
|
270 |
return
|
|
|
271 |
new org.apache.axis.encoding.ser.BeanDeserializer(
|
|
|
272 |
_javaType, _xmlType, typeDesc);
|
|
|
273 |
}
|
|
|
274 |
|
|
|
275 |
}
|