1
2
3
4
5
6
7
8 package org.ogf.srm22;
9
10 public class SrmStatusOfBringOnlineRequestResponse implements java.io.Serializable {
11 private org.ogf.srm22.TReturnStatus returnStatus;
12
13 private org.ogf.srm22.ArrayOfTBringOnlineRequestFileStatus arrayOfFileStatuses;
14
15 private java.lang.Integer remainingTotalRequestTime;
16
17 private java.lang.Integer remainingDeferredStartTime;
18
19 public SrmStatusOfBringOnlineRequestResponse() {
20 }
21
22 public SrmStatusOfBringOnlineRequestResponse(
23 org.ogf.srm22.TReturnStatus returnStatus,
24 org.ogf.srm22.ArrayOfTBringOnlineRequestFileStatus arrayOfFileStatuses,
25 java.lang.Integer remainingTotalRequestTime,
26 java.lang.Integer remainingDeferredStartTime) {
27 this.returnStatus = returnStatus;
28 this.arrayOfFileStatuses = arrayOfFileStatuses;
29 this.remainingTotalRequestTime = remainingTotalRequestTime;
30 this.remainingDeferredStartTime = remainingDeferredStartTime;
31 }
32
33
34
35
36
37
38
39 public org.ogf.srm22.TReturnStatus getReturnStatus() {
40 return returnStatus;
41 }
42
43
44
45
46
47
48
49 public void setReturnStatus(org.ogf.srm22.TReturnStatus returnStatus) {
50 this.returnStatus = returnStatus;
51 }
52
53
54
55
56
57
58
59 public org.ogf.srm22.ArrayOfTBringOnlineRequestFileStatus getArrayOfFileStatuses() {
60 return arrayOfFileStatuses;
61 }
62
63
64
65
66
67
68
69 public void setArrayOfFileStatuses(org.ogf.srm22.ArrayOfTBringOnlineRequestFileStatus arrayOfFileStatuses) {
70 this.arrayOfFileStatuses = arrayOfFileStatuses;
71 }
72
73
74
75
76
77
78
79 public java.lang.Integer getRemainingTotalRequestTime() {
80 return remainingTotalRequestTime;
81 }
82
83
84
85
86
87
88
89 public void setRemainingTotalRequestTime(java.lang.Integer remainingTotalRequestTime) {
90 this.remainingTotalRequestTime = remainingTotalRequestTime;
91 }
92
93
94
95
96
97
98
99 public java.lang.Integer getRemainingDeferredStartTime() {
100 return remainingDeferredStartTime;
101 }
102
103
104
105
106
107
108
109 public void setRemainingDeferredStartTime(java.lang.Integer remainingDeferredStartTime) {
110 this.remainingDeferredStartTime = remainingDeferredStartTime;
111 }
112
113 private java.lang.Object __equalsCalc = null;
114 public synchronized boolean equals(java.lang.Object obj) {
115 if (!(obj instanceof SrmStatusOfBringOnlineRequestResponse)) return false;
116 SrmStatusOfBringOnlineRequestResponse other = (SrmStatusOfBringOnlineRequestResponse) 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.returnStatus==null && other.getReturnStatus()==null) ||
126 (this.returnStatus!=null &&
127 this.returnStatus.equals(other.getReturnStatus()))) &&
128 ((this.arrayOfFileStatuses==null && other.getArrayOfFileStatuses()==null) ||
129 (this.arrayOfFileStatuses!=null &&
130 this.arrayOfFileStatuses.equals(other.getArrayOfFileStatuses()))) &&
131 ((this.remainingTotalRequestTime==null && other.getRemainingTotalRequestTime()==null) ||
132 (this.remainingTotalRequestTime!=null &&
133 this.remainingTotalRequestTime.equals(other.getRemainingTotalRequestTime()))) &&
134 ((this.remainingDeferredStartTime==null && other.getRemainingDeferredStartTime()==null) ||
135 (this.remainingDeferredStartTime!=null &&
136 this.remainingDeferredStartTime.equals(other.getRemainingDeferredStartTime())));
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 (getReturnStatus() != null) {
149 _hashCode += getReturnStatus().hashCode();
150 }
151 if (getArrayOfFileStatuses() != null) {
152 _hashCode += getArrayOfFileStatuses().hashCode();
153 }
154 if (getRemainingTotalRequestTime() != null) {
155 _hashCode += getRemainingTotalRequestTime().hashCode();
156 }
157 if (getRemainingDeferredStartTime() != null) {
158 _hashCode += getRemainingDeferredStartTime().hashCode();
159 }
160 __hashCodeCalc = false;
161 return _hashCode;
162 }
163
164
165 private static org.apache.axis.description.TypeDesc typeDesc =
166 new org.apache.axis.description.TypeDesc(SrmStatusOfBringOnlineRequestResponse.class, true);
167
168 static {
169 typeDesc.setXmlType(new javax.xml.namespace.QName("http://srm.lbl.gov/StorageResourceManager", "srmStatusOfBringOnlineRequestResponse"));
170 org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
171 elemField.setFieldName("returnStatus");
172 elemField.setXmlName(new javax.xml.namespace.QName("", "returnStatus"));
173 elemField.setXmlType(new javax.xml.namespace.QName("http://srm.lbl.gov/StorageResourceManager", "TReturnStatus"));
174 elemField.setNillable(false);
175 typeDesc.addFieldDesc(elemField);
176 elemField = new org.apache.axis.description.ElementDesc();
177 elemField.setFieldName("arrayOfFileStatuses");
178 elemField.setXmlName(new javax.xml.namespace.QName("", "arrayOfFileStatuses"));
179 elemField.setXmlType(new javax.xml.namespace.QName("http://srm.lbl.gov/StorageResourceManager", "ArrayOfTBringOnlineRequestFileStatus"));
180 elemField.setMinOccurs(0);
181 elemField.setNillable(true);
182 typeDesc.addFieldDesc(elemField);
183 elemField = new org.apache.axis.description.ElementDesc();
184 elemField.setFieldName("remainingTotalRequestTime");
185 elemField.setXmlName(new javax.xml.namespace.QName("", "remainingTotalRequestTime"));
186 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"));
187 elemField.setMinOccurs(0);
188 elemField.setNillable(true);
189 typeDesc.addFieldDesc(elemField);
190 elemField = new org.apache.axis.description.ElementDesc();
191 elemField.setFieldName("remainingDeferredStartTime");
192 elemField.setXmlName(new javax.xml.namespace.QName("", "remainingDeferredStartTime"));
193 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"));
194 elemField.setMinOccurs(0);
195 elemField.setNillable(true);
196 typeDesc.addFieldDesc(elemField);
197 }
198
199
200
201
202 public static org.apache.axis.description.TypeDesc getTypeDesc() {
203 return typeDesc;
204 }
205
206
207
208
209 public static org.apache.axis.encoding.Serializer getSerializer(
210 java.lang.String mechType,
211 java.lang.Class _javaType,
212 javax.xml.namespace.QName _xmlType) {
213 return
214 new org.apache.axis.encoding.ser.BeanSerializer(
215 _javaType, _xmlType, typeDesc);
216 }
217
218
219
220
221 public static org.apache.axis.encoding.Deserializer getDeserializer(
222 java.lang.String mechType,
223 java.lang.Class _javaType,
224 javax.xml.namespace.QName _xmlType) {
225 return
226 new org.apache.axis.encoding.ser.BeanDeserializer(
227 _javaType, _xmlType, typeDesc);
228 }
229
230 }