1
7
8 package com.liferay.client.portlet.journal.model;
9
10 public class JournalStructureSoap 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 long id;
20
21 private java.util.Calendar modifiedDate;
22
23 private java.lang.String name;
24
25 private long primaryKey;
26
27 private java.lang.String structureId;
28
29 private long userId;
30
31 private java.lang.String userName;
32
33 private java.lang.String uuid;
34
35 private java.lang.String xsd;
36
37 public JournalStructureSoap() {
38 }
39
40 public JournalStructureSoap(
41 long companyId,
42 java.util.Calendar createDate,
43 java.lang.String description,
44 long groupId,
45 long id,
46 java.util.Calendar modifiedDate,
47 java.lang.String name,
48 long primaryKey,
49 java.lang.String structureId,
50 long userId,
51 java.lang.String userName,
52 java.lang.String uuid,
53 java.lang.String xsd) {
54 this.companyId = companyId;
55 this.createDate = createDate;
56 this.description = description;
57 this.groupId = groupId;
58 this.id = id;
59 this.modifiedDate = modifiedDate;
60 this.name = name;
61 this.primaryKey = primaryKey;
62 this.structureId = structureId;
63 this.userId = userId;
64 this.userName = userName;
65 this.uuid = uuid;
66 this.xsd = xsd;
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.util.Calendar getCreateDate() {
96 return createDate;
97 }
98
99
100
105 public void setCreateDate(java.util.Calendar createDate) {
106 this.createDate = createDate;
107 }
108
109
110
115 public java.lang.String getDescription() {
116 return description;
117 }
118
119
120
125 public void setDescription(java.lang.String description) {
126 this.description = description;
127 }
128
129
130
135 public long getGroupId() {
136 return groupId;
137 }
138
139
140
145 public void setGroupId(long groupId) {
146 this.groupId = groupId;
147 }
148
149
150
155 public long getId() {
156 return id;
157 }
158
159
160
165 public void setId(long id) {
166 this.id = id;
167 }
168
169
170
175 public java.util.Calendar getModifiedDate() {
176 return modifiedDate;
177 }
178
179
180
185 public void setModifiedDate(java.util.Calendar modifiedDate) {
186 this.modifiedDate = modifiedDate;
187 }
188
189
190
195 public java.lang.String getName() {
196 return name;
197 }
198
199
200
205 public void setName(java.lang.String name) {
206 this.name = name;
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 getStructureId() {
236 return structureId;
237 }
238
239
240
245 public void setStructureId(java.lang.String structureId) {
246 this.structureId = structureId;
247 }
248
249
250
255 public long getUserId() {
256 return userId;
257 }
258
259
260
265 public void setUserId(long userId) {
266 this.userId = userId;
267 }
268
269
270
275 public java.lang.String getUserName() {
276 return userName;
277 }
278
279
280
285 public void setUserName(java.lang.String userName) {
286 this.userName = userName;
287 }
288
289
290
295 public java.lang.String getUuid() {
296 return uuid;
297 }
298
299
300
305 public void setUuid(java.lang.String uuid) {
306 this.uuid = uuid;
307 }
308
309
310
315 public java.lang.String getXsd() {
316 return xsd;
317 }
318
319
320
325 public void setXsd(java.lang.String xsd) {
326 this.xsd = xsd;
327 }
328
329 private java.lang.Object __equalsCalc = null;
330 public synchronized boolean equals(java.lang.Object obj) {
331 if (!(obj instanceof JournalStructureSoap)) return false;
332 JournalStructureSoap other = (JournalStructureSoap) 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.createDate==null && other.getCreateDate()==null) ||
343 (this.createDate!=null &&
344 this.createDate.equals(other.getCreateDate()))) &&
345 ((this.description==null && other.getDescription()==null) ||
346 (this.description!=null &&
347 this.description.equals(other.getDescription()))) &&
348 this.groupId == other.getGroupId() &&
349 this.id == other.getId() &&
350 ((this.modifiedDate==null && other.getModifiedDate()==null) ||
351 (this.modifiedDate!=null &&
352 this.modifiedDate.equals(other.getModifiedDate()))) &&
353 ((this.name==null && other.getName()==null) ||
354 (this.name!=null &&
355 this.name.equals(other.getName()))) &&
356 this.primaryKey == other.getPrimaryKey() &&
357 ((this.structureId==null && other.getStructureId()==null) ||
358 (this.structureId!=null &&
359 this.structureId.equals(other.getStructureId()))) &&
360 this.userId == other.getUserId() &&
361 ((this.userName==null && other.getUserName()==null) ||
362 (this.userName!=null &&
363 this.userName.equals(other.getUserName()))) &&
364 ((this.uuid==null && other.getUuid()==null) ||
365 (this.uuid!=null &&
366 this.uuid.equals(other.getUuid()))) &&
367 ((this.xsd==null && other.getXsd()==null) ||
368 (this.xsd!=null &&
369 this.xsd.equals(other.getXsd())));
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 (getCreateDate() != null) {
383 _hashCode += getCreateDate().hashCode();
384 }
385 if (getDescription() != null) {
386 _hashCode += getDescription().hashCode();
387 }
388 _hashCode += new Long(getGroupId()).hashCode();
389 _hashCode += new Long(getId()).hashCode();
390 if (getModifiedDate() != null) {
391 _hashCode += getModifiedDate().hashCode();
392 }
393 if (getName() != null) {
394 _hashCode += getName().hashCode();
395 }
396 _hashCode += new Long(getPrimaryKey()).hashCode();
397 if (getStructureId() != null) {
398 _hashCode += getStructureId().hashCode();
399 }
400 _hashCode += new Long(getUserId()).hashCode();
401 if (getUserName() != null) {
402 _hashCode += getUserName().hashCode();
403 }
404 if (getUuid() != null) {
405 _hashCode += getUuid().hashCode();
406 }
407 if (getXsd() != null) {
408 _hashCode += getXsd().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(JournalStructureSoap.class, true);
417
418 static {
419 typeDesc.setXmlType(new javax.xml.namespace.QName("http://model.journal.portlet.liferay.com", "JournalStructureSoap"));
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("createDate");
428 elemField.setXmlName(new javax.xml.namespace.QName("", "createDate"));
429 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime"));
430 elemField.setNillable(true);
431 typeDesc.addFieldDesc(elemField);
432 elemField = new org.apache.axis.description.ElementDesc();
433 elemField.setFieldName("description");
434 elemField.setXmlName(new javax.xml.namespace.QName("", "description"));
435 elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
436 elemField.setNillable(true);
437 typeDesc.addFieldDesc(elemField);
438 elemField = new org.apache.axis.description.ElementDesc();
439 elemField.setFieldName("groupId");
440 elemField.setXmlName(new javax.xml.namespace.QName("", "groupId"));
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("id");
446 elemField.setXmlName(new javax.xml.namespace.QName("", "id"));
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("modifiedDate");
452 elemField.setXmlName(new javax.xml.namespace.QName("", "modifiedDate"));
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("name");
458 elemField.setXmlName(new javax.xml.namespace.QName("", "name"));
459 elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
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("structureId");
470 elemField.setXmlName(new javax.xml.namespace.QName("", "structureId"));
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("userId");
476 elemField.setXmlName(new javax.xml.namespace.QName("", "userId"));
477 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
478 elemField.setNillable(false);
479 typeDesc.addFieldDesc(elemField);
480 elemField = new org.apache.axis.description.ElementDesc();
481 elemField.setFieldName("userName");
482 elemField.setXmlName(new javax.xml.namespace.QName("", "userName"));
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("uuid");
488 elemField.setXmlName(new javax.xml.namespace.QName("", "uuid"));
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("xsd");
494 elemField.setXmlName(new javax.xml.namespace.QName("", "xsd"));
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