1
2
3
4
5
6
7
8 package org.ogf.srm22;
9
10 public class TGetRequestFileStatus implements java.io.Serializable {
11 private org.apache.axis.types.URI sourceSURL;
12
13 private org.apache.axis.types.UnsignedLong fileSize;
14
15 private org.ogf.srm22.TReturnStatus status;
16
17 private java.lang.Integer estimatedWaitTime;
18
19 private java.lang.Integer remainingPinTime;
20
21 private org.apache.axis.types.URI transferURL;
22
23 private org.ogf.srm22.ArrayOfTExtraInfo transferProtocolInfo;
24
25 public TGetRequestFileStatus() {
26 }
27
28 public TGetRequestFileStatus(
29 org.apache.axis.types.URI sourceSURL,
30 org.apache.axis.types.UnsignedLong fileSize,
31 org.ogf.srm22.TReturnStatus status,
32 java.lang.Integer estimatedWaitTime,
33 java.lang.Integer remainingPinTime,
34 org.apache.axis.types.URI transferURL,
35 org.ogf.srm22.ArrayOfTExtraInfo transferProtocolInfo) {
36 this.sourceSURL = sourceSURL;
37 this.fileSize = fileSize;
38 this.status = status;
39 this.estimatedWaitTime = estimatedWaitTime;
40 this.remainingPinTime = remainingPinTime;
41 this.transferURL = transferURL;
42 this.transferProtocolInfo = transferProtocolInfo;
43 }
44
45
46
47
48
49
50
51 public org.apache.axis.types.URI getSourceSURL() {
52 return sourceSURL;
53 }
54
55
56
57
58
59
60
61 public void setSourceSURL(org.apache.axis.types.URI sourceSURL) {
62 this.sourceSURL = sourceSURL;
63 }
64
65
66
67
68
69
70
71 public org.apache.axis.types.UnsignedLong getFileSize() {
72 return fileSize;
73 }
74
75
76
77
78
79
80
81 public void setFileSize(org.apache.axis.types.UnsignedLong fileSize) {
82 this.fileSize = fileSize;
83 }
84
85
86
87
88
89
90
91 public org.ogf.srm22.TReturnStatus getStatus() {
92 return status;
93 }
94
95
96
97
98
99
100
101 public void setStatus(org.ogf.srm22.TReturnStatus status) {
102 this.status = status;
103 }
104
105
106
107
108
109
110
111 public java.lang.Integer getEstimatedWaitTime() {
112 return estimatedWaitTime;
113 }
114
115
116
117
118
119
120
121 public void setEstimatedWaitTime(java.lang.Integer estimatedWaitTime) {
122 this.estimatedWaitTime = estimatedWaitTime;
123 }
124
125
126
127
128
129
130
131 public java.lang.Integer getRemainingPinTime() {
132 return remainingPinTime;
133 }
134
135
136
137
138
139
140
141 public void setRemainingPinTime(java.lang.Integer remainingPinTime) {
142 this.remainingPinTime = remainingPinTime;
143 }
144
145
146
147
148
149
150
151 public org.apache.axis.types.URI getTransferURL() {
152 return transferURL;
153 }
154
155
156
157
158
159
160
161 public void setTransferURL(org.apache.axis.types.URI transferURL) {
162 this.transferURL = transferURL;
163 }
164
165
166
167
168
169
170
171 public org.ogf.srm22.ArrayOfTExtraInfo getTransferProtocolInfo() {
172 return transferProtocolInfo;
173 }
174
175
176
177
178
179
180
181 public void setTransferProtocolInfo(org.ogf.srm22.ArrayOfTExtraInfo transferProtocolInfo) {
182 this.transferProtocolInfo = transferProtocolInfo;
183 }
184
185 private java.lang.Object __equalsCalc = null;
186 public synchronized boolean equals(java.lang.Object obj) {
187 if (!(obj instanceof TGetRequestFileStatus)) return false;
188 TGetRequestFileStatus other = (TGetRequestFileStatus) obj;
189 if (obj == null) return false;
190 if (this == obj) return true;
191 if (__equalsCalc != null) {
192 return (__equalsCalc == obj);
193 }
194 __equalsCalc = obj;
195 boolean _equals;
196 _equals = true &&
197 ((this.sourceSURL==null && other.getSourceSURL()==null) ||
198 (this.sourceSURL!=null &&
199 this.sourceSURL.equals(other.getSourceSURL()))) &&
200 ((this.fileSize==null && other.getFileSize()==null) ||
201 (this.fileSize!=null &&
202 this.fileSize.equals(other.getFileSize()))) &&
203 ((this.status==null && other.getStatus()==null) ||
204 (this.status!=null &&
205 this.status.equals(other.getStatus()))) &&
206 ((this.estimatedWaitTime==null && other.getEstimatedWaitTime()==null) ||
207 (this.estimatedWaitTime!=null &&
208 this.estimatedWaitTime.equals(other.getEstimatedWaitTime()))) &&
209 ((this.remainingPinTime==null && other.getRemainingPinTime()==null) ||
210 (this.remainingPinTime!=null &&
211 this.remainingPinTime.equals(other.getRemainingPinTime()))) &&
212 ((this.transferURL==null && other.getTransferURL()==null) ||
213 (this.transferURL!=null &&
214 this.transferURL.equals(other.getTransferURL()))) &&
215 ((this.transferProtocolInfo==null && other.getTransferProtocolInfo()==null) ||
216 (this.transferProtocolInfo!=null &&
217 this.transferProtocolInfo.equals(other.getTransferProtocolInfo())));
218 __equalsCalc = null;
219 return _equals;
220 }
221
222 private boolean __hashCodeCalc = false;
223 public synchronized int hashCode() {
224 if (__hashCodeCalc) {
225 return 0;
226 }
227 __hashCodeCalc = true;
228 int _hashCode = 1;
229 if (getSourceSURL() != null) {
230 _hashCode += getSourceSURL().hashCode();
231 }
232 if (getFileSize() != null) {
233 _hashCode += getFileSize().hashCode();
234 }
235 if (getStatus() != null) {
236 _hashCode += getStatus().hashCode();
237 }
238 if (getEstimatedWaitTime() != null) {
239 _hashCode += getEstimatedWaitTime().hashCode();
240 }
241 if (getRemainingPinTime() != null) {
242 _hashCode += getRemainingPinTime().hashCode();
243 }
244 if (getTransferURL() != null) {
245 _hashCode += getTransferURL().hashCode();
246 }
247 if (getTransferProtocolInfo() != null) {
248 _hashCode += getTransferProtocolInfo().hashCode();
249 }
250 __hashCodeCalc = false;
251 return _hashCode;
252 }
253
254
255 private static org.apache.axis.description.TypeDesc typeDesc =
256 new org.apache.axis.description.TypeDesc(TGetRequestFileStatus.class, true);
257
258 static {
259 typeDesc.setXmlType(new javax.xml.namespace.QName("http://srm.lbl.gov/StorageResourceManager", "TGetRequestFileStatus"));
260 org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
261 elemField.setFieldName("sourceSURL");
262 elemField.setXmlName(new javax.xml.namespace.QName("", "sourceSURL"));
263 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "anyURI"));
264 elemField.setNillable(false);
265 typeDesc.addFieldDesc(elemField);
266 elemField = new org.apache.axis.description.ElementDesc();
267 elemField.setFieldName("fileSize");
268 elemField.setXmlName(new javax.xml.namespace.QName("", "fileSize"));
269 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "unsignedLong"));
270 elemField.setMinOccurs(0);
271 elemField.setNillable(true);
272 typeDesc.addFieldDesc(elemField);
273 elemField = new org.apache.axis.description.ElementDesc();
274 elemField.setFieldName("status");
275 elemField.setXmlName(new javax.xml.namespace.QName("", "status"));
276 elemField.setXmlType(new javax.xml.namespace.QName("http://srm.lbl.gov/StorageResourceManager", "TReturnStatus"));
277 elemField.setNillable(false);
278 typeDesc.addFieldDesc(elemField);
279 elemField = new org.apache.axis.description.ElementDesc();
280 elemField.setFieldName("estimatedWaitTime");
281 elemField.setXmlName(new javax.xml.namespace.QName("", "estimatedWaitTime"));
282 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"));
283 elemField.setMinOccurs(0);
284 elemField.setNillable(true);
285 typeDesc.addFieldDesc(elemField);
286 elemField = new org.apache.axis.description.ElementDesc();
287 elemField.setFieldName("remainingPinTime");
288 elemField.setXmlName(new javax.xml.namespace.QName("", "remainingPinTime"));
289 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"));
290 elemField.setMinOccurs(0);
291 elemField.setNillable(true);
292 typeDesc.addFieldDesc(elemField);
293 elemField = new org.apache.axis.description.ElementDesc();
294 elemField.setFieldName("transferURL");
295 elemField.setXmlName(new javax.xml.namespace.QName("", "transferURL"));
296 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "anyURI"));
297 elemField.setMinOccurs(0);
298 elemField.setNillable(true);
299 typeDesc.addFieldDesc(elemField);
300 elemField = new org.apache.axis.description.ElementDesc();
301 elemField.setFieldName("transferProtocolInfo");
302 elemField.setXmlName(new javax.xml.namespace.QName("", "transferProtocolInfo"));
303 elemField.setXmlType(new javax.xml.namespace.QName("http://srm.lbl.gov/StorageResourceManager", "ArrayOfTExtraInfo"));
304 elemField.setMinOccurs(0);
305 elemField.setNillable(true);
306 typeDesc.addFieldDesc(elemField);
307 }
308
309
310
311
312 public static org.apache.axis.description.TypeDesc getTypeDesc() {
313 return typeDesc;
314 }
315
316
317
318
319 public static org.apache.axis.encoding.Serializer getSerializer(
320 java.lang.String mechType,
321 java.lang.Class _javaType,
322 javax.xml.namespace.QName _xmlType) {
323 return
324 new org.apache.axis.encoding.ser.BeanSerializer(
325 _javaType, _xmlType, typeDesc);
326 }
327
328
329
330
331 public static org.apache.axis.encoding.Deserializer getDeserializer(
332 java.lang.String mechType,
333 java.lang.Class _javaType,
334 javax.xml.namespace.QName _xmlType) {
335 return
336 new org.apache.axis.encoding.ser.BeanDeserializer(
337 _javaType, _xmlType, typeDesc);
338 }
339
340 }