Subversion Repositories SmartDukaan

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
7905 manish.sha 1
/**
2
 * RadioactivityDetail.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 RadioactivityDetail  implements java.io.Serializable {
11
    private java.math.BigDecimal transportIndex;
12
 
13
    private java.math.BigDecimal surfaceReading;
14
 
15
    private java.math.BigDecimal criticalitySafetyIndex;
16
 
17
    private com.fedex.ship.stub.Dimensions dimensions;
18
 
19
    public RadioactivityDetail() {
20
    }
21
 
22
    public RadioactivityDetail(
23
           java.math.BigDecimal transportIndex,
24
           java.math.BigDecimal surfaceReading,
25
           java.math.BigDecimal criticalitySafetyIndex,
26
           com.fedex.ship.stub.Dimensions dimensions) {
27
           this.transportIndex = transportIndex;
28
           this.surfaceReading = surfaceReading;
29
           this.criticalitySafetyIndex = criticalitySafetyIndex;
30
           this.dimensions = dimensions;
31
    }
32
 
33
 
34
    /**
35
     * Gets the transportIndex value for this RadioactivityDetail.
36
     * 
37
     * @return transportIndex
38
     */
39
    public java.math.BigDecimal getTransportIndex() {
40
        return transportIndex;
41
    }
42
 
43
 
44
    /**
45
     * Sets the transportIndex value for this RadioactivityDetail.
46
     * 
47
     * @param transportIndex
48
     */
49
    public void setTransportIndex(java.math.BigDecimal transportIndex) {
50
        this.transportIndex = transportIndex;
51
    }
52
 
53
 
54
    /**
55
     * Gets the surfaceReading value for this RadioactivityDetail.
56
     * 
57
     * @return surfaceReading
58
     */
59
    public java.math.BigDecimal getSurfaceReading() {
60
        return surfaceReading;
61
    }
62
 
63
 
64
    /**
65
     * Sets the surfaceReading value for this RadioactivityDetail.
66
     * 
67
     * @param surfaceReading
68
     */
69
    public void setSurfaceReading(java.math.BigDecimal surfaceReading) {
70
        this.surfaceReading = surfaceReading;
71
    }
72
 
73
 
74
    /**
75
     * Gets the criticalitySafetyIndex value for this RadioactivityDetail.
76
     * 
77
     * @return criticalitySafetyIndex
78
     */
79
    public java.math.BigDecimal getCriticalitySafetyIndex() {
80
        return criticalitySafetyIndex;
81
    }
82
 
83
 
84
    /**
85
     * Sets the criticalitySafetyIndex value for this RadioactivityDetail.
86
     * 
87
     * @param criticalitySafetyIndex
88
     */
89
    public void setCriticalitySafetyIndex(java.math.BigDecimal criticalitySafetyIndex) {
90
        this.criticalitySafetyIndex = criticalitySafetyIndex;
91
    }
92
 
93
 
94
    /**
95
     * Gets the dimensions value for this RadioactivityDetail.
96
     * 
97
     * @return dimensions
98
     */
99
    public com.fedex.ship.stub.Dimensions getDimensions() {
100
        return dimensions;
101
    }
102
 
103
 
104
    /**
105
     * Sets the dimensions value for this RadioactivityDetail.
106
     * 
107
     * @param dimensions
108
     */
109
    public void setDimensions(com.fedex.ship.stub.Dimensions dimensions) {
110
        this.dimensions = dimensions;
111
    }
112
 
113
    private java.lang.Object __equalsCalc = null;
114
    public synchronized boolean equals(java.lang.Object obj) {
115
        if (!(obj instanceof RadioactivityDetail)) return false;
116
        RadioactivityDetail other = (RadioactivityDetail) obj;
117
        if (obj == null) return false;
118
        if (this == obj) return true;
119
        if (__equalsCalc != null) {
120
            return (__equalsCalc == obj);
121
        }
122
        __equalsCalc = obj;
123
        boolean _equals;
124
        _equals = true && 
125
            ((this.transportIndex==null && other.getTransportIndex()==null) || 
126
             (this.transportIndex!=null &&
127
              this.transportIndex.equals(other.getTransportIndex()))) &&
128
            ((this.surfaceReading==null && other.getSurfaceReading()==null) || 
129
             (this.surfaceReading!=null &&
130
              this.surfaceReading.equals(other.getSurfaceReading()))) &&
131
            ((this.criticalitySafetyIndex==null && other.getCriticalitySafetyIndex()==null) || 
132
             (this.criticalitySafetyIndex!=null &&
133
              this.criticalitySafetyIndex.equals(other.getCriticalitySafetyIndex()))) &&
134
            ((this.dimensions==null && other.getDimensions()==null) || 
135
             (this.dimensions!=null &&
136
              this.dimensions.equals(other.getDimensions())));
137
        __equalsCalc = null;
138
        return _equals;
139
    }
140
 
141
    private boolean __hashCodeCalc = false;
142
    public synchronized int hashCode() {
143
        if (__hashCodeCalc) {
144
            return 0;
145
        }
146
        __hashCodeCalc = true;
147
        int _hashCode = 1;
148
        if (getTransportIndex() != null) {
149
            _hashCode += getTransportIndex().hashCode();
150
        }
151
        if (getSurfaceReading() != null) {
152
            _hashCode += getSurfaceReading().hashCode();
153
        }
154
        if (getCriticalitySafetyIndex() != null) {
155
            _hashCode += getCriticalitySafetyIndex().hashCode();
156
        }
157
        if (getDimensions() != null) {
158
            _hashCode += getDimensions().hashCode();
159
        }
160
        __hashCodeCalc = false;
161
        return _hashCode;
162
    }
163
 
164
    // Type metadata
165
    private static org.apache.axis.description.TypeDesc typeDesc =
166
        new org.apache.axis.description.TypeDesc(RadioactivityDetail.class, true);
167
 
168
    static {
169
        typeDesc.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "RadioactivityDetail"));
170
        org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
171
        elemField.setFieldName("transportIndex");
172
        elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "TransportIndex"));
173
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "decimal"));
174
        elemField.setMinOccurs(0);
175
        elemField.setNillable(false);
176
        typeDesc.addFieldDesc(elemField);
177
        elemField = new org.apache.axis.description.ElementDesc();
178
        elemField.setFieldName("surfaceReading");
179
        elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "SurfaceReading"));
180
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "decimal"));
181
        elemField.setMinOccurs(0);
182
        elemField.setNillable(false);
183
        typeDesc.addFieldDesc(elemField);
184
        elemField = new org.apache.axis.description.ElementDesc();
185
        elemField.setFieldName("criticalitySafetyIndex");
186
        elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "CriticalitySafetyIndex"));
187
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "decimal"));
188
        elemField.setMinOccurs(0);
189
        elemField.setNillable(false);
190
        typeDesc.addFieldDesc(elemField);
191
        elemField = new org.apache.axis.description.ElementDesc();
192
        elemField.setFieldName("dimensions");
193
        elemField.setXmlName(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "Dimensions"));
194
        elemField.setXmlType(new javax.xml.namespace.QName("http://fedex.com/ws/ship/v12", "Dimensions"));
195
        elemField.setMinOccurs(0);
196
        elemField.setNillable(false);
197
        typeDesc.addFieldDesc(elemField);
198
    }
199
 
200
    /**
201
     * Return type metadata object
202
     */
203
    public static org.apache.axis.description.TypeDesc getTypeDesc() {
204
        return typeDesc;
205
    }
206
 
207
    /**
208
     * Get Custom Serializer
209
     */
210
    public static org.apache.axis.encoding.Serializer getSerializer(
211
           java.lang.String mechType, 
212
           java.lang.Class _javaType,  
213
           javax.xml.namespace.QName _xmlType) {
214
        return 
215
          new  org.apache.axis.encoding.ser.BeanSerializer(
216
            _javaType, _xmlType, typeDesc);
217
    }
218
 
219
    /**
220
     * Get Custom Deserializer
221
     */
222
    public static org.apache.axis.encoding.Deserializer getDeserializer(
223
           java.lang.String mechType, 
224
           java.lang.Class _javaType,  
225
           javax.xml.namespace.QName _xmlType) {
226
        return 
227
          new  org.apache.axis.encoding.ser.BeanDeserializer(
228
            _javaType, _xmlType, typeDesc);
229
    }
230
 
231
}