1   /**
2    * BlogsEntrySoap.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.blogs.model;
9   
10  public class BlogsEntrySoap  implements java.io.Serializable {
11      private long categoryId;
12  
13      private long companyId;
14  
15      private java.lang.String content;
16  
17      private java.util.Calendar createDate;
18  
19      private java.util.Calendar displayDate;
20  
21      private long entryId;
22  
23      private long groupId;
24  
25      private java.util.Calendar modifiedDate;
26  
27      private long primaryKey;
28  
29      private java.lang.String title;
30  
31      private java.lang.String urlTitle;
32  
33      private long userId;
34  
35      private java.lang.String userName;
36  
37      public BlogsEntrySoap() {
38      }
39  
40      public BlogsEntrySoap(
41             long categoryId,
42             long companyId,
43             java.lang.String content,
44             java.util.Calendar createDate,
45             java.util.Calendar displayDate,
46             long entryId,
47             long groupId,
48             java.util.Calendar modifiedDate,
49             long primaryKey,
50             java.lang.String title,
51             java.lang.String urlTitle,
52             long userId,
53             java.lang.String userName) {
54             this.categoryId = categoryId;
55             this.companyId = companyId;
56             this.content = content;
57             this.createDate = createDate;
58             this.displayDate = displayDate;
59             this.entryId = entryId;
60             this.groupId = groupId;
61             this.modifiedDate = modifiedDate;
62             this.primaryKey = primaryKey;
63             this.title = title;
64             this.urlTitle = urlTitle;
65             this.userId = userId;
66             this.userName = userName;
67      }
68  
69  
70      /**
71       * Gets the categoryId value for this BlogsEntrySoap.
72       * 
73       * @return categoryId
74       */
75      public long getCategoryId() {
76          return categoryId;
77      }
78  
79  
80      /**
81       * Sets the categoryId value for this BlogsEntrySoap.
82       * 
83       * @param categoryId
84       */
85      public void setCategoryId(long categoryId) {
86          this.categoryId = categoryId;
87      }
88  
89  
90      /**
91       * Gets the companyId value for this BlogsEntrySoap.
92       * 
93       * @return companyId
94       */
95      public long getCompanyId() {
96          return companyId;
97      }
98  
99  
100     /**
101      * Sets the companyId value for this BlogsEntrySoap.
102      * 
103      * @param companyId
104      */
105     public void setCompanyId(long companyId) {
106         this.companyId = companyId;
107     }
108 
109 
110     /**
111      * Gets the content value for this BlogsEntrySoap.
112      * 
113      * @return content
114      */
115     public java.lang.String getContent() {
116         return content;
117     }
118 
119 
120     /**
121      * Sets the content value for this BlogsEntrySoap.
122      * 
123      * @param content
124      */
125     public void setContent(java.lang.String content) {
126         this.content = content;
127     }
128 
129 
130     /**
131      * Gets the createDate value for this BlogsEntrySoap.
132      * 
133      * @return createDate
134      */
135     public java.util.Calendar getCreateDate() {
136         return createDate;
137     }
138 
139 
140     /**
141      * Sets the createDate value for this BlogsEntrySoap.
142      * 
143      * @param createDate
144      */
145     public void setCreateDate(java.util.Calendar createDate) {
146         this.createDate = createDate;
147     }
148 
149 
150     /**
151      * Gets the displayDate value for this BlogsEntrySoap.
152      * 
153      * @return displayDate
154      */
155     public java.util.Calendar getDisplayDate() {
156         return displayDate;
157     }
158 
159 
160     /**
161      * Sets the displayDate value for this BlogsEntrySoap.
162      * 
163      * @param displayDate
164      */
165     public void setDisplayDate(java.util.Calendar displayDate) {
166         this.displayDate = displayDate;
167     }
168 
169 
170     /**
171      * Gets the entryId value for this BlogsEntrySoap.
172      * 
173      * @return entryId
174      */
175     public long getEntryId() {
176         return entryId;
177     }
178 
179 
180     /**
181      * Sets the entryId value for this BlogsEntrySoap.
182      * 
183      * @param entryId
184      */
185     public void setEntryId(long entryId) {
186         this.entryId = entryId;
187     }
188 
189 
190     /**
191      * Gets the groupId value for this BlogsEntrySoap.
192      * 
193      * @return groupId
194      */
195     public long getGroupId() {
196         return groupId;
197     }
198 
199 
200     /**
201      * Sets the groupId value for this BlogsEntrySoap.
202      * 
203      * @param groupId
204      */
205     public void setGroupId(long groupId) {
206         this.groupId = groupId;
207     }
208 
209 
210     /**
211      * Gets the modifiedDate value for this BlogsEntrySoap.
212      * 
213      * @return modifiedDate
214      */
215     public java.util.Calendar getModifiedDate() {
216         return modifiedDate;
217     }
218 
219 
220     /**
221      * Sets the modifiedDate value for this BlogsEntrySoap.
222      * 
223      * @param modifiedDate
224      */
225     public void setModifiedDate(java.util.Calendar modifiedDate) {
226         this.modifiedDate = modifiedDate;
227     }
228 
229 
230     /**
231      * Gets the primaryKey value for this BlogsEntrySoap.
232      * 
233      * @return primaryKey
234      */
235     public long getPrimaryKey() {
236         return primaryKey;
237     }
238 
239 
240     /**
241      * Sets the primaryKey value for this BlogsEntrySoap.
242      * 
243      * @param primaryKey
244      */
245     public void setPrimaryKey(long primaryKey) {
246         this.primaryKey = primaryKey;
247     }
248 
249 
250     /**
251      * Gets the title value for this BlogsEntrySoap.
252      * 
253      * @return title
254      */
255     public java.lang.String getTitle() {
256         return title;
257     }
258 
259 
260     /**
261      * Sets the title value for this BlogsEntrySoap.
262      * 
263      * @param title
264      */
265     public void setTitle(java.lang.String title) {
266         this.title = title;
267     }
268 
269 
270     /**
271      * Gets the urlTitle value for this BlogsEntrySoap.
272      * 
273      * @return urlTitle
274      */
275     public java.lang.String getUrlTitle() {
276         return urlTitle;
277     }
278 
279 
280     /**
281      * Sets the urlTitle value for this BlogsEntrySoap.
282      * 
283      * @param urlTitle
284      */
285     public void setUrlTitle(java.lang.String urlTitle) {
286         this.urlTitle = urlTitle;
287     }
288 
289 
290     /**
291      * Gets the userId value for this BlogsEntrySoap.
292      * 
293      * @return userId
294      */
295     public long getUserId() {
296         return userId;
297     }
298 
299 
300     /**
301      * Sets the userId value for this BlogsEntrySoap.
302      * 
303      * @param userId
304      */
305     public void setUserId(long userId) {
306         this.userId = userId;
307     }
308 
309 
310     /**
311      * Gets the userName value for this BlogsEntrySoap.
312      * 
313      * @return userName
314      */
315     public java.lang.String getUserName() {
316         return userName;
317     }
318 
319 
320     /**
321      * Sets the userName value for this BlogsEntrySoap.
322      * 
323      * @param userName
324      */
325     public void setUserName(java.lang.String userName) {
326         this.userName = userName;
327     }
328 
329     private java.lang.Object __equalsCalc = null;
330     public synchronized boolean equals(java.lang.Object obj) {
331         if (!(obj instanceof BlogsEntrySoap)) return false;
332         BlogsEntrySoap other = (BlogsEntrySoap) 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.categoryId == other.getCategoryId() &&
342             this.companyId == other.getCompanyId() &&
343             ((this.content==null && other.getContent()==null) || 
344              (this.content!=null &&
345               this.content.equals(other.getContent()))) &&
346             ((this.createDate==null && other.getCreateDate()==null) || 
347              (this.createDate!=null &&
348               this.createDate.equals(other.getCreateDate()))) &&
349             ((this.displayDate==null && other.getDisplayDate()==null) || 
350              (this.displayDate!=null &&
351               this.displayDate.equals(other.getDisplayDate()))) &&
352             this.entryId == other.getEntryId() &&
353             this.groupId == other.getGroupId() &&
354             ((this.modifiedDate==null && other.getModifiedDate()==null) || 
355              (this.modifiedDate!=null &&
356               this.modifiedDate.equals(other.getModifiedDate()))) &&
357             this.primaryKey == other.getPrimaryKey() &&
358             ((this.title==null && other.getTitle()==null) || 
359              (this.title!=null &&
360               this.title.equals(other.getTitle()))) &&
361             ((this.urlTitle==null && other.getUrlTitle()==null) || 
362              (this.urlTitle!=null &&
363               this.urlTitle.equals(other.getUrlTitle()))) &&
364             this.userId == other.getUserId() &&
365             ((this.userName==null && other.getUserName()==null) || 
366              (this.userName!=null &&
367               this.userName.equals(other.getUserName())));
368         __equalsCalc = null;
369         return _equals;
370     }
371 
372     private boolean __hashCodeCalc = false;
373     public synchronized int hashCode() {
374         if (__hashCodeCalc) {
375             return 0;
376         }
377         __hashCodeCalc = true;
378         int _hashCode = 1;
379         _hashCode += new Long(getCategoryId()).hashCode();
380         _hashCode += new Long(getCompanyId()).hashCode();
381         if (getContent() != null) {
382             _hashCode += getContent().hashCode();
383         }
384         if (getCreateDate() != null) {
385             _hashCode += getCreateDate().hashCode();
386         }
387         if (getDisplayDate() != null) {
388             _hashCode += getDisplayDate().hashCode();
389         }
390         _hashCode += new Long(getEntryId()).hashCode();
391         _hashCode += new Long(getGroupId()).hashCode();
392         if (getModifiedDate() != null) {
393             _hashCode += getModifiedDate().hashCode();
394         }
395         _hashCode += new Long(getPrimaryKey()).hashCode();
396         if (getTitle() != null) {
397             _hashCode += getTitle().hashCode();
398         }
399         if (getUrlTitle() != null) {
400             _hashCode += getUrlTitle().hashCode();
401         }
402         _hashCode += new Long(getUserId()).hashCode();
403         if (getUserName() != null) {
404             _hashCode += getUserName().hashCode();
405         }
406         __hashCodeCalc = false;
407         return _hashCode;
408     }
409 
410     // Type metadata
411     private static org.apache.axis.description.TypeDesc typeDesc =
412         new org.apache.axis.description.TypeDesc(BlogsEntrySoap.class, true);
413 
414     static {
415         typeDesc.setXmlType(new javax.xml.namespace.QName("http://model.blogs.portlet.liferay.com", "BlogsEntrySoap"));
416         org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
417         elemField.setFieldName("categoryId");
418         elemField.setXmlName(new javax.xml.namespace.QName("", "categoryId"));
419         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
420         elemField.setNillable(false);
421         typeDesc.addFieldDesc(elemField);
422         elemField = new org.apache.axis.description.ElementDesc();
423         elemField.setFieldName("companyId");
424         elemField.setXmlName(new javax.xml.namespace.QName("", "companyId"));
425         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
426         elemField.setNillable(false);
427         typeDesc.addFieldDesc(elemField);
428         elemField = new org.apache.axis.description.ElementDesc();
429         elemField.setFieldName("content");
430         elemField.setXmlName(new javax.xml.namespace.QName("", "content"));
431         elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
432         elemField.setNillable(true);
433         typeDesc.addFieldDesc(elemField);
434         elemField = new org.apache.axis.description.ElementDesc();
435         elemField.setFieldName("createDate");
436         elemField.setXmlName(new javax.xml.namespace.QName("", "createDate"));
437         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime"));
438         elemField.setNillable(true);
439         typeDesc.addFieldDesc(elemField);
440         elemField = new org.apache.axis.description.ElementDesc();
441         elemField.setFieldName("displayDate");
442         elemField.setXmlName(new javax.xml.namespace.QName("", "displayDate"));
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("entryId");
448         elemField.setXmlName(new javax.xml.namespace.QName("", "entryId"));
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("groupId");
454         elemField.setXmlName(new javax.xml.namespace.QName("", "groupId"));
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("modifiedDate");
460         elemField.setXmlName(new javax.xml.namespace.QName("", "modifiedDate"));
461         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime"));
462         elemField.setNillable(true);
463         typeDesc.addFieldDesc(elemField);
464         elemField = new org.apache.axis.description.ElementDesc();
465         elemField.setFieldName("primaryKey");
466         elemField.setXmlName(new javax.xml.namespace.QName("", "primaryKey"));
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("title");
472         elemField.setXmlName(new javax.xml.namespace.QName("", "title"));
473         elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
474         elemField.setNillable(true);
475         typeDesc.addFieldDesc(elemField);
476         elemField = new org.apache.axis.description.ElementDesc();
477         elemField.setFieldName("urlTitle");
478         elemField.setXmlName(new javax.xml.namespace.QName("", "urlTitle"));
479         elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
480         elemField.setNillable(true);
481         typeDesc.addFieldDesc(elemField);
482         elemField = new org.apache.axis.description.ElementDesc();
483         elemField.setFieldName("userId");
484         elemField.setXmlName(new javax.xml.namespace.QName("", "userId"));
485         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
486         elemField.setNillable(false);
487         typeDesc.addFieldDesc(elemField);
488         elemField = new org.apache.axis.description.ElementDesc();
489         elemField.setFieldName("userName");
490         elemField.setXmlName(new javax.xml.namespace.QName("", "userName"));
491         elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
492         elemField.setNillable(true);
493         typeDesc.addFieldDesc(elemField);
494     }
495 
496     /**
497      * Return type metadata object
498      */
499     public static org.apache.axis.description.TypeDesc getTypeDesc() {
500         return typeDesc;
501     }
502 
503     /**
504      * Get Custom Serializer
505      */
506     public static org.apache.axis.encoding.Serializer getSerializer(
507            java.lang.String mechType, 
508            java.lang.Class _javaType,  
509            javax.xml.namespace.QName _xmlType) {
510         return 
511           new  org.apache.axis.encoding.ser.BeanSerializer(
512             _javaType, _xmlType, typeDesc);
513     }
514 
515     /**
516      * Get Custom Deserializer
517      */
518     public static org.apache.axis.encoding.Deserializer getDeserializer(
519            java.lang.String mechType, 
520            java.lang.Class _javaType,  
521            javax.xml.namespace.QName _xmlType) {
522         return 
523           new  org.apache.axis.encoding.ser.BeanDeserializer(
524             _javaType, _xmlType, typeDesc);
525     }
526 
527 }
528