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