| 7905 |
manish.sha |
1 |
/**
|
|
|
2 |
* GeneralAgencyAgreementDetail.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 |
|
|
|
11 |
/**
|
|
|
12 |
* Data required to produce a General Agency Agreement document. Remaining
|
|
|
13 |
* content (business data) to be defined once requirements have been
|
|
|
14 |
* completed.
|
|
|
15 |
*/
|
|
|
16 |
public class GeneralAgencyAgreementDetail implements java.io.Serializable {
|
|
|
17 |
private com.fedex.ship.stub.ShippingDocumentFormat format;
|
|
|
18 |
|
|
|
19 |
public GeneralAgencyAgreementDetail() {
|
|
|
20 |
}
|
|
|
21 |
|
|
|
22 |
public GeneralAgencyAgreementDetail(
|
|
|
23 |
com.fedex.ship.stub.ShippingDocumentFormat format) {
|
|
|
24 |
this.format = format;
|
|
|
25 |
}
|
|
|
26 |
|
|
|
27 |
|
|
|
28 |
/**
|
|
|
29 |
* Gets the format value for this GeneralAgencyAgreementDetail.
|
|
|
30 |
*
|
|
|
31 |
* @return format
|
|
|
32 |
*/
|
|
|
33 |
public com.fedex.ship.stub.ShippingDocumentFormat getFormat() {
|
|
|
34 |
return format;
|
|
|
35 |
}
|
|
|
36 |
|
|
|
37 |
|
|
|
38 |
/**
|
|
|
39 |
* Sets the format value for this GeneralAgencyAgreementDetail.
|
|
|
40 |
*
|
|
|
41 |
* @param format
|
|
|
42 |
*/
|
|
|
43 |
public void setFormat(com.fedex.ship.stub.ShippingDocumentFormat format) {
|
|
|
44 |
this.format = format;
|
|
|
45 |
}
|
|
|
46 |
|
|
|
47 |
private java.lang.Object __equalsCalc = null;
|
|
|
48 |
public synchronized boolean equals(java.lang.Object obj) {
|
|
|
49 |
if (!(obj instanceof GeneralAgencyAgreementDetail)) return false;
|
|
|
50 |
GeneralAgencyAgreementDetail other = (GeneralAgencyAgreementDetail) obj;
|
|
|
51 |
if (obj == null) return false;
|
|
|
52 |
if (this == obj) return true;
|
|
|
53 |
if (__equalsCalc != null) {
|
|
|
54 |
return (__equalsCalc == obj);
|
|
|
55 |
}
|
|
|
56 |
__equalsCalc = obj;
|
|
|
57 |
boolean _equals;
|
|
|
58 |
_equals = true &&
|
|
|
59 |
((this.format==null && other.getFormat()==null) ||
|
|
|
60 |
(this.format!=null &&
|
|
|
61 |
this.format.equals(other.getFormat())));
|
|
|
62 |
__equalsCalc = null;
|
|
|
63 |
return _equals;
|
|
|
64 |
}
|
|
|
65 |
|
|
|
66 |
private boolean __hashCodeCalc = false;
|
|
|
67 |
public synchronized int hashCode() {
|
|
|
68 |
if (__hashCodeCalc) {
|
|
|
69 |
return 0;
|
|
|
70 |
}
|
|
|
71 |
__hashCodeCalc = true;
|
|
|
72 |
int _hashCode = 1;
|
|
|
73 |
if (getFormat() != null) {
|
|
|
74 |
_hashCode += getFormat().hashCode();
|
|
|
75 |
}
|
|
|
76 |
__hashCodeCalc = false;
|
|
|
77 |
return _hashCode;
|
|
|
78 |
}
|
|
|
79 |
|
|
|
80 |
// Type metadata
|
|
|
81 |
private static org.apache.axis.description.TypeDesc typeDesc =
|
|
|
82 |
new org.apache.axis.description.TypeDesc(GeneralAgencyAgreementDetail.class, true);
|
|
|
83 |
|
|
|
84 |
static {
|
|
|
85 |
typeDesc.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "GeneralAgencyAgreementDetail"));
|
|
|
86 |
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
|
|
|
87 |
elemField.setFieldName("format");
|
|
|
88 |
elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "Format"));
|
|
|
89 |
elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "ShippingDocumentFormat"));
|
|
|
90 |
elemField.setNillable(false);
|
|
|
91 |
typeDesc.addFieldDesc(elemField);
|
|
|
92 |
}
|
|
|
93 |
|
|
|
94 |
/**
|
|
|
95 |
* Return type metadata object
|
|
|
96 |
*/
|
|
|
97 |
public static org.apache.axis.description.TypeDesc getTypeDesc() {
|
|
|
98 |
return typeDesc;
|
|
|
99 |
}
|
|
|
100 |
|
|
|
101 |
/**
|
|
|
102 |
* Get Custom Serializer
|
|
|
103 |
*/
|
|
|
104 |
public static org.apache.axis.encoding.Serializer getSerializer(
|
|
|
105 |
java.lang.String mechType,
|
|
|
106 |
java.lang.Class _javaType,
|
|
|
107 |
javax.xml.namespace.QName _xmlType) {
|
|
|
108 |
return
|
|
|
109 |
new org.apache.axis.encoding.ser.BeanSerializer(
|
|
|
110 |
_javaType, _xmlType, typeDesc);
|
|
|
111 |
}
|
|
|
112 |
|
|
|
113 |
/**
|
|
|
114 |
* Get Custom Deserializer
|
|
|
115 |
*/
|
|
|
116 |
public static org.apache.axis.encoding.Deserializer getDeserializer(
|
|
|
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.BeanDeserializer(
|
|
|
122 |
_javaType, _xmlType, typeDesc);
|
|
|
123 |
}
|
|
|
124 |
|
|
|
125 |
}
|