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