1   /**
2    * IGImageSoap.java
3    *
4    * This file was auto-generated from WSDL
5    * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
6    */
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 java.lang.String description;
16  
17      private long folderId;
18  
19      private long imageId;
20  
21      private long largeImageId;
22  
23      private java.util.Calendar modifiedDate;
24  
25      private long primaryKey;
26  
27      private long smallImageId;
28  
29      private long userId;
30  
31      private java.lang.String uuid;
32  
33      public IGImageSoap() {
34      }
35  
36      public IGImageSoap(
37             long companyId,
38             java.util.Calendar createDate,
39             java.lang.String description,
40             long folderId,
41             long imageId,
42             long largeImageId,
43             java.util.Calendar modifiedDate,
44             long primaryKey,
45             long smallImageId,
46             long userId,
47             java.lang.String uuid) {
48             this.companyId = companyId;
49             this.createDate = createDate;
50             this.description = description;
51             this.folderId = folderId;
52             this.imageId = imageId;
53             this.largeImageId = largeImageId;
54             this.modifiedDate = modifiedDate;
55             this.primaryKey = primaryKey;
56             this.smallImageId = smallImageId;
57             this.userId = userId;
58             this.uuid = uuid;
59      }
60  
61  
62      /**
63       * Gets the companyId value for this IGImageSoap.
64       * 
65       * @return companyId
66       */
67      public long getCompanyId() {
68          return companyId;
69      }
70  
71  
72      /**
73       * Sets the companyId value for this IGImageSoap.
74       * 
75       * @param companyId
76       */
77      public void setCompanyId(long companyId) {
78          this.companyId = companyId;
79      }
80  
81  
82      /**
83       * Gets the createDate value for this IGImageSoap.
84       * 
85       * @return createDate
86       */
87      public java.util.Calendar getCreateDate() {
88          return createDate;
89      }
90  
91  
92      /**
93       * Sets the createDate value for this IGImageSoap.
94       * 
95       * @param createDate
96       */
97      public void setCreateDate(java.util.Calendar createDate) {
98          this.createDate = createDate;
99      }
100 
101 
102     /**
103      * Gets the description value for this IGImageSoap.
104      * 
105      * @return description
106      */
107     public java.lang.String getDescription() {
108         return description;
109     }
110 
111 
112     /**
113      * Sets the description value for this IGImageSoap.
114      * 
115      * @param description
116      */
117     public void setDescription(java.lang.String description) {
118         this.description = description;
119     }
120 
121 
122     /**
123      * Gets the folderId value for this IGImageSoap.
124      * 
125      * @return folderId
126      */
127     public long getFolderId() {
128         return folderId;
129     }
130 
131 
132     /**
133      * Sets the folderId value for this IGImageSoap.
134      * 
135      * @param folderId
136      */
137     public void setFolderId(long folderId) {
138         this.folderId = folderId;
139     }
140 
141 
142     /**
143      * Gets the imageId value for this IGImageSoap.
144      * 
145      * @return imageId
146      */
147     public long getImageId() {
148         return imageId;
149     }
150 
151 
152     /**
153      * Sets the imageId value for this IGImageSoap.
154      * 
155      * @param imageId
156      */
157     public void setImageId(long imageId) {
158         this.imageId = imageId;
159     }
160 
161 
162     /**
163      * Gets the largeImageId value for this IGImageSoap.
164      * 
165      * @return largeImageId
166      */
167     public long getLargeImageId() {
168         return largeImageId;
169     }
170 
171 
172     /**
173      * Sets the largeImageId value for this IGImageSoap.
174      * 
175      * @param largeImageId
176      */
177     public void setLargeImageId(long largeImageId) {
178         this.largeImageId = largeImageId;
179     }
180 
181 
182     /**
183      * Gets the modifiedDate value for this IGImageSoap.
184      * 
185      * @return modifiedDate
186      */
187     public java.util.Calendar getModifiedDate() {
188         return modifiedDate;
189     }
190 
191 
192     /**
193      * Sets the modifiedDate value for this IGImageSoap.
194      * 
195      * @param modifiedDate
196      */
197     public void setModifiedDate(java.util.Calendar modifiedDate) {
198         this.modifiedDate = modifiedDate;
199     }
200 
201 
202     /**
203      * Gets the primaryKey value for this IGImageSoap.
204      * 
205      * @return primaryKey
206      */
207     public long getPrimaryKey() {
208         return primaryKey;
209     }
210 
211 
212     /**
213      * Sets the primaryKey value for this IGImageSoap.
214      * 
215      * @param primaryKey
216      */
217     public void setPrimaryKey(long primaryKey) {
218         this.primaryKey = primaryKey;
219     }
220 
221 
222     /**
223      * Gets the smallImageId value for this IGImageSoap.
224      * 
225      * @return smallImageId
226      */
227     public long getSmallImageId() {
228         return smallImageId;
229     }
230 
231 
232     /**
233      * Sets the smallImageId value for this IGImageSoap.
234      * 
235      * @param smallImageId
236      */
237     public void setSmallImageId(long smallImageId) {
238         this.smallImageId = smallImageId;
239     }
240 
241 
242     /**
243      * Gets the userId value for this IGImageSoap.
244      * 
245      * @return userId
246      */
247     public long getUserId() {
248         return userId;
249     }
250 
251 
252     /**
253      * Sets the userId value for this IGImageSoap.
254      * 
255      * @param userId
256      */
257     public void setUserId(long userId) {
258         this.userId = userId;
259     }
260 
261 
262     /**
263      * Gets the uuid value for this IGImageSoap.
264      * 
265      * @return uuid
266      */
267     public java.lang.String getUuid() {
268         return uuid;
269     }
270 
271 
272     /**
273      * Sets the uuid value for this IGImageSoap.
274      * 
275      * @param uuid
276      */
277     public void setUuid(java.lang.String uuid) {
278         this.uuid = uuid;
279     }
280 
281     private java.lang.Object __equalsCalc = null;
282     public synchronized boolean equals(java.lang.Object obj) {
283         if (!(obj instanceof IGImageSoap)) return false;
284         IGImageSoap other = (IGImageSoap) 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.folderId == other.getFolderId() &&
301             this.imageId == other.getImageId() &&
302             this.largeImageId == other.getLargeImageId() &&
303             ((this.modifiedDate==null && other.getModifiedDate()==null) || 
304              (this.modifiedDate!=null &&
305               this.modifiedDate.equals(other.getModifiedDate()))) &&
306             this.primaryKey == other.getPrimaryKey() &&
307             this.smallImageId == other.getSmallImageId() &&
308             this.userId == other.getUserId() &&
309             ((this.uuid==null && other.getUuid()==null) || 
310              (this.uuid!=null &&
311               this.uuid.equals(other.getUuid())));
312         __equalsCalc = null;
313         return _equals;
314     }
315 
316     private boolean __hashCodeCalc = false;
317     public synchronized int hashCode() {
318         if (__hashCodeCalc) {
319             return 0;
320         }
321         __hashCodeCalc = true;
322         int _hashCode = 1;
323         _hashCode += new Long(getCompanyId()).hashCode();
324         if (getCreateDate() != null) {
325             _hashCode += getCreateDate().hashCode();
326         }
327         if (getDescription() != null) {
328             _hashCode += getDescription().hashCode();
329         }
330         _hashCode += new Long(getFolderId()).hashCode();
331         _hashCode += new Long(getImageId()).hashCode();
332         _hashCode += new Long(getLargeImageId()).hashCode();
333         if (getModifiedDate() != null) {
334             _hashCode += getModifiedDate().hashCode();
335         }
336         _hashCode += new Long(getPrimaryKey()).hashCode();
337         _hashCode += new Long(getSmallImageId()).hashCode();
338         _hashCode += new Long(getUserId()).hashCode();
339         if (getUuid() != null) {
340             _hashCode += getUuid().hashCode();
341         }
342         __hashCodeCalc = false;
343         return _hashCode;
344     }
345 
346     // Type metadata
347     private static org.apache.axis.description.TypeDesc typeDesc =
348         new org.apache.axis.description.TypeDesc(IGImageSoap.class, true);
349 
350     static {
351         typeDesc.setXmlType(new javax.xml.namespace.QName("http://model.imagegallery.portlet.liferay.com", "IGImageSoap"));
352         org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
353         elemField.setFieldName("companyId");
354         elemField.setXmlName(new javax.xml.namespace.QName("", "companyId"));
355         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
356         elemField.setNillable(false);
357         typeDesc.addFieldDesc(elemField);
358         elemField = new org.apache.axis.description.ElementDesc();
359         elemField.setFieldName("createDate");
360         elemField.setXmlName(new javax.xml.namespace.QName("", "createDate"));
361         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime"));
362         elemField.setNillable(true);
363         typeDesc.addFieldDesc(elemField);
364         elemField = new org.apache.axis.description.ElementDesc();
365         elemField.setFieldName("description");
366         elemField.setXmlName(new javax.xml.namespace.QName("", "description"));
367         elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
368         elemField.setNillable(true);
369         typeDesc.addFieldDesc(elemField);
370         elemField = new org.apache.axis.description.ElementDesc();
371         elemField.setFieldName("folderId");
372         elemField.setXmlName(new javax.xml.namespace.QName("", "folderId"));
373         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
374         elemField.setNillable(false);
375         typeDesc.addFieldDesc(elemField);
376         elemField = new org.apache.axis.description.ElementDesc();
377         elemField.setFieldName("imageId");
378         elemField.setXmlName(new javax.xml.namespace.QName("", "imageId"));
379         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
380         elemField.setNillable(false);
381         typeDesc.addFieldDesc(elemField);
382         elemField = new org.apache.axis.description.ElementDesc();
383         elemField.setFieldName("largeImageId");
384         elemField.setXmlName(new javax.xml.namespace.QName("", "largeImageId"));
385         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
386         elemField.setNillable(false);
387         typeDesc.addFieldDesc(elemField);
388         elemField = new org.apache.axis.description.ElementDesc();
389         elemField.setFieldName("modifiedDate");
390         elemField.setXmlName(new javax.xml.namespace.QName("", "modifiedDate"));
391         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime"));
392         elemField.setNillable(true);
393         typeDesc.addFieldDesc(elemField);
394         elemField = new org.apache.axis.description.ElementDesc();
395         elemField.setFieldName("primaryKey");
396         elemField.setXmlName(new javax.xml.namespace.QName("", "primaryKey"));
397         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
398         elemField.setNillable(false);
399         typeDesc.addFieldDesc(elemField);
400         elemField = new org.apache.axis.description.ElementDesc();
401         elemField.setFieldName("smallImageId");
402         elemField.setXmlName(new javax.xml.namespace.QName("", "smallImageId"));
403         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
404         elemField.setNillable(false);
405         typeDesc.addFieldDesc(elemField);
406         elemField = new org.apache.axis.description.ElementDesc();
407         elemField.setFieldName("userId");
408         elemField.setXmlName(new javax.xml.namespace.QName("", "userId"));
409         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
410         elemField.setNillable(false);
411         typeDesc.addFieldDesc(elemField);
412         elemField = new org.apache.axis.description.ElementDesc();
413         elemField.setFieldName("uuid");
414         elemField.setXmlName(new javax.xml.namespace.QName("", "uuid"));
415         elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
416         elemField.setNillable(true);
417         typeDesc.addFieldDesc(elemField);
418     }
419 
420     /**
421      * Return type metadata object
422      */
423     public static org.apache.axis.description.TypeDesc getTypeDesc() {
424         return typeDesc;
425     }
426 
427     /**
428      * Get Custom Serializer
429      */
430     public static org.apache.axis.encoding.Serializer getSerializer(
431            java.lang.String mechType, 
432            java.lang.Class _javaType,  
433            javax.xml.namespace.QName _xmlType) {
434         return 
435           new  org.apache.axis.encoding.ser.BeanSerializer(
436             _javaType, _xmlType, typeDesc);
437     }
438 
439     /**
440      * Get Custom Deserializer
441      */
442     public static org.apache.axis.encoding.Deserializer getDeserializer(
443            java.lang.String mechType, 
444            java.lang.Class _javaType,  
445            javax.xml.namespace.QName _xmlType) {
446         return 
447           new  org.apache.axis.encoding.ser.BeanDeserializer(
448             _javaType, _xmlType, typeDesc);
449     }
450 
451 }
452