1
7
8 package com.liferay.client.soap.portlet.imagegallery.model;
9
10 public class IGImageSoap implements java.io.Serializable {
11 private long companyId;
12
13 private java.util.Calendar createDate;
14
15 private long custom1ImageId;
16
17 private long custom2ImageId;
18
19 private java.lang.String description;
20
21 private long folderId;
22
23 private long groupId;
24
25 private long imageId;
26
27 private long largeImageId;
28
29 private java.util.Calendar modifiedDate;
30
31 private java.lang.String name;
32
33 private long primaryKey;
34
35 private long smallImageId;
36
37 private long userId;
38
39 private java.lang.String uuid;
40
41 public IGImageSoap() {
42 }
43
44 public IGImageSoap(
45 long companyId,
46 java.util.Calendar createDate,
47 long custom1ImageId,
48 long custom2ImageId,
49 java.lang.String description,
50 long folderId,
51 long groupId,
52 long imageId,
53 long largeImageId,
54 java.util.Calendar modifiedDate,
55 java.lang.String name,
56 long primaryKey,
57 long smallImageId,
58 long userId,
59 java.lang.String uuid) {
60 this.companyId = companyId;
61 this.createDate = createDate;
62 this.custom1ImageId = custom1ImageId;
63 this.custom2ImageId = custom2ImageId;
64 this.description = description;
65 this.folderId = folderId;
66 this.groupId = groupId;
67 this.imageId = imageId;
68 this.largeImageId = largeImageId;
69 this.modifiedDate = modifiedDate;
70 this.name = name;
71 this.primaryKey = primaryKey;
72 this.smallImageId = smallImageId;
73 this.userId = userId;
74 this.uuid = uuid;
75 }
76
77
78
83 public long getCompanyId() {
84 return companyId;
85 }
86
87
88
93 public void setCompanyId(long companyId) {
94 this.companyId = companyId;
95 }
96
97
98
103 public java.util.Calendar getCreateDate() {
104 return createDate;
105 }
106
107
108
113 public void setCreateDate(java.util.Calendar createDate) {
114 this.createDate = createDate;
115 }
116
117
118
123 public long getCustom1ImageId() {
124 return custom1ImageId;
125 }
126
127
128
133 public void setCustom1ImageId(long custom1ImageId) {
134 this.custom1ImageId = custom1ImageId;
135 }
136
137
138
143 public long getCustom2ImageId() {
144 return custom2ImageId;
145 }
146
147
148
153 public void setCustom2ImageId(long custom2ImageId) {
154 this.custom2ImageId = custom2ImageId;
155 }
156
157
158
163 public java.lang.String getDescription() {
164 return description;
165 }
166
167
168
173 public void setDescription(java.lang.String description) {
174 this.description = description;
175 }
176
177
178
183 public long getFolderId() {
184 return folderId;
185 }
186
187
188
193 public void setFolderId(long folderId) {
194 this.folderId = folderId;
195 }
196
197
198
203 public long getGroupId() {
204 return groupId;
205 }
206
207
208
213 public void setGroupId(long groupId) {
214 this.groupId = groupId;
215 }
216
217
218
223 public long getImageId() {
224 return imageId;
225 }
226
227
228
233 public void setImageId(long imageId) {
234 this.imageId = imageId;
235 }
236
237
238
243 public long getLargeImageId() {
244 return largeImageId;
245 }
246
247
248
253 public void setLargeImageId(long largeImageId) {
254 this.largeImageId = largeImageId;
255 }
256
257
258
263 public java.util.Calendar getModifiedDate() {
264 return modifiedDate;
265 }
266
267
268
273 public void setModifiedDate(java.util.Calendar modifiedDate) {
274 this.modifiedDate = modifiedDate;
275 }
276
277
278
283 public java.lang.String getName() {
284 return name;
285 }
286
287
288
293 public void setName(java.lang.String name) {
294 this.name = name;
295 }
296
297
298
303 public long getPrimaryKey() {
304 return primaryKey;
305 }
306
307
308
313 public void setPrimaryKey(long primaryKey) {
314 this.primaryKey = primaryKey;
315 }
316
317
318
323 public long getSmallImageId() {
324 return smallImageId;
325 }
326
327
328
333 public void setSmallImageId(long smallImageId) {
334 this.smallImageId = smallImageId;
335 }
336
337
338
343 public long getUserId() {
344 return userId;
345 }
346
347
348
353 public void setUserId(long userId) {
354 this.userId = userId;
355 }
356
357
358
363 public java.lang.String getUuid() {
364 return uuid;
365 }
366
367
368
373 public void setUuid(java.lang.String uuid) {
374 this.uuid = uuid;
375 }
376
377 private java.lang.Object __equalsCalc = null;
378 public synchronized boolean equals(java.lang.Object obj) {
379 if (!(obj instanceof IGImageSoap)) return false;
380 IGImageSoap other = (IGImageSoap) obj;
381 if (obj == null) return false;
382 if (this == obj) return true;
383 if (__equalsCalc != null) {
384 return (__equalsCalc == obj);
385 }
386 __equalsCalc = obj;
387 boolean _equals;
388 _equals = true &&
389 this.companyId == other.getCompanyId() &&
390 ((this.createDate==null && other.getCreateDate()==null) ||
391 (this.createDate!=null &&
392 this.createDate.equals(other.getCreateDate()))) &&
393 this.custom1ImageId == other.getCustom1ImageId() &&
394 this.custom2ImageId == other.getCustom2ImageId() &&
395 ((this.description==null && other.getDescription()==null) ||
396 (this.description!=null &&
397 this.description.equals(other.getDescription()))) &&
398 this.folderId == other.getFolderId() &&
399 this.groupId == other.getGroupId() &&
400 this.imageId == other.getImageId() &&
401 this.largeImageId == other.getLargeImageId() &&
402 ((this.modifiedDate==null && other.getModifiedDate()==null) ||
403 (this.modifiedDate!=null &&
404 this.modifiedDate.equals(other.getModifiedDate()))) &&
405 ((this.name==null && other.getName()==null) ||
406 (this.name!=null &&
407 this.name.equals(other.getName()))) &&
408 this.primaryKey == other.getPrimaryKey() &&
409 this.smallImageId == other.getSmallImageId() &&
410 this.userId == other.getUserId() &&
411 ((this.uuid==null && other.getUuid()==null) ||
412 (this.uuid!=null &&
413 this.uuid.equals(other.getUuid())));
414 __equalsCalc = null;
415 return _equals;
416 }
417
418 private boolean __hashCodeCalc = false;
419 public synchronized int hashCode() {
420 if (__hashCodeCalc) {
421 return 0;
422 }
423 __hashCodeCalc = true;
424 int _hashCode = 1;
425 _hashCode += new Long(getCompanyId()).hashCode();
426 if (getCreateDate() != null) {
427 _hashCode += getCreateDate().hashCode();
428 }
429 _hashCode += new Long(getCustom1ImageId()).hashCode();
430 _hashCode += new Long(getCustom2ImageId()).hashCode();
431 if (getDescription() != null) {
432 _hashCode += getDescription().hashCode();
433 }
434 _hashCode += new Long(getFolderId()).hashCode();
435 _hashCode += new Long(getGroupId()).hashCode();
436 _hashCode += new Long(getImageId()).hashCode();
437 _hashCode += new Long(getLargeImageId()).hashCode();
438 if (getModifiedDate() != null) {
439 _hashCode += getModifiedDate().hashCode();
440 }
441 if (getName() != null) {
442 _hashCode += getName().hashCode();
443 }
444 _hashCode += new Long(getPrimaryKey()).hashCode();
445 _hashCode += new Long(getSmallImageId()).hashCode();
446 _hashCode += new Long(getUserId()).hashCode();
447 if (getUuid() != null) {
448 _hashCode += getUuid().hashCode();
449 }
450 __hashCodeCalc = false;
451 return _hashCode;
452 }
453
454 private static org.apache.axis.description.TypeDesc typeDesc =
456 new org.apache.axis.description.TypeDesc(IGImageSoap.class, true);
457
458 static {
459 typeDesc.setXmlType(new javax.xml.namespace.QName("http://model.imagegallery.portlet.liferay.com", "IGImageSoap"));
460 org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
461 elemField.setFieldName("companyId");
462 elemField.setXmlName(new javax.xml.namespace.QName("", "companyId"));
463 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
464 elemField.setNillable(false);
465 typeDesc.addFieldDesc(elemField);
466 elemField = new org.apache.axis.description.ElementDesc();
467 elemField.setFieldName("createDate");
468 elemField.setXmlName(new javax.xml.namespace.QName("", "createDate"));
469 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime"));
470 elemField.setNillable(true);
471 typeDesc.addFieldDesc(elemField);
472 elemField = new org.apache.axis.description.ElementDesc();
473 elemField.setFieldName("custom1ImageId");
474 elemField.setXmlName(new javax.xml.namespace.QName("", "custom1ImageId"));
475 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
476 elemField.setNillable(false);
477 typeDesc.addFieldDesc(elemField);
478 elemField = new org.apache.axis.description.ElementDesc();
479 elemField.setFieldName("custom2ImageId");
480 elemField.setXmlName(new javax.xml.namespace.QName("", "custom2ImageId"));
481 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
482 elemField.setNillable(false);
483 typeDesc.addFieldDesc(elemField);
484 elemField = new org.apache.axis.description.ElementDesc();
485 elemField.setFieldName("description");
486 elemField.setXmlName(new javax.xml.namespace.QName("", "description"));
487 elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
488 elemField.setNillable(true);
489 typeDesc.addFieldDesc(elemField);
490 elemField = new org.apache.axis.description.ElementDesc();
491 elemField.setFieldName("folderId");
492 elemField.setXmlName(new javax.xml.namespace.QName("", "folderId"));
493 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
494 elemField.setNillable(false);
495 typeDesc.addFieldDesc(elemField);
496 elemField = new org.apache.axis.description.ElementDesc();
497 elemField.setFieldName("groupId");
498 elemField.setXmlName(new javax.xml.namespace.QName("", "groupId"));
499 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
500 elemField.setNillable(false);
501 typeDesc.addFieldDesc(elemField);
502 elemField = new org.apache.axis.description.ElementDesc();
503 elemField.setFieldName("imageId");
504 elemField.setXmlName(new javax.xml.namespace.QName("", "imageId"));
505 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
506 elemField.setNillable(false);
507 typeDesc.addFieldDesc(elemField);
508 elemField = new org.apache.axis.description.ElementDesc();
509 elemField.setFieldName("largeImageId");
510 elemField.setXmlName(new javax.xml.namespace.QName("", "largeImageId"));
511 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
512 elemField.setNillable(false);
513 typeDesc.addFieldDesc(elemField);
514 elemField = new org.apache.axis.description.ElementDesc();
515 elemField.setFieldName("modifiedDate");
516 elemField.setXmlName(new javax.xml.namespace.QName("", "modifiedDate"));
517 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime"));
518 elemField.setNillable(true);
519 typeDesc.addFieldDesc(elemField);
520 elemField = new org.apache.axis.description.ElementDesc();
521 elemField.setFieldName("name");
522 elemField.setXmlName(new javax.xml.namespace.QName("", "name"));
523 elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
524 elemField.setNillable(true);
525 typeDesc.addFieldDesc(elemField);
526 elemField = new org.apache.axis.description.ElementDesc();
527 elemField.setFieldName("primaryKey");
528 elemField.setXmlName(new javax.xml.namespace.QName("", "primaryKey"));
529 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
530 elemField.setNillable(false);
531 typeDesc.addFieldDesc(elemField);
532 elemField = new org.apache.axis.description.ElementDesc();
533 elemField.setFieldName("smallImageId");
534 elemField.setXmlName(new javax.xml.namespace.QName("", "smallImageId"));
535 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
536 elemField.setNillable(false);
537 typeDesc.addFieldDesc(elemField);
538 elemField = new org.apache.axis.description.ElementDesc();
539 elemField.setFieldName("userId");
540 elemField.setXmlName(new javax.xml.namespace.QName("", "userId"));
541 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
542 elemField.setNillable(false);
543 typeDesc.addFieldDesc(elemField);
544 elemField = new org.apache.axis.description.ElementDesc();
545 elemField.setFieldName("uuid");
546 elemField.setXmlName(new javax.xml.namespace.QName("", "uuid"));
547 elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
548 elemField.setNillable(true);
549 typeDesc.addFieldDesc(elemField);
550 }
551
552
555 public static org.apache.axis.description.TypeDesc getTypeDesc() {
556 return typeDesc;
557 }
558
559
562 public static org.apache.axis.encoding.Serializer getSerializer(
563 java.lang.String mechType,
564 java.lang.Class _javaType,
565 javax.xml.namespace.QName _xmlType) {
566 return
567 new org.apache.axis.encoding.ser.BeanSerializer(
568 _javaType, _xmlType, typeDesc);
569 }
570
571
574 public static org.apache.axis.encoding.Deserializer getDeserializer(
575 java.lang.String mechType,
576 java.lang.Class _javaType,
577 javax.xml.namespace.QName _xmlType) {
578 return
579 new org.apache.axis.encoding.ser.BeanDeserializer(
580 _javaType, _xmlType, typeDesc);
581 }
582
583 }
584