1
7
8 package com.liferay.client.portlet.blogs.model;
9
10 public class BlogsEntrySoap implements java.io.Serializable {
11 private long companyId;
12
13 private java.lang.String content;
14
15 private java.util.Calendar createDate;
16
17 private java.util.Calendar displayDate;
18
19 private long entryId;
20
21 private long groupId;
22
23 private java.util.Calendar modifiedDate;
24
25 private long primaryKey;
26
27 private java.lang.String title;
28
29 private java.lang.String urlTitle;
30
31 private long userId;
32
33 private java.lang.String userName;
34
35 private java.lang.String uuid;
36
37 public BlogsEntrySoap() {
38 }
39
40 public BlogsEntrySoap(
41 long companyId,
42 java.lang.String content,
43 java.util.Calendar createDate,
44 java.util.Calendar displayDate,
45 long entryId,
46 long groupId,
47 java.util.Calendar modifiedDate,
48 long primaryKey,
49 java.lang.String title,
50 java.lang.String urlTitle,
51 long userId,
52 java.lang.String userName,
53 java.lang.String uuid) {
54 this.companyId = companyId;
55 this.content = content;
56 this.createDate = createDate;
57 this.displayDate = displayDate;
58 this.entryId = entryId;
59 this.groupId = groupId;
60 this.modifiedDate = modifiedDate;
61 this.primaryKey = primaryKey;
62 this.title = title;
63 this.urlTitle = urlTitle;
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.lang.String getContent() {
96 return content;
97 }
98
99
100
105 public void setContent(java.lang.String content) {
106 this.content = content;
107 }
108
109
110
115 public java.util.Calendar getCreateDate() {
116 return createDate;
117 }
118
119
120
125 public void setCreateDate(java.util.Calendar createDate) {
126 this.createDate = createDate;
127 }
128
129
130
135 public java.util.Calendar getDisplayDate() {
136 return displayDate;
137 }
138
139
140
145 public void setDisplayDate(java.util.Calendar displayDate) {
146 this.displayDate = displayDate;
147 }
148
149
150
155 public long getEntryId() {
156 return entryId;
157 }
158
159
160
165 public void setEntryId(long entryId) {
166 this.entryId = entryId;
167 }
168
169
170
175 public long getGroupId() {
176 return groupId;
177 }
178
179
180
185 public void setGroupId(long groupId) {
186 this.groupId = groupId;
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 long getPrimaryKey() {
216 return primaryKey;
217 }
218
219
220
225 public void setPrimaryKey(long primaryKey) {
226 this.primaryKey = primaryKey;
227 }
228
229
230
235 public java.lang.String getTitle() {
236 return title;
237 }
238
239
240
245 public void setTitle(java.lang.String title) {
246 this.title = title;
247 }
248
249
250
255 public java.lang.String getUrlTitle() {
256 return urlTitle;
257 }
258
259
260
265 public void setUrlTitle(java.lang.String urlTitle) {
266 this.urlTitle = urlTitle;
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 BlogsEntrySoap)) return false;
332 BlogsEntrySoap other = (BlogsEntrySoap) 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.content==null && other.getContent()==null) ||
343 (this.content!=null &&
344 this.content.equals(other.getContent()))) &&
345 ((this.createDate==null && other.getCreateDate()==null) ||
346 (this.createDate!=null &&
347 this.createDate.equals(other.getCreateDate()))) &&
348 ((this.displayDate==null && other.getDisplayDate()==null) ||
349 (this.displayDate!=null &&
350 this.displayDate.equals(other.getDisplayDate()))) &&
351 this.entryId == other.getEntryId() &&
352 this.groupId == other.getGroupId() &&
353 ((this.modifiedDate==null && other.getModifiedDate()==null) ||
354 (this.modifiedDate!=null &&
355 this.modifiedDate.equals(other.getModifiedDate()))) &&
356 this.primaryKey == other.getPrimaryKey() &&
357 ((this.title==null && other.getTitle()==null) ||
358 (this.title!=null &&
359 this.title.equals(other.getTitle()))) &&
360 ((this.urlTitle==null && other.getUrlTitle()==null) ||
361 (this.urlTitle!=null &&
362 this.urlTitle.equals(other.getUrlTitle()))) &&
363 this.userId == other.getUserId() &&
364 ((this.userName==null && other.getUserName()==null) ||
365 (this.userName!=null &&
366 this.userName.equals(other.getUserName()))) &&
367 ((this.uuid==null && other.getUuid()==null) ||
368 (this.uuid!=null &&
369 this.uuid.equals(other.getUuid())));
370 __equalsCalc = null;
371 return _equals;
372 }
373
374 private boolean __hashCodeCalc = false;
375 public synchronized int hashCode() {
376 if (__hashCodeCalc) {
377 return 0;
378 }
379 __hashCodeCalc = true;
380 int _hashCode = 1;
381 _hashCode += new Long(getCompanyId()).hashCode();
382 if (getContent() != null) {
383 _hashCode += getContent().hashCode();
384 }
385 if (getCreateDate() != null) {
386 _hashCode += getCreateDate().hashCode();
387 }
388 if (getDisplayDate() != null) {
389 _hashCode += getDisplayDate().hashCode();
390 }
391 _hashCode += new Long(getEntryId()).hashCode();
392 _hashCode += new Long(getGroupId()).hashCode();
393 if (getModifiedDate() != null) {
394 _hashCode += getModifiedDate().hashCode();
395 }
396 _hashCode += new Long(getPrimaryKey()).hashCode();
397 if (getTitle() != null) {
398 _hashCode += getTitle().hashCode();
399 }
400 if (getUrlTitle() != null) {
401 _hashCode += getUrlTitle().hashCode();
402 }
403 _hashCode += new Long(getUserId()).hashCode();
404 if (getUserName() != null) {
405 _hashCode += getUserName().hashCode();
406 }
407 if (getUuid() != null) {
408 _hashCode += getUuid().hashCode();
409 }
410 __hashCodeCalc = false;
411 return _hashCode;
412 }
413
414 private static org.apache.axis.description.TypeDesc typeDesc =
416 new org.apache.axis.description.TypeDesc(BlogsEntrySoap.class, true);
417
418 static {
419 typeDesc.setXmlType(new javax.xml.namespace.QName("http://model.blogs.portlet.liferay.com", "BlogsEntrySoap"));
420 org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
421 elemField.setFieldName("companyId");
422 elemField.setXmlName(new javax.xml.namespace.QName("", "companyId"));
423 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
424 elemField.setNillable(false);
425 typeDesc.addFieldDesc(elemField);
426 elemField = new org.apache.axis.description.ElementDesc();
427 elemField.setFieldName("content");
428 elemField.setXmlName(new javax.xml.namespace.QName("", "content"));
429 elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
430 elemField.setNillable(true);
431 typeDesc.addFieldDesc(elemField);
432 elemField = new org.apache.axis.description.ElementDesc();
433 elemField.setFieldName("createDate");
434 elemField.setXmlName(new javax.xml.namespace.QName("", "createDate"));
435 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime"));
436 elemField.setNillable(true);
437 typeDesc.addFieldDesc(elemField);
438 elemField = new org.apache.axis.description.ElementDesc();
439 elemField.setFieldName("displayDate");
440 elemField.setXmlName(new javax.xml.namespace.QName("", "displayDate"));
441 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime"));
442 elemField.setNillable(true);
443 typeDesc.addFieldDesc(elemField);
444 elemField = new org.apache.axis.description.ElementDesc();
445 elemField.setFieldName("entryId");
446 elemField.setXmlName(new javax.xml.namespace.QName("", "entryId"));
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("groupId");
452 elemField.setXmlName(new javax.xml.namespace.QName("", "groupId"));
453 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
454 elemField.setNillable(false);
455 typeDesc.addFieldDesc(elemField);
456 elemField = new org.apache.axis.description.ElementDesc();
457 elemField.setFieldName("modifiedDate");
458 elemField.setXmlName(new javax.xml.namespace.QName("", "modifiedDate"));
459 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime"));
460 elemField.setNillable(true);
461 typeDesc.addFieldDesc(elemField);
462 elemField = new org.apache.axis.description.ElementDesc();
463 elemField.setFieldName("primaryKey");
464 elemField.setXmlName(new javax.xml.namespace.QName("", "primaryKey"));
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("title");
470 elemField.setXmlName(new javax.xml.namespace.QName("", "title"));
471 elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
472 elemField.setNillable(true);
473 typeDesc.addFieldDesc(elemField);
474 elemField = new org.apache.axis.description.ElementDesc();
475 elemField.setFieldName("urlTitle");
476 elemField.setXmlName(new javax.xml.namespace.QName("", "urlTitle"));
477 elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
478 elemField.setNillable(true);
479 typeDesc.addFieldDesc(elemField);
480 elemField = new org.apache.axis.description.ElementDesc();
481 elemField.setFieldName("userId");
482 elemField.setXmlName(new javax.xml.namespace.QName("", "userId"));
483 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
484 elemField.setNillable(false);
485 typeDesc.addFieldDesc(elemField);
486 elemField = new org.apache.axis.description.ElementDesc();
487 elemField.setFieldName("userName");
488 elemField.setXmlName(new javax.xml.namespace.QName("", "userName"));
489 elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
490 elemField.setNillable(true);
491 typeDesc.addFieldDesc(elemField);
492 elemField = new org.apache.axis.description.ElementDesc();
493 elemField.setFieldName("uuid");
494 elemField.setXmlName(new javax.xml.namespace.QName("", "uuid"));
495 elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
496 elemField.setNillable(true);
497 typeDesc.addFieldDesc(elemField);
498 }
499
500
503 public static org.apache.axis.description.TypeDesc getTypeDesc() {
504 return typeDesc;
505 }
506
507
510 public static org.apache.axis.encoding.Serializer getSerializer(
511 java.lang.String mechType,
512 java.lang.Class _javaType,
513 javax.xml.namespace.QName _xmlType) {
514 return
515 new org.apache.axis.encoding.ser.BeanSerializer(
516 _javaType, _xmlType, typeDesc);
517 }
518
519
522 public static org.apache.axis.encoding.Deserializer getDeserializer(
523 java.lang.String mechType,
524 java.lang.Class _javaType,
525 javax.xml.namespace.QName _xmlType) {
526 return
527 new org.apache.axis.encoding.ser.BeanDeserializer(
528 _javaType, _xmlType, typeDesc);
529 }
530
531 }
532