1
7
8 package com.liferay.client.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 imageId;
24
25 private long largeImageId;
26
27 private java.util.Calendar modifiedDate;
28
29 private java.lang.String name;
30
31 private long primaryKey;
32
33 private long smallImageId;
34
35 private long userId;
36
37 private java.lang.String uuid;
38
39 public IGImageSoap() {
40 }
41
42 public IGImageSoap(
43 long companyId,
44 java.util.Calendar createDate,
45 long custom1ImageId,
46 long custom2ImageId,
47 java.lang.String description,
48 long folderId,
49 long imageId,
50 long largeImageId,
51 java.util.Calendar modifiedDate,
52 java.lang.String name,
53 long primaryKey,
54 long smallImageId,
55 long userId,
56 java.lang.String uuid) {
57 this.companyId = companyId;
58 this.createDate = createDate;
59 this.custom1ImageId = custom1ImageId;
60 this.custom2ImageId = custom2ImageId;
61 this.description = description;
62 this.folderId = folderId;
63 this.imageId = imageId;
64 this.largeImageId = largeImageId;
65 this.modifiedDate = modifiedDate;
66 this.name = name;
67 this.primaryKey = primaryKey;
68 this.smallImageId = smallImageId;
69 this.userId = userId;
70 this.uuid = uuid;
71 }
72
73
74
79 public long getCompanyId() {
80 return companyId;
81 }
82
83
84
89 public void setCompanyId(long companyId) {
90 this.companyId = companyId;
91 }
92
93
94
99 public java.util.Calendar getCreateDate() {
100 return createDate;
101 }
102
103
104
109 public void setCreateDate(java.util.Calendar createDate) {
110 this.createDate = createDate;
111 }
112
113
114
119 public long getCustom1ImageId() {
120 return custom1ImageId;
121 }
122
123
124
129 public void setCustom1ImageId(long custom1ImageId) {
130 this.custom1ImageId = custom1ImageId;
131 }
132
133
134
139 public long getCustom2ImageId() {
140 return custom2ImageId;
141 }
142
143
144
149 public void setCustom2ImageId(long custom2ImageId) {
150 this.custom2ImageId = custom2ImageId;
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 long getFolderId() {
180 return folderId;
181 }
182
183
184
189 public void setFolderId(long folderId) {
190 this.folderId = folderId;
191 }
192
193
194
199 public long getImageId() {
200 return imageId;
201 }
202
203
204
209 public void setImageId(long imageId) {
210 this.imageId = imageId;
211 }
212
213
214
219 public long getLargeImageId() {
220 return largeImageId;
221 }
222
223
224
229 public void setLargeImageId(long largeImageId) {
230 this.largeImageId = largeImageId;
231 }
232
233
234
239 public java.util.Calendar getModifiedDate() {
240 return modifiedDate;
241 }
242
243
244
249 public void setModifiedDate(java.util.Calendar modifiedDate) {
250 this.modifiedDate = modifiedDate;
251 }
252
253
254
259 public java.lang.String getName() {
260 return name;
261 }
262
263
264
269 public void setName(java.lang.String name) {
270 this.name = name;
271 }
272
273
274
279 public long getPrimaryKey() {
280 return primaryKey;
281 }
282
283
284
289 public void setPrimaryKey(long primaryKey) {
290 this.primaryKey = primaryKey;
291 }
292
293
294
299 public long getSmallImageId() {
300 return smallImageId;
301 }
302
303
304
309 public void setSmallImageId(long smallImageId) {
310 this.smallImageId = smallImageId;
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 getUuid() {
340 return uuid;
341 }
342
343
344
349 public void setUuid(java.lang.String uuid) {
350 this.uuid = uuid;
351 }
352
353 private java.lang.Object __equalsCalc = null;
354 public synchronized boolean equals(java.lang.Object obj) {
355 if (!(obj instanceof IGImageSoap)) return false;
356 IGImageSoap other = (IGImageSoap) 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.companyId == other.getCompanyId() &&
366 ((this.createDate==null && other.getCreateDate()==null) ||
367 (this.createDate!=null &&
368 this.createDate.equals(other.getCreateDate()))) &&
369 this.custom1ImageId == other.getCustom1ImageId() &&
370 this.custom2ImageId == other.getCustom2ImageId() &&
371 ((this.description==null && other.getDescription()==null) ||
372 (this.description!=null &&
373 this.description.equals(other.getDescription()))) &&
374 this.folderId == other.getFolderId() &&
375 this.imageId == other.getImageId() &&
376 this.largeImageId == other.getLargeImageId() &&
377 ((this.modifiedDate==null && other.getModifiedDate()==null) ||
378 (this.modifiedDate!=null &&
379 this.modifiedDate.equals(other.getModifiedDate()))) &&
380 ((this.name==null && other.getName()==null) ||
381 (this.name!=null &&
382 this.name.equals(other.getName()))) &&
383 this.primaryKey == other.getPrimaryKey() &&
384 this.smallImageId == other.getSmallImageId() &&
385 this.userId == other.getUserId() &&
386 ((this.uuid==null && other.getUuid()==null) ||
387 (this.uuid!=null &&
388 this.uuid.equals(other.getUuid())));
389 __equalsCalc = null;
390 return _equals;
391 }
392
393 private boolean __hashCodeCalc = false;
394 public synchronized int hashCode() {
395 if (__hashCodeCalc) {
396 return 0;
397 }
398 __hashCodeCalc = true;
399 int _hashCode = 1;
400 _hashCode += new Long(getCompanyId()).hashCode();
401 if (getCreateDate() != null) {
402 _hashCode += getCreateDate().hashCode();
403 }
404 _hashCode += new Long(getCustom1ImageId()).hashCode();
405 _hashCode += new Long(getCustom2ImageId()).hashCode();
406 if (getDescription() != null) {
407 _hashCode += getDescription().hashCode();
408 }
409 _hashCode += new Long(getFolderId()).hashCode();
410 _hashCode += new Long(getImageId()).hashCode();
411 _hashCode += new Long(getLargeImageId()).hashCode();
412 if (getModifiedDate() != null) {
413 _hashCode += getModifiedDate().hashCode();
414 }
415 if (getName() != null) {
416 _hashCode += getName().hashCode();
417 }
418 _hashCode += new Long(getPrimaryKey()).hashCode();
419 _hashCode += new Long(getSmallImageId()).hashCode();
420 _hashCode += new Long(getUserId()).hashCode();
421 if (getUuid() != null) {
422 _hashCode += getUuid().hashCode();
423 }
424 __hashCodeCalc = false;
425 return _hashCode;
426 }
427
428 private static org.apache.axis.description.TypeDesc typeDesc =
430 new org.apache.axis.description.TypeDesc(IGImageSoap.class, true);
431
432 static {
433 typeDesc.setXmlType(new javax.xml.namespace.QName("http://model.imagegallery.portlet.liferay.com", "IGImageSoap"));
434 org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
435 elemField.setFieldName("companyId");
436 elemField.setXmlName(new javax.xml.namespace.QName("", "companyId"));
437 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
438 elemField.setNillable(false);
439 typeDesc.addFieldDesc(elemField);
440 elemField = new org.apache.axis.description.ElementDesc();
441 elemField.setFieldName("createDate");
442 elemField.setXmlName(new javax.xml.namespace.QName("", "createDate"));
443 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime"));
444 elemField.setNillable(true);
445 typeDesc.addFieldDesc(elemField);
446 elemField = new org.apache.axis.description.ElementDesc();
447 elemField.setFieldName("custom1ImageId");
448 elemField.setXmlName(new javax.xml.namespace.QName("", "custom1ImageId"));
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("custom2ImageId");
454 elemField.setXmlName(new javax.xml.namespace.QName("", "custom2ImageId"));
455 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
456 elemField.setNillable(false);
457 typeDesc.addFieldDesc(elemField);
458 elemField = new org.apache.axis.description.ElementDesc();
459 elemField.setFieldName("description");
460 elemField.setXmlName(new javax.xml.namespace.QName("", "description"));
461 elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
462 elemField.setNillable(true);
463 typeDesc.addFieldDesc(elemField);
464 elemField = new org.apache.axis.description.ElementDesc();
465 elemField.setFieldName("folderId");
466 elemField.setXmlName(new javax.xml.namespace.QName("", "folderId"));
467 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
468 elemField.setNillable(false);
469 typeDesc.addFieldDesc(elemField);
470 elemField = new org.apache.axis.description.ElementDesc();
471 elemField.setFieldName("imageId");
472 elemField.setXmlName(new javax.xml.namespace.QName("", "imageId"));
473 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
474 elemField.setNillable(false);
475 typeDesc.addFieldDesc(elemField);
476 elemField = new org.apache.axis.description.ElementDesc();
477 elemField.setFieldName("largeImageId");
478 elemField.setXmlName(new javax.xml.namespace.QName("", "largeImageId"));
479 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
480 elemField.setNillable(false);
481 typeDesc.addFieldDesc(elemField);
482 elemField = new org.apache.axis.description.ElementDesc();
483 elemField.setFieldName("modifiedDate");
484 elemField.setXmlName(new javax.xml.namespace.QName("", "modifiedDate"));
485 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime"));
486 elemField.setNillable(true);
487 typeDesc.addFieldDesc(elemField);
488 elemField = new org.apache.axis.description.ElementDesc();
489 elemField.setFieldName("name");
490 elemField.setXmlName(new javax.xml.namespace.QName("", "name"));
491 elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
492 elemField.setNillable(true);
493 typeDesc.addFieldDesc(elemField);
494 elemField = new org.apache.axis.description.ElementDesc();
495 elemField.setFieldName("primaryKey");
496 elemField.setXmlName(new javax.xml.namespace.QName("", "primaryKey"));
497 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
498 elemField.setNillable(false);
499 typeDesc.addFieldDesc(elemField);
500 elemField = new org.apache.axis.description.ElementDesc();
501 elemField.setFieldName("smallImageId");
502 elemField.setXmlName(new javax.xml.namespace.QName("", "smallImageId"));
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("userId");
508 elemField.setXmlName(new javax.xml.namespace.QName("", "userId"));
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("uuid");
514 elemField.setXmlName(new javax.xml.namespace.QName("", "uuid"));
515 elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
516 elemField.setNillable(true);
517 typeDesc.addFieldDesc(elemField);
518 }
519
520
523 public static org.apache.axis.description.TypeDesc getTypeDesc() {
524 return typeDesc;
525 }
526
527
530 public static org.apache.axis.encoding.Serializer getSerializer(
531 java.lang.String mechType,
532 java.lang.Class _javaType,
533 javax.xml.namespace.QName _xmlType) {
534 return
535 new org.apache.axis.encoding.ser.BeanSerializer(
536 _javaType, _xmlType, typeDesc);
537 }
538
539
542 public static org.apache.axis.encoding.Deserializer getDeserializer(
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.BeanDeserializer(
548 _javaType, _xmlType, typeDesc);
549 }
550
551 }
552