1
7
8 package com.liferay.client.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 public DLFolderSoap() {
36 }
37
38 public DLFolderSoap(
39 long companyId,
40 java.util.Calendar createDate,
41 java.lang.String description,
42 long folderId,
43 long groupId,
44 java.util.Calendar lastPostDate,
45 java.util.Calendar modifiedDate,
46 java.lang.String name,
47 long parentFolderId,
48 long primaryKey,
49 long userId,
50 java.lang.String userName) {
51 this.companyId = companyId;
52 this.createDate = createDate;
53 this.description = description;
54 this.folderId = folderId;
55 this.groupId = groupId;
56 this.lastPostDate = lastPostDate;
57 this.modifiedDate = modifiedDate;
58 this.name = name;
59 this.parentFolderId = parentFolderId;
60 this.primaryKey = primaryKey;
61 this.userId = userId;
62 this.userName = userName;
63 }
64
65
66
71 public long getCompanyId() {
72 return companyId;
73 }
74
75
76
81 public void setCompanyId(long companyId) {
82 this.companyId = companyId;
83 }
84
85
86
91 public java.util.Calendar getCreateDate() {
92 return createDate;
93 }
94
95
96
101 public void setCreateDate(java.util.Calendar createDate) {
102 this.createDate = createDate;
103 }
104
105
106
111 public java.lang.String getDescription() {
112 return description;
113 }
114
115
116
121 public void setDescription(java.lang.String description) {
122 this.description = description;
123 }
124
125
126
131 public long getFolderId() {
132 return folderId;
133 }
134
135
136
141 public void setFolderId(long folderId) {
142 this.folderId = folderId;
143 }
144
145
146
151 public long getGroupId() {
152 return groupId;
153 }
154
155
156
161 public void setGroupId(long groupId) {
162 this.groupId = groupId;
163 }
164
165
166
171 public java.util.Calendar getLastPostDate() {
172 return lastPostDate;
173 }
174
175
176
181 public void setLastPostDate(java.util.Calendar lastPostDate) {
182 this.lastPostDate = lastPostDate;
183 }
184
185
186
191 public java.util.Calendar getModifiedDate() {
192 return modifiedDate;
193 }
194
195
196
201 public void setModifiedDate(java.util.Calendar modifiedDate) {
202 this.modifiedDate = modifiedDate;
203 }
204
205
206
211 public java.lang.String getName() {
212 return name;
213 }
214
215
216
221 public void setName(java.lang.String name) {
222 this.name = name;
223 }
224
225
226
231 public long getParentFolderId() {
232 return parentFolderId;
233 }
234
235
236
241 public void setParentFolderId(long parentFolderId) {
242 this.parentFolderId = parentFolderId;
243 }
244
245
246
251 public long getPrimaryKey() {
252 return primaryKey;
253 }
254
255
256
261 public void setPrimaryKey(long primaryKey) {
262 this.primaryKey = primaryKey;
263 }
264
265
266
271 public long getUserId() {
272 return userId;
273 }
274
275
276
281 public void setUserId(long userId) {
282 this.userId = userId;
283 }
284
285
286
291 public java.lang.String getUserName() {
292 return userName;
293 }
294
295
296
301 public void setUserName(java.lang.String userName) {
302 this.userName = userName;
303 }
304
305 private java.lang.Object __equalsCalc = null;
306 public synchronized boolean equals(java.lang.Object obj) {
307 if (!(obj instanceof DLFolderSoap)) return false;
308 DLFolderSoap other = (DLFolderSoap) obj;
309 if (obj == null) return false;
310 if (this == obj) return true;
311 if (__equalsCalc != null) {
312 return (__equalsCalc == obj);
313 }
314 __equalsCalc = obj;
315 boolean _equals;
316 _equals = true &&
317 this.companyId == other.getCompanyId() &&
318 ((this.createDate==null && other.getCreateDate()==null) ||
319 (this.createDate!=null &&
320 this.createDate.equals(other.getCreateDate()))) &&
321 ((this.description==null && other.getDescription()==null) ||
322 (this.description!=null &&
323 this.description.equals(other.getDescription()))) &&
324 this.folderId == other.getFolderId() &&
325 this.groupId == other.getGroupId() &&
326 ((this.lastPostDate==null && other.getLastPostDate()==null) ||
327 (this.lastPostDate!=null &&
328 this.lastPostDate.equals(other.getLastPostDate()))) &&
329 ((this.modifiedDate==null && other.getModifiedDate()==null) ||
330 (this.modifiedDate!=null &&
331 this.modifiedDate.equals(other.getModifiedDate()))) &&
332 ((this.name==null && other.getName()==null) ||
333 (this.name!=null &&
334 this.name.equals(other.getName()))) &&
335 this.parentFolderId == other.getParentFolderId() &&
336 this.primaryKey == other.getPrimaryKey() &&
337 this.userId == other.getUserId() &&
338 ((this.userName==null && other.getUserName()==null) ||
339 (this.userName!=null &&
340 this.userName.equals(other.getUserName())));
341 __equalsCalc = null;
342 return _equals;
343 }
344
345 private boolean __hashCodeCalc = false;
346 public synchronized int hashCode() {
347 if (__hashCodeCalc) {
348 return 0;
349 }
350 __hashCodeCalc = true;
351 int _hashCode = 1;
352 _hashCode += new Long(getCompanyId()).hashCode();
353 if (getCreateDate() != null) {
354 _hashCode += getCreateDate().hashCode();
355 }
356 if (getDescription() != null) {
357 _hashCode += getDescription().hashCode();
358 }
359 _hashCode += new Long(getFolderId()).hashCode();
360 _hashCode += new Long(getGroupId()).hashCode();
361 if (getLastPostDate() != null) {
362 _hashCode += getLastPostDate().hashCode();
363 }
364 if (getModifiedDate() != null) {
365 _hashCode += getModifiedDate().hashCode();
366 }
367 if (getName() != null) {
368 _hashCode += getName().hashCode();
369 }
370 _hashCode += new Long(getParentFolderId()).hashCode();
371 _hashCode += new Long(getPrimaryKey()).hashCode();
372 _hashCode += new Long(getUserId()).hashCode();
373 if (getUserName() != null) {
374 _hashCode += getUserName().hashCode();
375 }
376 __hashCodeCalc = false;
377 return _hashCode;
378 }
379
380 private static org.apache.axis.description.TypeDesc typeDesc =
382 new org.apache.axis.description.TypeDesc(DLFolderSoap.class, true);
383
384 static {
385 typeDesc.setXmlType(new javax.xml.namespace.QName("http://model.documentlibrary.portlet.liferay.com", "DLFolderSoap"));
386 org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
387 elemField.setFieldName("companyId");
388 elemField.setXmlName(new javax.xml.namespace.QName("", "companyId"));
389 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
390 elemField.setNillable(false);
391 typeDesc.addFieldDesc(elemField);
392 elemField = new org.apache.axis.description.ElementDesc();
393 elemField.setFieldName("createDate");
394 elemField.setXmlName(new javax.xml.namespace.QName("", "createDate"));
395 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime"));
396 elemField.setNillable(true);
397 typeDesc.addFieldDesc(elemField);
398 elemField = new org.apache.axis.description.ElementDesc();
399 elemField.setFieldName("description");
400 elemField.setXmlName(new javax.xml.namespace.QName("", "description"));
401 elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
402 elemField.setNillable(true);
403 typeDesc.addFieldDesc(elemField);
404 elemField = new org.apache.axis.description.ElementDesc();
405 elemField.setFieldName("folderId");
406 elemField.setXmlName(new javax.xml.namespace.QName("", "folderId"));
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("groupId");
412 elemField.setXmlName(new javax.xml.namespace.QName("", "groupId"));
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("lastPostDate");
418 elemField.setXmlName(new javax.xml.namespace.QName("", "lastPostDate"));
419 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime"));
420 elemField.setNillable(true);
421 typeDesc.addFieldDesc(elemField);
422 elemField = new org.apache.axis.description.ElementDesc();
423 elemField.setFieldName("modifiedDate");
424 elemField.setXmlName(new javax.xml.namespace.QName("", "modifiedDate"));
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("name");
430 elemField.setXmlName(new javax.xml.namespace.QName("", "name"));
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("parentFolderId");
436 elemField.setXmlName(new javax.xml.namespace.QName("", "parentFolderId"));
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("primaryKey");
442 elemField.setXmlName(new javax.xml.namespace.QName("", "primaryKey"));
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("userId");
448 elemField.setXmlName(new javax.xml.namespace.QName("", "userId"));
449 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
450 elemField.setNillable(false);
451 typeDesc.addFieldDesc(elemField);
452 elemField = new org.apache.axis.description.ElementDesc();
453 elemField.setFieldName("userName");
454 elemField.setXmlName(new javax.xml.namespace.QName("", "userName"));
455 elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
456 elemField.setNillable(true);
457 typeDesc.addFieldDesc(elemField);
458 }
459
460
463 public static org.apache.axis.description.TypeDesc getTypeDesc() {
464 return typeDesc;
465 }
466
467
470 public static org.apache.axis.encoding.Serializer getSerializer(
471 java.lang.String mechType,
472 java.lang.Class _javaType,
473 javax.xml.namespace.QName _xmlType) {
474 return
475 new org.apache.axis.encoding.ser.BeanSerializer(
476 _javaType, _xmlType, typeDesc);
477 }
478
479
482 public static org.apache.axis.encoding.Deserializer getDeserializer(
483 java.lang.String mechType,
484 java.lang.Class _javaType,
485 javax.xml.namespace.QName _xmlType) {
486 return
487 new org.apache.axis.encoding.ser.BeanDeserializer(
488 _javaType, _xmlType, typeDesc);
489 }
490
491 }
492