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