1
7
8 package com.liferay.client.soap.portlet.wiki.model;
9
10 public class WikiNodeSoap 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 groupId;
18
19 private java.util.Calendar lastPostDate;
20
21 private java.util.Calendar modifiedDate;
22
23 private java.lang.String name;
24
25 private long nodeId;
26
27 private long primaryKey;
28
29 private long userId;
30
31 private java.lang.String userName;
32
33 private java.lang.String uuid;
34
35 public WikiNodeSoap() {
36 }
37
38 public WikiNodeSoap(
39 long companyId,
40 java.util.Calendar createDate,
41 java.lang.String description,
42 long groupId,
43 java.util.Calendar lastPostDate,
44 java.util.Calendar modifiedDate,
45 java.lang.String name,
46 long nodeId,
47 long primaryKey,
48 long userId,
49 java.lang.String userName,
50 java.lang.String uuid) {
51 this.companyId = companyId;
52 this.createDate = createDate;
53 this.description = description;
54 this.groupId = groupId;
55 this.lastPostDate = lastPostDate;
56 this.modifiedDate = modifiedDate;
57 this.name = name;
58 this.nodeId = nodeId;
59 this.primaryKey = primaryKey;
60 this.userId = userId;
61 this.userName = userName;
62 this.uuid = uuid;
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 getGroupId() {
132 return groupId;
133 }
134
135
136
141 public void setGroupId(long groupId) {
142 this.groupId = groupId;
143 }
144
145
146
151 public java.util.Calendar getLastPostDate() {
152 return lastPostDate;
153 }
154
155
156
161 public void setLastPostDate(java.util.Calendar lastPostDate) {
162 this.lastPostDate = lastPostDate;
163 }
164
165
166
171 public java.util.Calendar getModifiedDate() {
172 return modifiedDate;
173 }
174
175
176
181 public void setModifiedDate(java.util.Calendar modifiedDate) {
182 this.modifiedDate = modifiedDate;
183 }
184
185
186
191 public java.lang.String getName() {
192 return name;
193 }
194
195
196
201 public void setName(java.lang.String name) {
202 this.name = name;
203 }
204
205
206
211 public long getNodeId() {
212 return nodeId;
213 }
214
215
216
221 public void setNodeId(long nodeId) {
222 this.nodeId = nodeId;
223 }
224
225
226
231 public long getPrimaryKey() {
232 return primaryKey;
233 }
234
235
236
241 public void setPrimaryKey(long primaryKey) {
242 this.primaryKey = primaryKey;
243 }
244
245
246
251 public long getUserId() {
252 return userId;
253 }
254
255
256
261 public void setUserId(long userId) {
262 this.userId = userId;
263 }
264
265
266
271 public java.lang.String getUserName() {
272 return userName;
273 }
274
275
276
281 public void setUserName(java.lang.String userName) {
282 this.userName = userName;
283 }
284
285
286
291 public java.lang.String getUuid() {
292 return uuid;
293 }
294
295
296
301 public void setUuid(java.lang.String uuid) {
302 this.uuid = uuid;
303 }
304
305 private java.lang.Object __equalsCalc = null;
306 public synchronized boolean equals(java.lang.Object obj) {
307 if (!(obj instanceof WikiNodeSoap)) return false;
308 WikiNodeSoap other = (WikiNodeSoap) 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.groupId == other.getGroupId() &&
325 ((this.lastPostDate==null && other.getLastPostDate()==null) ||
326 (this.lastPostDate!=null &&
327 this.lastPostDate.equals(other.getLastPostDate()))) &&
328 ((this.modifiedDate==null && other.getModifiedDate()==null) ||
329 (this.modifiedDate!=null &&
330 this.modifiedDate.equals(other.getModifiedDate()))) &&
331 ((this.name==null && other.getName()==null) ||
332 (this.name!=null &&
333 this.name.equals(other.getName()))) &&
334 this.nodeId == other.getNodeId() &&
335 this.primaryKey == other.getPrimaryKey() &&
336 this.userId == other.getUserId() &&
337 ((this.userName==null && other.getUserName()==null) ||
338 (this.userName!=null &&
339 this.userName.equals(other.getUserName()))) &&
340 ((this.uuid==null && other.getUuid()==null) ||
341 (this.uuid!=null &&
342 this.uuid.equals(other.getUuid())));
343 __equalsCalc = null;
344 return _equals;
345 }
346
347 private boolean __hashCodeCalc = false;
348 public synchronized int hashCode() {
349 if (__hashCodeCalc) {
350 return 0;
351 }
352 __hashCodeCalc = true;
353 int _hashCode = 1;
354 _hashCode += new Long(getCompanyId()).hashCode();
355 if (getCreateDate() != null) {
356 _hashCode += getCreateDate().hashCode();
357 }
358 if (getDescription() != null) {
359 _hashCode += getDescription().hashCode();
360 }
361 _hashCode += new Long(getGroupId()).hashCode();
362 if (getLastPostDate() != null) {
363 _hashCode += getLastPostDate().hashCode();
364 }
365 if (getModifiedDate() != null) {
366 _hashCode += getModifiedDate().hashCode();
367 }
368 if (getName() != null) {
369 _hashCode += getName().hashCode();
370 }
371 _hashCode += new Long(getNodeId()).hashCode();
372 _hashCode += new Long(getPrimaryKey()).hashCode();
373 _hashCode += new Long(getUserId()).hashCode();
374 if (getUserName() != null) {
375 _hashCode += getUserName().hashCode();
376 }
377 if (getUuid() != null) {
378 _hashCode += getUuid().hashCode();
379 }
380 __hashCodeCalc = false;
381 return _hashCode;
382 }
383
384 private static org.apache.axis.description.TypeDesc typeDesc =
386 new org.apache.axis.description.TypeDesc(WikiNodeSoap.class, true);
387
388 static {
389 typeDesc.setXmlType(new javax.xml.namespace.QName("http://model.wiki.portlet.liferay.com", "WikiNodeSoap"));
390 org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
391 elemField.setFieldName("companyId");
392 elemField.setXmlName(new javax.xml.namespace.QName("", "companyId"));
393 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
394 elemField.setNillable(false);
395 typeDesc.addFieldDesc(elemField);
396 elemField = new org.apache.axis.description.ElementDesc();
397 elemField.setFieldName("createDate");
398 elemField.setXmlName(new javax.xml.namespace.QName("", "createDate"));
399 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime"));
400 elemField.setNillable(true);
401 typeDesc.addFieldDesc(elemField);
402 elemField = new org.apache.axis.description.ElementDesc();
403 elemField.setFieldName("description");
404 elemField.setXmlName(new javax.xml.namespace.QName("", "description"));
405 elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
406 elemField.setNillable(true);
407 typeDesc.addFieldDesc(elemField);
408 elemField = new org.apache.axis.description.ElementDesc();
409 elemField.setFieldName("groupId");
410 elemField.setXmlName(new javax.xml.namespace.QName("", "groupId"));
411 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
412 elemField.setNillable(false);
413 typeDesc.addFieldDesc(elemField);
414 elemField = new org.apache.axis.description.ElementDesc();
415 elemField.setFieldName("lastPostDate");
416 elemField.setXmlName(new javax.xml.namespace.QName("", "lastPostDate"));
417 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime"));
418 elemField.setNillable(true);
419 typeDesc.addFieldDesc(elemField);
420 elemField = new org.apache.axis.description.ElementDesc();
421 elemField.setFieldName("modifiedDate");
422 elemField.setXmlName(new javax.xml.namespace.QName("", "modifiedDate"));
423 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime"));
424 elemField.setNillable(true);
425 typeDesc.addFieldDesc(elemField);
426 elemField = new org.apache.axis.description.ElementDesc();
427 elemField.setFieldName("name");
428 elemField.setXmlName(new javax.xml.namespace.QName("", "name"));
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("nodeId");
434 elemField.setXmlName(new javax.xml.namespace.QName("", "nodeId"));
435 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
436 elemField.setNillable(false);
437 typeDesc.addFieldDesc(elemField);
438 elemField = new org.apache.axis.description.ElementDesc();
439 elemField.setFieldName("primaryKey");
440 elemField.setXmlName(new javax.xml.namespace.QName("", "primaryKey"));
441 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
442 elemField.setNillable(false);
443 typeDesc.addFieldDesc(elemField);
444 elemField = new org.apache.axis.description.ElementDesc();
445 elemField.setFieldName("userId");
446 elemField.setXmlName(new javax.xml.namespace.QName("", "userId"));
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("userName");
452 elemField.setXmlName(new javax.xml.namespace.QName("", "userName"));
453 elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
454 elemField.setNillable(true);
455 typeDesc.addFieldDesc(elemField);
456 elemField = new org.apache.axis.description.ElementDesc();
457 elemField.setFieldName("uuid");
458 elemField.setXmlName(new javax.xml.namespace.QName("", "uuid"));
459 elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
460 elemField.setNillable(true);
461 typeDesc.addFieldDesc(elemField);
462 }
463
464
467 public static org.apache.axis.description.TypeDesc getTypeDesc() {
468 return typeDesc;
469 }
470
471
474 public static org.apache.axis.encoding.Serializer getSerializer(
475 java.lang.String mechType,
476 java.lang.Class _javaType,
477 javax.xml.namespace.QName _xmlType) {
478 return
479 new org.apache.axis.encoding.ser.BeanSerializer(
480 _javaType, _xmlType, typeDesc);
481 }
482
483
486 public static org.apache.axis.encoding.Deserializer getDeserializer(
487 java.lang.String mechType,
488 java.lang.Class _javaType,
489 javax.xml.namespace.QName _xmlType) {
490 return
491 new org.apache.axis.encoding.ser.BeanDeserializer(
492 _javaType, _xmlType, typeDesc);
493 }
494
495 }
496