| 7905 |
manish.sha |
1 |
/**
|
|
|
2 |
* CustomLabelBoxEntry.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 |
* Solid (filled) rectangular area on label.
|
|
|
13 |
*/
|
|
|
14 |
public class CustomLabelBoxEntry implements java.io.Serializable {
|
|
|
15 |
private com.fedex.ship.stub.CustomLabelPosition topLeftCorner;
|
|
|
16 |
|
|
|
17 |
private com.fedex.ship.stub.CustomLabelPosition bottomRightCorner;
|
|
|
18 |
|
|
|
19 |
public CustomLabelBoxEntry() {
|
|
|
20 |
}
|
|
|
21 |
|
|
|
22 |
public CustomLabelBoxEntry(
|
|
|
23 |
com.fedex.ship.stub.CustomLabelPosition topLeftCorner,
|
|
|
24 |
com.fedex.ship.stub.CustomLabelPosition bottomRightCorner) {
|
|
|
25 |
this.topLeftCorner = topLeftCorner;
|
|
|
26 |
this.bottomRightCorner = bottomRightCorner;
|
|
|
27 |
}
|
|
|
28 |
|
|
|
29 |
|
|
|
30 |
/**
|
|
|
31 |
* Gets the topLeftCorner value for this CustomLabelBoxEntry.
|
|
|
32 |
*
|
|
|
33 |
* @return topLeftCorner
|
|
|
34 |
*/
|
|
|
35 |
public com.fedex.ship.stub.CustomLabelPosition getTopLeftCorner() {
|
|
|
36 |
return topLeftCorner;
|
|
|
37 |
}
|
|
|
38 |
|
|
|
39 |
|
|
|
40 |
/**
|
|
|
41 |
* Sets the topLeftCorner value for this CustomLabelBoxEntry.
|
|
|
42 |
*
|
|
|
43 |
* @param topLeftCorner
|
|
|
44 |
*/
|
|
|
45 |
public void setTopLeftCorner(com.fedex.ship.stub.CustomLabelPosition topLeftCorner) {
|
|
|
46 |
this.topLeftCorner = topLeftCorner;
|
|
|
47 |
}
|
|
|
48 |
|
|
|
49 |
|
|
|
50 |
/**
|
|
|
51 |
* Gets the bottomRightCorner value for this CustomLabelBoxEntry.
|
|
|
52 |
*
|
|
|
53 |
* @return bottomRightCorner
|
|
|
54 |
*/
|
|
|
55 |
public com.fedex.ship.stub.CustomLabelPosition getBottomRightCorner() {
|
|
|
56 |
return bottomRightCorner;
|
|
|
57 |
}
|
|
|
58 |
|
|
|
59 |
|
|
|
60 |
/**
|
|
|
61 |
* Sets the bottomRightCorner value for this CustomLabelBoxEntry.
|
|
|
62 |
*
|
|
|
63 |
* @param bottomRightCorner
|
|
|
64 |
*/
|
|
|
65 |
public void setBottomRightCorner(com.fedex.ship.stub.CustomLabelPosition bottomRightCorner) {
|
|
|
66 |
this.bottomRightCorner = bottomRightCorner;
|
|
|
67 |
}
|
|
|
68 |
|
|
|
69 |
private java.lang.Object __equalsCalc = null;
|
|
|
70 |
public synchronized boolean equals(java.lang.Object obj) {
|
|
|
71 |
if (!(obj instanceof CustomLabelBoxEntry)) return false;
|
|
|
72 |
CustomLabelBoxEntry other = (CustomLabelBoxEntry) obj;
|
|
|
73 |
if (obj == null) return false;
|
|
|
74 |
if (this == obj) return true;
|
|
|
75 |
if (__equalsCalc != null) {
|
|
|
76 |
return (__equalsCalc == obj);
|
|
|
77 |
}
|
|
|
78 |
__equalsCalc = obj;
|
|
|
79 |
boolean _equals;
|
|
|
80 |
_equals = true &&
|
|
|
81 |
((this.topLeftCorner==null && other.getTopLeftCorner()==null) ||
|
|
|
82 |
(this.topLeftCorner!=null &&
|
|
|
83 |
this.topLeftCorner.equals(other.getTopLeftCorner()))) &&
|
|
|
84 |
((this.bottomRightCorner==null && other.getBottomRightCorner()==null) ||
|
|
|
85 |
(this.bottomRightCorner!=null &&
|
|
|
86 |
this.bottomRightCorner.equals(other.getBottomRightCorner())));
|
|
|
87 |
__equalsCalc = null;
|
|
|
88 |
return _equals;
|
|
|
89 |
}
|
|
|
90 |
|
|
|
91 |
private boolean __hashCodeCalc = false;
|
|
|
92 |
public synchronized int hashCode() {
|
|
|
93 |
if (__hashCodeCalc) {
|
|
|
94 |
return 0;
|
|
|
95 |
}
|
|
|
96 |
__hashCodeCalc = true;
|
|
|
97 |
int _hashCode = 1;
|
|
|
98 |
if (getTopLeftCorner() != null) {
|
|
|
99 |
_hashCode += getTopLeftCorner().hashCode();
|
|
|
100 |
}
|
|
|
101 |
if (getBottomRightCorner() != null) {
|
|
|
102 |
_hashCode += getBottomRightCorner().hashCode();
|
|
|
103 |
}
|
|
|
104 |
__hashCodeCalc = false;
|
|
|
105 |
return _hashCode;
|
|
|
106 |
}
|
|
|
107 |
|
|
|
108 |
// Type metadata
|
|
|
109 |
private static org.apache.axis.description.TypeDesc typeDesc =
|
|
|
110 |
new org.apache.axis.description.TypeDesc(CustomLabelBoxEntry.class, true);
|
|
|
111 |
|
|
|
112 |
static {
|
|
|
113 |
typeDesc.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "CustomLabelBoxEntry"));
|
|
|
114 |
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
|
|
|
115 |
elemField.setFieldName("topLeftCorner");
|
|
|
116 |
elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "TopLeftCorner"));
|
|
|
117 |
elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "CustomLabelPosition"));
|
|
|
118 |
elemField.setNillable(false);
|
|
|
119 |
typeDesc.addFieldDesc(elemField);
|
|
|
120 |
elemField = new org.apache.axis.description.ElementDesc();
|
|
|
121 |
elemField.setFieldName("bottomRightCorner");
|
|
|
122 |
elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "BottomRightCorner"));
|
|
|
123 |
elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "CustomLabelPosition"));
|
|
|
124 |
elemField.setNillable(false);
|
|
|
125 |
typeDesc.addFieldDesc(elemField);
|
|
|
126 |
}
|
|
|
127 |
|
|
|
128 |
/**
|
|
|
129 |
* Return type metadata object
|
|
|
130 |
*/
|
|
|
131 |
public static org.apache.axis.description.TypeDesc getTypeDesc() {
|
|
|
132 |
return typeDesc;
|
|
|
133 |
}
|
|
|
134 |
|
|
|
135 |
/**
|
|
|
136 |
* Get Custom Serializer
|
|
|
137 |
*/
|
|
|
138 |
public static org.apache.axis.encoding.Serializer getSerializer(
|
|
|
139 |
java.lang.String mechType,
|
|
|
140 |
java.lang.Class _javaType,
|
|
|
141 |
javax.xml.namespace.QName _xmlType) {
|
|
|
142 |
return
|
|
|
143 |
new org.apache.axis.encoding.ser.BeanSerializer(
|
|
|
144 |
_javaType, _xmlType, typeDesc);
|
|
|
145 |
}
|
|
|
146 |
|
|
|
147 |
/**
|
|
|
148 |
* Get Custom Deserializer
|
|
|
149 |
*/
|
|
|
150 |
public static org.apache.axis.encoding.Deserializer getDeserializer(
|
|
|
151 |
java.lang.String mechType,
|
|
|
152 |
java.lang.Class _javaType,
|
|
|
153 |
javax.xml.namespace.QName _xmlType) {
|
|
|
154 |
return
|
|
|
155 |
new org.apache.axis.encoding.ser.BeanDeserializer(
|
|
|
156 |
_javaType, _xmlType, typeDesc);
|
|
|
157 |
}
|
|
|
158 |
|
|
|
159 |
}
|