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