1
7
8 package com.liferay.client.soap.portlet.imagegallery.model;
9
10 public class IGFolderSoap implements java.io.Serializable {
11 private long companyId;
12
13 private java.util.Calendar createDate;
14
15 private java.lang.String description;
16
17 private long folderId;
18
19 private long groupId;
20
21 private java.util.Calendar modifiedDate;
22
23 private java.lang.String name;
24
25 private long parentFolderId;
26
27 private long primaryKey;
28
29 private long userId;
30
31 private java.lang.String uuid;
32
33 public IGFolderSoap() {
34 }
35
36 public IGFolderSoap(
37 long companyId,
38 java.util.Calendar createDate,
39 java.lang.String description,
40 long folderId,
41 long groupId,
42 java.util.Calendar modifiedDate,
43 java.lang.String name,
44 long parentFolderId,
45 long primaryKey,
46 long userId,
47 java.lang.String uuid) {
48 this.companyId = companyId;
49 this.createDate = createDate;
50 this.description = description;
51 this.folderId = folderId;
52 this.groupId = groupId;
53 this.modifiedDate = modifiedDate;
54 this.name = name;
55 this.parentFolderId = parentFolderId;
56 this.primaryKey = primaryKey;
57 this.userId = userId;
58 this.uuid = uuid;
59 }
60
61
62
67 public long getCompanyId() {
68 return companyId;
69 }
70
71
72
77 public void setCompanyId(long companyId) {
78 this.companyId = companyId;
79 }
80
81
82
87 public java.util.Calendar getCreateDate() {
88 return createDate;
89 }
90
91
92
97 public void setCreateDate(java.util.Calendar createDate) {
98 this.createDate = createDate;
99 }
100
101
102
107 public java.lang.String getDescription() {
108 return description;
109 }
110
111
112
117 public void setDescription(java.lang.String description) {
118 this.description = description;
119 }
120
121
122
127 public long getFolderId() {
128 return folderId;
129 }
130
131
132
137 public void setFolderId(long folderId) {
138 this.folderId = folderId;
139 }
140
141
142
147 public long getGroupId() {
148 return groupId;
149 }
150
151
152
157 public void setGroupId(long groupId) {
158 this.groupId = groupId;
159 }
160
161
162
167 public java.util.Calendar getModifiedDate() {
168 return modifiedDate;
169 }
170
171
172
177 public void setModifiedDate(java.util.Calendar modifiedDate) {
178 this.modifiedDate = modifiedDate;
179 }
180
181
182
187 public java.lang.String getName() {
188 return name;
189 }
190
191
192
197 public void setName(java.lang.String name) {
198 this.name = name;
199 }
200
201
202
207 public long getParentFolderId() {
208 return parentFolderId;
209 }
210
211
212
217 public void setParentFolderId(long parentFolderId) {
218 this.parentFolderId = parentFolderId;
219 }
220
221
222
227 public long getPrimaryKey() {
228 return primaryKey;
229 }
230
231
232
237 public void setPrimaryKey(long primaryKey) {
238 this.primaryKey = primaryKey;
239 }
240
241
242
247 public long getUserId() {
248 return userId;
249 }
250
251
252
257 public void setUserId(long userId) {
258 this.userId = userId;
259 }
260
261
262
267 public java.lang.String getUuid() {
268 return uuid;
269 }
270
271
272
277 public void setUuid(java.lang.String uuid) {
278 this.uuid = uuid;
279 }
280
281 private java.lang.Object __equalsCalc = null;
282 public synchronized boolean equals(java.lang.Object obj) {
283 if (!(obj instanceof IGFolderSoap)) return false;
284 IGFolderSoap other = (IGFolderSoap) obj;
285 if (obj == null) return false;
286 if (this == obj) return true;
287 if (__equalsCalc != null) {
288 return (__equalsCalc == obj);
289 }
290 __equalsCalc = obj;
291 boolean _equals;
292 _equals = true &&
293 this.companyId == other.getCompanyId() &&
294 ((this.createDate==null && other.getCreateDate()==null) ||
295 (this.createDate!=null &&
296 this.createDate.equals(other.getCreateDate()))) &&
297 ((this.description==null && other.getDescription()==null) ||
298 (this.description!=null &&
299 this.description.equals(other.getDescription()))) &&
300 this.folderId == other.getFolderId() &&
301 this.groupId == other.getGroupId() &&
302 ((this.modifiedDate==null && other.getModifiedDate()==null) ||
303 (this.modifiedDate!=null &&
304 this.modifiedDate.equals(other.getModifiedDate()))) &&
305 ((this.name==null && other.getName()==null) ||
306 (this.name!=null &&
307 this.name.equals(other.getName()))) &&
308 this.parentFolderId == other.getParentFolderId() &&
309 this.primaryKey == other.getPrimaryKey() &&
310 this.userId == other.getUserId() &&
311 ((this.uuid==null && other.getUuid()==null) ||
312 (this.uuid!=null &&
313 this.uuid.equals(other.getUuid())));
314 __equalsCalc = null;
315 return _equals;
316 }
317
318 private boolean __hashCodeCalc = false;
319 public synchronized int hashCode() {
320 if (__hashCodeCalc) {
321 return 0;
322 }
323 __hashCodeCalc = true;
324 int _hashCode = 1;
325 _hashCode += new Long(getCompanyId()).hashCode();
326 if (getCreateDate() != null) {
327 _hashCode += getCreateDate().hashCode();
328 }
329 if (getDescription() != null) {
330 _hashCode += getDescription().hashCode();
331 }
332 _hashCode += new Long(getFolderId()).hashCode();
333 _hashCode += new Long(getGroupId()).hashCode();
334 if (getModifiedDate() != null) {
335 _hashCode += getModifiedDate().hashCode();
336 }
337 if (getName() != null) {
338 _hashCode += getName().hashCode();
339 }
340 _hashCode += new Long(getParentFolderId()).hashCode();
341 _hashCode += new Long(getPrimaryKey()).hashCode();
342 _hashCode += new Long(getUserId()).hashCode();
343 if (getUuid() != null) {
344 _hashCode += getUuid().hashCode();
345 }
346 __hashCodeCalc = false;
347 return _hashCode;
348 }
349
350 private static org.apache.axis.description.TypeDesc typeDesc =
352 new org.apache.axis.description.TypeDesc(IGFolderSoap.class, true);
353
354 static {
355 typeDesc.setXmlType(new javax.xml.namespace.QName("http://model.imagegallery.portlet.liferay.com", "IGFolderSoap"));
356 org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
357 elemField.setFieldName("companyId");
358 elemField.setXmlName(new javax.xml.namespace.QName("", "companyId"));
359 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
360 elemField.setNillable(false);
361 typeDesc.addFieldDesc(elemField);
362 elemField = new org.apache.axis.description.ElementDesc();
363 elemField.setFieldName("createDate");
364 elemField.setXmlName(new javax.xml.namespace.QName("", "createDate"));
365 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime"));
366 elemField.setNillable(true);
367 typeDesc.addFieldDesc(elemField);
368 elemField = new org.apache.axis.description.ElementDesc();
369 elemField.setFieldName("description");
370 elemField.setXmlName(new javax.xml.namespace.QName("", "description"));
371 elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
372 elemField.setNillable(true);
373 typeDesc.addFieldDesc(elemField);
374 elemField = new org.apache.axis.description.ElementDesc();
375 elemField.setFieldName("folderId");
376 elemField.setXmlName(new javax.xml.namespace.QName("", "folderId"));
377 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
378 elemField.setNillable(false);
379 typeDesc.addFieldDesc(elemField);
380 elemField = new org.apache.axis.description.ElementDesc();
381 elemField.setFieldName("groupId");
382 elemField.setXmlName(new javax.xml.namespace.QName("", "groupId"));
383 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
384 elemField.setNillable(false);
385 typeDesc.addFieldDesc(elemField);
386 elemField = new org.apache.axis.description.ElementDesc();
387 elemField.setFieldName("modifiedDate");
388 elemField.setXmlName(new javax.xml.namespace.QName("", "modifiedDate"));
389 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime"));
390 elemField.setNillable(true);
391 typeDesc.addFieldDesc(elemField);
392 elemField = new org.apache.axis.description.ElementDesc();
393 elemField.setFieldName("name");
394 elemField.setXmlName(new javax.xml.namespace.QName("", "name"));
395 elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
396 elemField.setNillable(true);
397 typeDesc.addFieldDesc(elemField);
398 elemField = new org.apache.axis.description.ElementDesc();
399 elemField.setFieldName("parentFolderId");
400 elemField.setXmlName(new javax.xml.namespace.QName("", "parentFolderId"));
401 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
402 elemField.setNillable(false);
403 typeDesc.addFieldDesc(elemField);
404 elemField = new org.apache.axis.description.ElementDesc();
405 elemField.setFieldName("primaryKey");
406 elemField.setXmlName(new javax.xml.namespace.QName("", "primaryKey"));
407 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
408 elemField.setNillable(false);
409 typeDesc.addFieldDesc(elemField);
410 elemField = new org.apache.axis.description.ElementDesc();
411 elemField.setFieldName("userId");
412 elemField.setXmlName(new javax.xml.namespace.QName("", "userId"));
413 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
414 elemField.setNillable(false);
415 typeDesc.addFieldDesc(elemField);
416 elemField = new org.apache.axis.description.ElementDesc();
417 elemField.setFieldName("uuid");
418 elemField.setXmlName(new javax.xml.namespace.QName("", "uuid"));
419 elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
420 elemField.setNillable(true);
421 typeDesc.addFieldDesc(elemField);
422 }
423
424
427 public static org.apache.axis.description.TypeDesc getTypeDesc() {
428 return typeDesc;
429 }
430
431
434 public static org.apache.axis.encoding.Serializer getSerializer(
435 java.lang.String mechType,
436 java.lang.Class _javaType,
437 javax.xml.namespace.QName _xmlType) {
438 return
439 new org.apache.axis.encoding.ser.BeanSerializer(
440 _javaType, _xmlType, typeDesc);
441 }
442
443
446 public static org.apache.axis.encoding.Deserializer getDeserializer(
447 java.lang.String mechType,
448 java.lang.Class _javaType,
449 javax.xml.namespace.QName _xmlType) {
450 return
451 new org.apache.axis.encoding.ser.BeanDeserializer(
452 _javaType, _xmlType, typeDesc);
453 }
454
455 }
456