1
7
8 package com.liferay.client.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 public WikiNodeSoap() {
34 }
35
36 public WikiNodeSoap(
37 long companyId,
38 java.util.Calendar createDate,
39 java.lang.String description,
40 long groupId,
41 java.util.Calendar lastPostDate,
42 java.util.Calendar modifiedDate,
43 java.lang.String name,
44 long nodeId,
45 long primaryKey,
46 long userId,
47 java.lang.String userName) {
48 this.companyId = companyId;
49 this.createDate = createDate;
50 this.description = description;
51 this.groupId = groupId;
52 this.lastPostDate = lastPostDate;
53 this.modifiedDate = modifiedDate;
54 this.name = name;
55 this.nodeId = nodeId;
56 this.primaryKey = primaryKey;
57 this.userId = userId;
58 this.userName = userName;
59 }
60
61
62
67 public long getCompanyId() {
68 return companyId;
69 }
70
71
72
77 public void setCompanyId(long companyId) {
78 this.companyId = companyId;
79 }
80
81
82
87 public java.util.Calendar getCreateDate() {
88 return createDate;
89 }
90
91
92
97 public void setCreateDate(java.util.Calendar createDate) {
98 this.createDate = createDate;
99 }
100
101
102
107 public java.lang.String getDescription() {
108 return description;
109 }
110
111
112
117 public void setDescription(java.lang.String description) {
118 this.description = description;
119 }
120
121
122
127 public long getGroupId() {
128 return groupId;
129 }
130
131
132
137 public void setGroupId(long groupId) {
138 this.groupId = groupId;
139 }
140
141
142
147 public java.util.Calendar getLastPostDate() {
148 return lastPostDate;
149 }
150
151
152
157 public void setLastPostDate(java.util.Calendar lastPostDate) {
158 this.lastPostDate = lastPostDate;
159 }
160
161
162
167 public java.util.Calendar getModifiedDate() {
168 return modifiedDate;
169 }
170
171
172
177 public void setModifiedDate(java.util.Calendar modifiedDate) {
178 this.modifiedDate = modifiedDate;
179 }
180
181
182
187 public java.lang.String getName() {
188 return name;
189 }
190
191
192
197 public void setName(java.lang.String name) {
198 this.name = name;
199 }
200
201
202
207 public long getNodeId() {
208 return nodeId;
209 }
210
211
212
217 public void setNodeId(long nodeId) {
218 this.nodeId = nodeId;
219 }
220
221
222
227 public long getPrimaryKey() {
228 return primaryKey;
229 }
230
231
232
237 public void setPrimaryKey(long primaryKey) {
238 this.primaryKey = primaryKey;
239 }
240
241
242
247 public long getUserId() {
248 return userId;
249 }
250
251
252
257 public void setUserId(long userId) {
258 this.userId = userId;
259 }
260
261
262
267 public java.lang.String getUserName() {
268 return userName;
269 }
270
271
272
277 public void setUserName(java.lang.String userName) {
278 this.userName = userName;
279 }
280
281 private java.lang.Object __equalsCalc = null;
282 public synchronized boolean equals(java.lang.Object obj) {
283 if (!(obj instanceof WikiNodeSoap)) return false;
284 WikiNodeSoap other = (WikiNodeSoap) obj;
285 if (obj == null) return false;
286 if (this == obj) return true;
287 if (__equalsCalc != null) {
288 return (__equalsCalc == obj);
289 }
290 __equalsCalc = obj;
291 boolean _equals;
292 _equals = true &&
293 this.companyId == other.getCompanyId() &&
294 ((this.createDate==null && other.getCreateDate()==null) ||
295 (this.createDate!=null &&
296 this.createDate.equals(other.getCreateDate()))) &&
297 ((this.description==null && other.getDescription()==null) ||
298 (this.description!=null &&
299 this.description.equals(other.getDescription()))) &&
300 this.groupId == other.getGroupId() &&
301 ((this.lastPostDate==null && other.getLastPostDate()==null) ||
302 (this.lastPostDate!=null &&
303 this.lastPostDate.equals(other.getLastPostDate()))) &&
304 ((this.modifiedDate==null && other.getModifiedDate()==null) ||
305 (this.modifiedDate!=null &&
306 this.modifiedDate.equals(other.getModifiedDate()))) &&
307 ((this.name==null && other.getName()==null) ||
308 (this.name!=null &&
309 this.name.equals(other.getName()))) &&
310 this.nodeId == other.getNodeId() &&
311 this.primaryKey == other.getPrimaryKey() &&
312 this.userId == other.getUserId() &&
313 ((this.userName==null && other.getUserName()==null) ||
314 (this.userName!=null &&
315 this.userName.equals(other.getUserName())));
316 __equalsCalc = null;
317 return _equals;
318 }
319
320 private boolean __hashCodeCalc = false;
321 public synchronized int hashCode() {
322 if (__hashCodeCalc) {
323 return 0;
324 }
325 __hashCodeCalc = true;
326 int _hashCode = 1;
327 _hashCode += new Long(getCompanyId()).hashCode();
328 if (getCreateDate() != null) {
329 _hashCode += getCreateDate().hashCode();
330 }
331 if (getDescription() != null) {
332 _hashCode += getDescription().hashCode();
333 }
334 _hashCode += new Long(getGroupId()).hashCode();
335 if (getLastPostDate() != null) {
336 _hashCode += getLastPostDate().hashCode();
337 }
338 if (getModifiedDate() != null) {
339 _hashCode += getModifiedDate().hashCode();
340 }
341 if (getName() != null) {
342 _hashCode += getName().hashCode();
343 }
344 _hashCode += new Long(getNodeId()).hashCode();
345 _hashCode += new Long(getPrimaryKey()).hashCode();
346 _hashCode += new Long(getUserId()).hashCode();
347 if (getUserName() != null) {
348 _hashCode += getUserName().hashCode();
349 }
350 __hashCodeCalc = false;
351 return _hashCode;
352 }
353
354 private static org.apache.axis.description.TypeDesc typeDesc =
356 new org.apache.axis.description.TypeDesc(WikiNodeSoap.class, true);
357
358 static {
359 typeDesc.setXmlType(new javax.xml.namespace.QName("http://model.wiki.portlet.liferay.com", "WikiNodeSoap"));
360 org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
361 elemField.setFieldName("companyId");
362 elemField.setXmlName(new javax.xml.namespace.QName("", "companyId"));
363 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
364 elemField.setNillable(false);
365 typeDesc.addFieldDesc(elemField);
366 elemField = new org.apache.axis.description.ElementDesc();
367 elemField.setFieldName("createDate");
368 elemField.setXmlName(new javax.xml.namespace.QName("", "createDate"));
369 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime"));
370 elemField.setNillable(true);
371 typeDesc.addFieldDesc(elemField);
372 elemField = new org.apache.axis.description.ElementDesc();
373 elemField.setFieldName("description");
374 elemField.setXmlName(new javax.xml.namespace.QName("", "description"));
375 elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
376 elemField.setNillable(true);
377 typeDesc.addFieldDesc(elemField);
378 elemField = new org.apache.axis.description.ElementDesc();
379 elemField.setFieldName("groupId");
380 elemField.setXmlName(new javax.xml.namespace.QName("", "groupId"));
381 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
382 elemField.setNillable(false);
383 typeDesc.addFieldDesc(elemField);
384 elemField = new org.apache.axis.description.ElementDesc();
385 elemField.setFieldName("lastPostDate");
386 elemField.setXmlName(new javax.xml.namespace.QName("", "lastPostDate"));
387 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime"));
388 elemField.setNillable(true);
389 typeDesc.addFieldDesc(elemField);
390 elemField = new org.apache.axis.description.ElementDesc();
391 elemField.setFieldName("modifiedDate");
392 elemField.setXmlName(new javax.xml.namespace.QName("", "modifiedDate"));
393 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime"));
394 elemField.setNillable(true);
395 typeDesc.addFieldDesc(elemField);
396 elemField = new org.apache.axis.description.ElementDesc();
397 elemField.setFieldName("name");
398 elemField.setXmlName(new javax.xml.namespace.QName("", "name"));
399 elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
400 elemField.setNillable(true);
401 typeDesc.addFieldDesc(elemField);
402 elemField = new org.apache.axis.description.ElementDesc();
403 elemField.setFieldName("nodeId");
404 elemField.setXmlName(new javax.xml.namespace.QName("", "nodeId"));
405 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
406 elemField.setNillable(false);
407 typeDesc.addFieldDesc(elemField);
408 elemField = new org.apache.axis.description.ElementDesc();
409 elemField.setFieldName("primaryKey");
410 elemField.setXmlName(new javax.xml.namespace.QName("", "primaryKey"));
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("userId");
416 elemField.setXmlName(new javax.xml.namespace.QName("", "userId"));
417 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
418 elemField.setNillable(false);
419 typeDesc.addFieldDesc(elemField);
420 elemField = new org.apache.axis.description.ElementDesc();
421 elemField.setFieldName("userName");
422 elemField.setXmlName(new javax.xml.namespace.QName("", "userName"));
423 elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
424 elemField.setNillable(true);
425 typeDesc.addFieldDesc(elemField);
426 }
427
428
431 public static org.apache.axis.description.TypeDesc getTypeDesc() {
432 return typeDesc;
433 }
434
435
438 public static org.apache.axis.encoding.Serializer getSerializer(
439 java.lang.String mechType,
440 java.lang.Class _javaType,
441 javax.xml.namespace.QName _xmlType) {
442 return
443 new org.apache.axis.encoding.ser.BeanSerializer(
444 _javaType, _xmlType, typeDesc);
445 }
446
447
450 public static org.apache.axis.encoding.Deserializer getDeserializer(
451 java.lang.String mechType,
452 java.lang.Class _javaType,
453 javax.xml.namespace.QName _xmlType) {
454 return
455 new org.apache.axis.encoding.ser.BeanDeserializer(
456 _javaType, _xmlType, typeDesc);
457 }
458
459 }
460