1
7
8 package com.liferay.client.soap.portlet.bookmarks.model;
9
10 public class BookmarksEntrySoap implements java.io.Serializable {
11 private java.lang.String comments;
12
13 private long companyId;
14
15 private java.util.Calendar createDate;
16
17 private long entryId;
18
19 private long folderId;
20
21 private long groupId;
22
23 private java.util.Calendar modifiedDate;
24
25 private java.lang.String name;
26
27 private long primaryKey;
28
29 private int priority;
30
31 private java.lang.String url;
32
33 private long userId;
34
35 private java.lang.String uuid;
36
37 private int visits;
38
39 public BookmarksEntrySoap() {
40 }
41
42 public BookmarksEntrySoap(
43 java.lang.String comments,
44 long companyId,
45 java.util.Calendar createDate,
46 long entryId,
47 long folderId,
48 long groupId,
49 java.util.Calendar modifiedDate,
50 java.lang.String name,
51 long primaryKey,
52 int priority,
53 java.lang.String url,
54 long userId,
55 java.lang.String uuid,
56 int visits) {
57 this.comments = comments;
58 this.companyId = companyId;
59 this.createDate = createDate;
60 this.entryId = entryId;
61 this.folderId = folderId;
62 this.groupId = groupId;
63 this.modifiedDate = modifiedDate;
64 this.name = name;
65 this.primaryKey = primaryKey;
66 this.priority = priority;
67 this.url = url;
68 this.userId = userId;
69 this.uuid = uuid;
70 this.visits = visits;
71 }
72
73
74
79 public java.lang.String getComments() {
80 return comments;
81 }
82
83
84
89 public void setComments(java.lang.String comments) {
90 this.comments = comments;
91 }
92
93
94
99 public long getCompanyId() {
100 return companyId;
101 }
102
103
104
109 public void setCompanyId(long companyId) {
110 this.companyId = companyId;
111 }
112
113
114
119 public java.util.Calendar getCreateDate() {
120 return createDate;
121 }
122
123
124
129 public void setCreateDate(java.util.Calendar createDate) {
130 this.createDate = createDate;
131 }
132
133
134
139 public long getEntryId() {
140 return entryId;
141 }
142
143
144
149 public void setEntryId(long entryId) {
150 this.entryId = entryId;
151 }
152
153
154
159 public long getFolderId() {
160 return folderId;
161 }
162
163
164
169 public void setFolderId(long folderId) {
170 this.folderId = folderId;
171 }
172
173
174
179 public long getGroupId() {
180 return groupId;
181 }
182
183
184
189 public void setGroupId(long groupId) {
190 this.groupId = groupId;
191 }
192
193
194
199 public java.util.Calendar getModifiedDate() {
200 return modifiedDate;
201 }
202
203
204
209 public void setModifiedDate(java.util.Calendar modifiedDate) {
210 this.modifiedDate = modifiedDate;
211 }
212
213
214
219 public java.lang.String getName() {
220 return name;
221 }
222
223
224
229 public void setName(java.lang.String name) {
230 this.name = name;
231 }
232
233
234
239 public long getPrimaryKey() {
240 return primaryKey;
241 }
242
243
244
249 public void setPrimaryKey(long primaryKey) {
250 this.primaryKey = primaryKey;
251 }
252
253
254
259 public int getPriority() {
260 return priority;
261 }
262
263
264
269 public void setPriority(int priority) {
270 this.priority = priority;
271 }
272
273
274
279 public java.lang.String getUrl() {
280 return url;
281 }
282
283
284
289 public void setUrl(java.lang.String url) {
290 this.url = url;
291 }
292
293
294
299 public long getUserId() {
300 return userId;
301 }
302
303
304
309 public void setUserId(long userId) {
310 this.userId = userId;
311 }
312
313
314
319 public java.lang.String getUuid() {
320 return uuid;
321 }
322
323
324
329 public void setUuid(java.lang.String uuid) {
330 this.uuid = uuid;
331 }
332
333
334
339 public int getVisits() {
340 return visits;
341 }
342
343
344
349 public void setVisits(int visits) {
350 this.visits = visits;
351 }
352
353 private java.lang.Object __equalsCalc = null;
354 public synchronized boolean equals(java.lang.Object obj) {
355 if (!(obj instanceof BookmarksEntrySoap)) return false;
356 BookmarksEntrySoap other = (BookmarksEntrySoap) obj;
357 if (obj == null) return false;
358 if (this == obj) return true;
359 if (__equalsCalc != null) {
360 return (__equalsCalc == obj);
361 }
362 __equalsCalc = obj;
363 boolean _equals;
364 _equals = true &&
365 ((this.comments==null && other.getComments()==null) ||
366 (this.comments!=null &&
367 this.comments.equals(other.getComments()))) &&
368 this.companyId == other.getCompanyId() &&
369 ((this.createDate==null && other.getCreateDate()==null) ||
370 (this.createDate!=null &&
371 this.createDate.equals(other.getCreateDate()))) &&
372 this.entryId == other.getEntryId() &&
373 this.folderId == other.getFolderId() &&
374 this.groupId == other.getGroupId() &&
375 ((this.modifiedDate==null && other.getModifiedDate()==null) ||
376 (this.modifiedDate!=null &&
377 this.modifiedDate.equals(other.getModifiedDate()))) &&
378 ((this.name==null && other.getName()==null) ||
379 (this.name!=null &&
380 this.name.equals(other.getName()))) &&
381 this.primaryKey == other.getPrimaryKey() &&
382 this.priority == other.getPriority() &&
383 ((this.url==null && other.getUrl()==null) ||
384 (this.url!=null &&
385 this.url.equals(other.getUrl()))) &&
386 this.userId == other.getUserId() &&
387 ((this.uuid==null && other.getUuid()==null) ||
388 (this.uuid!=null &&
389 this.uuid.equals(other.getUuid()))) &&
390 this.visits == other.getVisits();
391 __equalsCalc = null;
392 return _equals;
393 }
394
395 private boolean __hashCodeCalc = false;
396 public synchronized int hashCode() {
397 if (__hashCodeCalc) {
398 return 0;
399 }
400 __hashCodeCalc = true;
401 int _hashCode = 1;
402 if (getComments() != null) {
403 _hashCode += getComments().hashCode();
404 }
405 _hashCode += new Long(getCompanyId()).hashCode();
406 if (getCreateDate() != null) {
407 _hashCode += getCreateDate().hashCode();
408 }
409 _hashCode += new Long(getEntryId()).hashCode();
410 _hashCode += new Long(getFolderId()).hashCode();
411 _hashCode += new Long(getGroupId()).hashCode();
412 if (getModifiedDate() != null) {
413 _hashCode += getModifiedDate().hashCode();
414 }
415 if (getName() != null) {
416 _hashCode += getName().hashCode();
417 }
418 _hashCode += new Long(getPrimaryKey()).hashCode();
419 _hashCode += getPriority();
420 if (getUrl() != null) {
421 _hashCode += getUrl().hashCode();
422 }
423 _hashCode += new Long(getUserId()).hashCode();
424 if (getUuid() != null) {
425 _hashCode += getUuid().hashCode();
426 }
427 _hashCode += getVisits();
428 __hashCodeCalc = false;
429 return _hashCode;
430 }
431
432 private static org.apache.axis.description.TypeDesc typeDesc =
434 new org.apache.axis.description.TypeDesc(BookmarksEntrySoap.class, true);
435
436 static {
437 typeDesc.setXmlType(new javax.xml.namespace.QName("http://model.bookmarks.portlet.liferay.com", "BookmarksEntrySoap"));
438 org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
439 elemField.setFieldName("comments");
440 elemField.setXmlName(new javax.xml.namespace.QName("", "comments"));
441 elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
442 elemField.setNillable(true);
443 typeDesc.addFieldDesc(elemField);
444 elemField = new org.apache.axis.description.ElementDesc();
445 elemField.setFieldName("companyId");
446 elemField.setXmlName(new javax.xml.namespace.QName("", "companyId"));
447 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
448 elemField.setNillable(false);
449 typeDesc.addFieldDesc(elemField);
450 elemField = new org.apache.axis.description.ElementDesc();
451 elemField.setFieldName("createDate");
452 elemField.setXmlName(new javax.xml.namespace.QName("", "createDate"));
453 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime"));
454 elemField.setNillable(true);
455 typeDesc.addFieldDesc(elemField);
456 elemField = new org.apache.axis.description.ElementDesc();
457 elemField.setFieldName("entryId");
458 elemField.setXmlName(new javax.xml.namespace.QName("", "entryId"));
459 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
460 elemField.setNillable(false);
461 typeDesc.addFieldDesc(elemField);
462 elemField = new org.apache.axis.description.ElementDesc();
463 elemField.setFieldName("folderId");
464 elemField.setXmlName(new javax.xml.namespace.QName("", "folderId"));
465 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
466 elemField.setNillable(false);
467 typeDesc.addFieldDesc(elemField);
468 elemField = new org.apache.axis.description.ElementDesc();
469 elemField.setFieldName("groupId");
470 elemField.setXmlName(new javax.xml.namespace.QName("", "groupId"));
471 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
472 elemField.setNillable(false);
473 typeDesc.addFieldDesc(elemField);
474 elemField = new org.apache.axis.description.ElementDesc();
475 elemField.setFieldName("modifiedDate");
476 elemField.setXmlName(new javax.xml.namespace.QName("", "modifiedDate"));
477 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime"));
478 elemField.setNillable(true);
479 typeDesc.addFieldDesc(elemField);
480 elemField = new org.apache.axis.description.ElementDesc();
481 elemField.setFieldName("name");
482 elemField.setXmlName(new javax.xml.namespace.QName("", "name"));
483 elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
484 elemField.setNillable(true);
485 typeDesc.addFieldDesc(elemField);
486 elemField = new org.apache.axis.description.ElementDesc();
487 elemField.setFieldName("primaryKey");
488 elemField.setXmlName(new javax.xml.namespace.QName("", "primaryKey"));
489 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
490 elemField.setNillable(false);
491 typeDesc.addFieldDesc(elemField);
492 elemField = new org.apache.axis.description.ElementDesc();
493 elemField.setFieldName("priority");
494 elemField.setXmlName(new javax.xml.namespace.QName("", "priority"));
495 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"));
496 elemField.setNillable(false);
497 typeDesc.addFieldDesc(elemField);
498 elemField = new org.apache.axis.description.ElementDesc();
499 elemField.setFieldName("url");
500 elemField.setXmlName(new javax.xml.namespace.QName("", "url"));
501 elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
502 elemField.setNillable(true);
503 typeDesc.addFieldDesc(elemField);
504 elemField = new org.apache.axis.description.ElementDesc();
505 elemField.setFieldName("userId");
506 elemField.setXmlName(new javax.xml.namespace.QName("", "userId"));
507 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
508 elemField.setNillable(false);
509 typeDesc.addFieldDesc(elemField);
510 elemField = new org.apache.axis.description.ElementDesc();
511 elemField.setFieldName("uuid");
512 elemField.setXmlName(new javax.xml.namespace.QName("", "uuid"));
513 elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
514 elemField.setNillable(true);
515 typeDesc.addFieldDesc(elemField);
516 elemField = new org.apache.axis.description.ElementDesc();
517 elemField.setFieldName("visits");
518 elemField.setXmlName(new javax.xml.namespace.QName("", "visits"));
519 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"));
520 elemField.setNillable(false);
521 typeDesc.addFieldDesc(elemField);
522 }
523
524
527 public static org.apache.axis.description.TypeDesc getTypeDesc() {
528 return typeDesc;
529 }
530
531
534 public static org.apache.axis.encoding.Serializer getSerializer(
535 java.lang.String mechType,
536 java.lang.Class _javaType,
537 javax.xml.namespace.QName _xmlType) {
538 return
539 new org.apache.axis.encoding.ser.BeanSerializer(
540 _javaType, _xmlType, typeDesc);
541 }
542
543
546 public static org.apache.axis.encoding.Deserializer getDeserializer(
547 java.lang.String mechType,
548 java.lang.Class _javaType,
549 javax.xml.namespace.QName _xmlType) {
550 return
551 new org.apache.axis.encoding.ser.BeanDeserializer(
552 _javaType, _xmlType, typeDesc);
553 }
554
555 }
556