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