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