1
7
8 package com.liferay.client.soap.portlet.documentlibrary.model;
9
10 public class DLFolderSoap 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 lastPostDate;
22
23 private java.util.Calendar modifiedDate;
24
25 private java.lang.String name;
26
27 private long parentFolderId;
28
29 private long primaryKey;
30
31 private long userId;
32
33 private java.lang.String userName;
34
35 private java.lang.String uuid;
36
37 public DLFolderSoap() {
38 }
39
40 public DLFolderSoap(
41 long companyId,
42 java.util.Calendar createDate,
43 java.lang.String description,
44 long folderId,
45 long groupId,
46 java.util.Calendar lastPostDate,
47 java.util.Calendar modifiedDate,
48 java.lang.String name,
49 long parentFolderId,
50 long primaryKey,
51 long userId,
52 java.lang.String userName,
53 java.lang.String uuid) {
54 this.companyId = companyId;
55 this.createDate = createDate;
56 this.description = description;
57 this.folderId = folderId;
58 this.groupId = groupId;
59 this.lastPostDate = lastPostDate;
60 this.modifiedDate = modifiedDate;
61 this.name = name;
62 this.parentFolderId = parentFolderId;
63 this.primaryKey = primaryKey;
64 this.userId = userId;
65 this.userName = userName;
66 this.uuid = uuid;
67 }
68
69
70
75 public long getCompanyId() {
76 return companyId;
77 }
78
79
80
85 public void setCompanyId(long companyId) {
86 this.companyId = companyId;
87 }
88
89
90
95 public java.util.Calendar getCreateDate() {
96 return createDate;
97 }
98
99
100
105 public void setCreateDate(java.util.Calendar createDate) {
106 this.createDate = createDate;
107 }
108
109
110
115 public java.lang.String getDescription() {
116 return description;
117 }
118
119
120
125 public void setDescription(java.lang.String description) {
126 this.description = description;
127 }
128
129
130
135 public long getFolderId() {
136 return folderId;
137 }
138
139
140
145 public void setFolderId(long folderId) {
146 this.folderId = folderId;
147 }
148
149
150
155 public long getGroupId() {
156 return groupId;
157 }
158
159
160
165 public void setGroupId(long groupId) {
166 this.groupId = groupId;
167 }
168
169
170
175 public java.util.Calendar getLastPostDate() {
176 return lastPostDate;
177 }
178
179
180
185 public void setLastPostDate(java.util.Calendar lastPostDate) {
186 this.lastPostDate = lastPostDate;
187 }
188
189
190
195 public java.util.Calendar getModifiedDate() {
196 return modifiedDate;
197 }
198
199
200
205 public void setModifiedDate(java.util.Calendar modifiedDate) {
206 this.modifiedDate = modifiedDate;
207 }
208
209
210
215 public java.lang.String getName() {
216 return name;
217 }
218
219
220
225 public void setName(java.lang.String name) {
226 this.name = name;
227 }
228
229
230
235 public long getParentFolderId() {
236 return parentFolderId;
237 }
238
239
240
245 public void setParentFolderId(long parentFolderId) {
246 this.parentFolderId = parentFolderId;
247 }
248
249
250
255 public long getPrimaryKey() {
256 return primaryKey;
257 }
258
259
260
265 public void setPrimaryKey(long primaryKey) {
266 this.primaryKey = primaryKey;
267 }
268
269
270
275 public long getUserId() {
276 return userId;
277 }
278
279
280
285 public void setUserId(long userId) {
286 this.userId = userId;
287 }
288
289
290
295 public java.lang.String getUserName() {
296 return userName;
297 }
298
299
300
305 public void setUserName(java.lang.String userName) {
306 this.userName = userName;
307 }
308
309
310
315 public java.lang.String getUuid() {
316 return uuid;
317 }
318
319
320
325 public void setUuid(java.lang.String uuid) {
326 this.uuid = uuid;
327 }
328
329 private java.lang.Object __equalsCalc = null;
330 public synchronized boolean equals(java.lang.Object obj) {
331 if (!(obj instanceof DLFolderSoap)) return false;
332 DLFolderSoap other = (DLFolderSoap) obj;
333 if (obj == null) return false;
334 if (this == obj) return true;
335 if (__equalsCalc != null) {
336 return (__equalsCalc == obj);
337 }
338 __equalsCalc = obj;
339 boolean _equals;
340 _equals = true &&
341 this.companyId == other.getCompanyId() &&
342 ((this.createDate==null && other.getCreateDate()==null) ||
343 (this.createDate!=null &&
344 this.createDate.equals(other.getCreateDate()))) &&
345 ((this.description==null && other.getDescription()==null) ||
346 (this.description!=null &&
347 this.description.equals(other.getDescription()))) &&
348 this.folderId == other.getFolderId() &&
349 this.groupId == other.getGroupId() &&
350 ((this.lastPostDate==null && other.getLastPostDate()==null) ||
351 (this.lastPostDate!=null &&
352 this.lastPostDate.equals(other.getLastPostDate()))) &&
353 ((this.modifiedDate==null && other.getModifiedDate()==null) ||
354 (this.modifiedDate!=null &&
355 this.modifiedDate.equals(other.getModifiedDate()))) &&
356 ((this.name==null && other.getName()==null) ||
357 (this.name!=null &&
358 this.name.equals(other.getName()))) &&
359 this.parentFolderId == other.getParentFolderId() &&
360 this.primaryKey == other.getPrimaryKey() &&
361 this.userId == other.getUserId() &&
362 ((this.userName==null && other.getUserName()==null) ||
363 (this.userName!=null &&
364 this.userName.equals(other.getUserName()))) &&
365 ((this.uuid==null && other.getUuid()==null) ||
366 (this.uuid!=null &&
367 this.uuid.equals(other.getUuid())));
368 __equalsCalc = null;
369 return _equals;
370 }
371
372 private boolean __hashCodeCalc = false;
373 public synchronized int hashCode() {
374 if (__hashCodeCalc) {
375 return 0;
376 }
377 __hashCodeCalc = true;
378 int _hashCode = 1;
379 _hashCode += new Long(getCompanyId()).hashCode();
380 if (getCreateDate() != null) {
381 _hashCode += getCreateDate().hashCode();
382 }
383 if (getDescription() != null) {
384 _hashCode += getDescription().hashCode();
385 }
386 _hashCode += new Long(getFolderId()).hashCode();
387 _hashCode += new Long(getGroupId()).hashCode();
388 if (getLastPostDate() != null) {
389 _hashCode += getLastPostDate().hashCode();
390 }
391 if (getModifiedDate() != null) {
392 _hashCode += getModifiedDate().hashCode();
393 }
394 if (getName() != null) {
395 _hashCode += getName().hashCode();
396 }
397 _hashCode += new Long(getParentFolderId()).hashCode();
398 _hashCode += new Long(getPrimaryKey()).hashCode();
399 _hashCode += new Long(getUserId()).hashCode();
400 if (getUserName() != null) {
401 _hashCode += getUserName().hashCode();
402 }
403 if (getUuid() != null) {
404 _hashCode += getUuid().hashCode();
405 }
406 __hashCodeCalc = false;
407 return _hashCode;
408 }
409
410 private static org.apache.axis.description.TypeDesc typeDesc =
412 new org.apache.axis.description.TypeDesc(DLFolderSoap.class, true);
413
414 static {
415 typeDesc.setXmlType(new javax.xml.namespace.QName("http://model.documentlibrary.portlet.liferay.com", "DLFolderSoap"));
416 org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
417 elemField.setFieldName("companyId");
418 elemField.setXmlName(new javax.xml.namespace.QName("", "companyId"));
419 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
420 elemField.setNillable(false);
421 typeDesc.addFieldDesc(elemField);
422 elemField = new org.apache.axis.description.ElementDesc();
423 elemField.setFieldName("createDate");
424 elemField.setXmlName(new javax.xml.namespace.QName("", "createDate"));
425 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime"));
426 elemField.setNillable(true);
427 typeDesc.addFieldDesc(elemField);
428 elemField = new org.apache.axis.description.ElementDesc();
429 elemField.setFieldName("description");
430 elemField.setXmlName(new javax.xml.namespace.QName("", "description"));
431 elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
432 elemField.setNillable(true);
433 typeDesc.addFieldDesc(elemField);
434 elemField = new org.apache.axis.description.ElementDesc();
435 elemField.setFieldName("folderId");
436 elemField.setXmlName(new javax.xml.namespace.QName("", "folderId"));
437 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
438 elemField.setNillable(false);
439 typeDesc.addFieldDesc(elemField);
440 elemField = new org.apache.axis.description.ElementDesc();
441 elemField.setFieldName("groupId");
442 elemField.setXmlName(new javax.xml.namespace.QName("", "groupId"));
443 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
444 elemField.setNillable(false);
445 typeDesc.addFieldDesc(elemField);
446 elemField = new org.apache.axis.description.ElementDesc();
447 elemField.setFieldName("lastPostDate");
448 elemField.setXmlName(new javax.xml.namespace.QName("", "lastPostDate"));
449 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime"));
450 elemField.setNillable(true);
451 typeDesc.addFieldDesc(elemField);
452 elemField = new org.apache.axis.description.ElementDesc();
453 elemField.setFieldName("modifiedDate");
454 elemField.setXmlName(new javax.xml.namespace.QName("", "modifiedDate"));
455 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime"));
456 elemField.setNillable(true);
457 typeDesc.addFieldDesc(elemField);
458 elemField = new org.apache.axis.description.ElementDesc();
459 elemField.setFieldName("name");
460 elemField.setXmlName(new javax.xml.namespace.QName("", "name"));
461 elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
462 elemField.setNillable(true);
463 typeDesc.addFieldDesc(elemField);
464 elemField = new org.apache.axis.description.ElementDesc();
465 elemField.setFieldName("parentFolderId");
466 elemField.setXmlName(new javax.xml.namespace.QName("", "parentFolderId"));
467 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
468 elemField.setNillable(false);
469 typeDesc.addFieldDesc(elemField);
470 elemField = new org.apache.axis.description.ElementDesc();
471 elemField.setFieldName("primaryKey");
472 elemField.setXmlName(new javax.xml.namespace.QName("", "primaryKey"));
473 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
474 elemField.setNillable(false);
475 typeDesc.addFieldDesc(elemField);
476 elemField = new org.apache.axis.description.ElementDesc();
477 elemField.setFieldName("userId");
478 elemField.setXmlName(new javax.xml.namespace.QName("", "userId"));
479 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
480 elemField.setNillable(false);
481 typeDesc.addFieldDesc(elemField);
482 elemField = new org.apache.axis.description.ElementDesc();
483 elemField.setFieldName("userName");
484 elemField.setXmlName(new javax.xml.namespace.QName("", "userName"));
485 elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
486 elemField.setNillable(true);
487 typeDesc.addFieldDesc(elemField);
488 elemField = new org.apache.axis.description.ElementDesc();
489 elemField.setFieldName("uuid");
490 elemField.setXmlName(new javax.xml.namespace.QName("", "uuid"));
491 elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
492 elemField.setNillable(true);
493 typeDesc.addFieldDesc(elemField);
494 }
495
496
499 public static org.apache.axis.description.TypeDesc getTypeDesc() {
500 return typeDesc;
501 }
502
503
506 public static org.apache.axis.encoding.Serializer getSerializer(
507 java.lang.String mechType,
508 java.lang.Class _javaType,
509 javax.xml.namespace.QName _xmlType) {
510 return
511 new org.apache.axis.encoding.ser.BeanSerializer(
512 _javaType, _xmlType, typeDesc);
513 }
514
515
518 public static org.apache.axis.encoding.Deserializer getDeserializer(
519 java.lang.String mechType,
520 java.lang.Class _javaType,
521 javax.xml.namespace.QName _xmlType) {
522 return
523 new org.apache.axis.encoding.ser.BeanDeserializer(
524 _javaType, _xmlType, typeDesc);
525 }
526
527 }
528