1   /**
2    * TagsAssetSoap.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.soap.portlet.tags.model;
9   
10  public class TagsAssetSoap  implements java.io.Serializable {
11      private long assetId;
12  
13      private long classNameId;
14  
15      private long classPK;
16  
17      private long companyId;
18  
19      private java.util.Calendar createDate;
20  
21      private java.lang.String description;
22  
23      private java.util.Calendar endDate;
24  
25      private java.util.Calendar expirationDate;
26  
27      private long groupId;
28  
29      private int height;
30  
31      private java.lang.String mimeType;
32  
33      private java.util.Calendar modifiedDate;
34  
35      private long primaryKey;
36  
37      private double priority;
38  
39      private java.util.Calendar publishDate;
40  
41      private java.util.Calendar startDate;
42  
43      private java.lang.String summary;
44  
45      private java.lang.String title;
46  
47      private java.lang.String url;
48  
49      private long userId;
50  
51      private java.lang.String userName;
52  
53      private int viewCount;
54  
55      private boolean visible;
56  
57      private int width;
58  
59      public TagsAssetSoap() {
60      }
61  
62      public TagsAssetSoap(
63             long assetId,
64             long classNameId,
65             long classPK,
66             long companyId,
67             java.util.Calendar createDate,
68             java.lang.String description,
69             java.util.Calendar endDate,
70             java.util.Calendar expirationDate,
71             long groupId,
72             int height,
73             java.lang.String mimeType,
74             java.util.Calendar modifiedDate,
75             long primaryKey,
76             double priority,
77             java.util.Calendar publishDate,
78             java.util.Calendar startDate,
79             java.lang.String summary,
80             java.lang.String title,
81             java.lang.String url,
82             long userId,
83             java.lang.String userName,
84             int viewCount,
85             boolean visible,
86             int width) {
87             this.assetId = assetId;
88             this.classNameId = classNameId;
89             this.classPK = classPK;
90             this.companyId = companyId;
91             this.createDate = createDate;
92             this.description = description;
93             this.endDate = endDate;
94             this.expirationDate = expirationDate;
95             this.groupId = groupId;
96             this.height = height;
97             this.mimeType = mimeType;
98             this.modifiedDate = modifiedDate;
99             this.primaryKey = primaryKey;
100            this.priority = priority;
101            this.publishDate = publishDate;
102            this.startDate = startDate;
103            this.summary = summary;
104            this.title = title;
105            this.url = url;
106            this.userId = userId;
107            this.userName = userName;
108            this.viewCount = viewCount;
109            this.visible = visible;
110            this.width = width;
111     }
112 
113 
114     /**
115      * Gets the assetId value for this TagsAssetSoap.
116      * 
117      * @return assetId
118      */
119     public long getAssetId() {
120         return assetId;
121     }
122 
123 
124     /**
125      * Sets the assetId value for this TagsAssetSoap.
126      * 
127      * @param assetId
128      */
129     public void setAssetId(long assetId) {
130         this.assetId = assetId;
131     }
132 
133 
134     /**
135      * Gets the classNameId value for this TagsAssetSoap.
136      * 
137      * @return classNameId
138      */
139     public long getClassNameId() {
140         return classNameId;
141     }
142 
143 
144     /**
145      * Sets the classNameId value for this TagsAssetSoap.
146      * 
147      * @param classNameId
148      */
149     public void setClassNameId(long classNameId) {
150         this.classNameId = classNameId;
151     }
152 
153 
154     /**
155      * Gets the classPK value for this TagsAssetSoap.
156      * 
157      * @return classPK
158      */
159     public long getClassPK() {
160         return classPK;
161     }
162 
163 
164     /**
165      * Sets the classPK value for this TagsAssetSoap.
166      * 
167      * @param classPK
168      */
169     public void setClassPK(long classPK) {
170         this.classPK = classPK;
171     }
172 
173 
174     /**
175      * Gets the companyId value for this TagsAssetSoap.
176      * 
177      * @return companyId
178      */
179     public long getCompanyId() {
180         return companyId;
181     }
182 
183 
184     /**
185      * Sets the companyId value for this TagsAssetSoap.
186      * 
187      * @param companyId
188      */
189     public void setCompanyId(long companyId) {
190         this.companyId = companyId;
191     }
192 
193 
194     /**
195      * Gets the createDate value for this TagsAssetSoap.
196      * 
197      * @return createDate
198      */
199     public java.util.Calendar getCreateDate() {
200         return createDate;
201     }
202 
203 
204     /**
205      * Sets the createDate value for this TagsAssetSoap.
206      * 
207      * @param createDate
208      */
209     public void setCreateDate(java.util.Calendar createDate) {
210         this.createDate = createDate;
211     }
212 
213 
214     /**
215      * Gets the description value for this TagsAssetSoap.
216      * 
217      * @return description
218      */
219     public java.lang.String getDescription() {
220         return description;
221     }
222 
223 
224     /**
225      * Sets the description value for this TagsAssetSoap.
226      * 
227      * @param description
228      */
229     public void setDescription(java.lang.String description) {
230         this.description = description;
231     }
232 
233 
234     /**
235      * Gets the endDate value for this TagsAssetSoap.
236      * 
237      * @return endDate
238      */
239     public java.util.Calendar getEndDate() {
240         return endDate;
241     }
242 
243 
244     /**
245      * Sets the endDate value for this TagsAssetSoap.
246      * 
247      * @param endDate
248      */
249     public void setEndDate(java.util.Calendar endDate) {
250         this.endDate = endDate;
251     }
252 
253 
254     /**
255      * Gets the expirationDate value for this TagsAssetSoap.
256      * 
257      * @return expirationDate
258      */
259     public java.util.Calendar getExpirationDate() {
260         return expirationDate;
261     }
262 
263 
264     /**
265      * Sets the expirationDate value for this TagsAssetSoap.
266      * 
267      * @param expirationDate
268      */
269     public void setExpirationDate(java.util.Calendar expirationDate) {
270         this.expirationDate = expirationDate;
271     }
272 
273 
274     /**
275      * Gets the groupId value for this TagsAssetSoap.
276      * 
277      * @return groupId
278      */
279     public long getGroupId() {
280         return groupId;
281     }
282 
283 
284     /**
285      * Sets the groupId value for this TagsAssetSoap.
286      * 
287      * @param groupId
288      */
289     public void setGroupId(long groupId) {
290         this.groupId = groupId;
291     }
292 
293 
294     /**
295      * Gets the height value for this TagsAssetSoap.
296      * 
297      * @return height
298      */
299     public int getHeight() {
300         return height;
301     }
302 
303 
304     /**
305      * Sets the height value for this TagsAssetSoap.
306      * 
307      * @param height
308      */
309     public void setHeight(int height) {
310         this.height = height;
311     }
312 
313 
314     /**
315      * Gets the mimeType value for this TagsAssetSoap.
316      * 
317      * @return mimeType
318      */
319     public java.lang.String getMimeType() {
320         return mimeType;
321     }
322 
323 
324     /**
325      * Sets the mimeType value for this TagsAssetSoap.
326      * 
327      * @param mimeType
328      */
329     public void setMimeType(java.lang.String mimeType) {
330         this.mimeType = mimeType;
331     }
332 
333 
334     /**
335      * Gets the modifiedDate value for this TagsAssetSoap.
336      * 
337      * @return modifiedDate
338      */
339     public java.util.Calendar getModifiedDate() {
340         return modifiedDate;
341     }
342 
343 
344     /**
345      * Sets the modifiedDate value for this TagsAssetSoap.
346      * 
347      * @param modifiedDate
348      */
349     public void setModifiedDate(java.util.Calendar modifiedDate) {
350         this.modifiedDate = modifiedDate;
351     }
352 
353 
354     /**
355      * Gets the primaryKey value for this TagsAssetSoap.
356      * 
357      * @return primaryKey
358      */
359     public long getPrimaryKey() {
360         return primaryKey;
361     }
362 
363 
364     /**
365      * Sets the primaryKey value for this TagsAssetSoap.
366      * 
367      * @param primaryKey
368      */
369     public void setPrimaryKey(long primaryKey) {
370         this.primaryKey = primaryKey;
371     }
372 
373 
374     /**
375      * Gets the priority value for this TagsAssetSoap.
376      * 
377      * @return priority
378      */
379     public double getPriority() {
380         return priority;
381     }
382 
383 
384     /**
385      * Sets the priority value for this TagsAssetSoap.
386      * 
387      * @param priority
388      */
389     public void setPriority(double priority) {
390         this.priority = priority;
391     }
392 
393 
394     /**
395      * Gets the publishDate value for this TagsAssetSoap.
396      * 
397      * @return publishDate
398      */
399     public java.util.Calendar getPublishDate() {
400         return publishDate;
401     }
402 
403 
404     /**
405      * Sets the publishDate value for this TagsAssetSoap.
406      * 
407      * @param publishDate
408      */
409     public void setPublishDate(java.util.Calendar publishDate) {
410         this.publishDate = publishDate;
411     }
412 
413 
414     /**
415      * Gets the startDate value for this TagsAssetSoap.
416      * 
417      * @return startDate
418      */
419     public java.util.Calendar getStartDate() {
420         return startDate;
421     }
422 
423 
424     /**
425      * Sets the startDate value for this TagsAssetSoap.
426      * 
427      * @param startDate
428      */
429     public void setStartDate(java.util.Calendar startDate) {
430         this.startDate = startDate;
431     }
432 
433 
434     /**
435      * Gets the summary value for this TagsAssetSoap.
436      * 
437      * @return summary
438      */
439     public java.lang.String getSummary() {
440         return summary;
441     }
442 
443 
444     /**
445      * Sets the summary value for this TagsAssetSoap.
446      * 
447      * @param summary
448      */
449     public void setSummary(java.lang.String summary) {
450         this.summary = summary;
451     }
452 
453 
454     /**
455      * Gets the title value for this TagsAssetSoap.
456      * 
457      * @return title
458      */
459     public java.lang.String getTitle() {
460         return title;
461     }
462 
463 
464     /**
465      * Sets the title value for this TagsAssetSoap.
466      * 
467      * @param title
468      */
469     public void setTitle(java.lang.String title) {
470         this.title = title;
471     }
472 
473 
474     /**
475      * Gets the url value for this TagsAssetSoap.
476      * 
477      * @return url
478      */
479     public java.lang.String getUrl() {
480         return url;
481     }
482 
483 
484     /**
485      * Sets the url value for this TagsAssetSoap.
486      * 
487      * @param url
488      */
489     public void setUrl(java.lang.String url) {
490         this.url = url;
491     }
492 
493 
494     /**
495      * Gets the userId value for this TagsAssetSoap.
496      * 
497      * @return userId
498      */
499     public long getUserId() {
500         return userId;
501     }
502 
503 
504     /**
505      * Sets the userId value for this TagsAssetSoap.
506      * 
507      * @param userId
508      */
509     public void setUserId(long userId) {
510         this.userId = userId;
511     }
512 
513 
514     /**
515      * Gets the userName value for this TagsAssetSoap.
516      * 
517      * @return userName
518      */
519     public java.lang.String getUserName() {
520         return userName;
521     }
522 
523 
524     /**
525      * Sets the userName value for this TagsAssetSoap.
526      * 
527      * @param userName
528      */
529     public void setUserName(java.lang.String userName) {
530         this.userName = userName;
531     }
532 
533 
534     /**
535      * Gets the viewCount value for this TagsAssetSoap.
536      * 
537      * @return viewCount
538      */
539     public int getViewCount() {
540         return viewCount;
541     }
542 
543 
544     /**
545      * Sets the viewCount value for this TagsAssetSoap.
546      * 
547      * @param viewCount
548      */
549     public void setViewCount(int viewCount) {
550         this.viewCount = viewCount;
551     }
552 
553 
554     /**
555      * Gets the visible value for this TagsAssetSoap.
556      * 
557      * @return visible
558      */
559     public boolean isVisible() {
560         return visible;
561     }
562 
563 
564     /**
565      * Sets the visible value for this TagsAssetSoap.
566      * 
567      * @param visible
568      */
569     public void setVisible(boolean visible) {
570         this.visible = visible;
571     }
572 
573 
574     /**
575      * Gets the width value for this TagsAssetSoap.
576      * 
577      * @return width
578      */
579     public int getWidth() {
580         return width;
581     }
582 
583 
584     /**
585      * Sets the width value for this TagsAssetSoap.
586      * 
587      * @param width
588      */
589     public void setWidth(int width) {
590         this.width = width;
591     }
592 
593     private java.lang.Object __equalsCalc = null;
594     public synchronized boolean equals(java.lang.Object obj) {
595         if (!(obj instanceof TagsAssetSoap)) return false;
596         TagsAssetSoap other = (TagsAssetSoap) obj;
597         if (obj == null) return false;
598         if (this == obj) return true;
599         if (__equalsCalc != null) {
600             return (__equalsCalc == obj);
601         }
602         __equalsCalc = obj;
603         boolean _equals;
604         _equals = true && 
605             this.assetId == other.getAssetId() &&
606             this.classNameId == other.getClassNameId() &&
607             this.classPK == other.getClassPK() &&
608             this.companyId == other.getCompanyId() &&
609             ((this.createDate==null && other.getCreateDate()==null) || 
610              (this.createDate!=null &&
611               this.createDate.equals(other.getCreateDate()))) &&
612             ((this.description==null && other.getDescription()==null) || 
613              (this.description!=null &&
614               this.description.equals(other.getDescription()))) &&
615             ((this.endDate==null && other.getEndDate()==null) || 
616              (this.endDate!=null &&
617               this.endDate.equals(other.getEndDate()))) &&
618             ((this.expirationDate==null && other.getExpirationDate()==null) || 
619              (this.expirationDate!=null &&
620               this.expirationDate.equals(other.getExpirationDate()))) &&
621             this.groupId == other.getGroupId() &&
622             this.height == other.getHeight() &&
623             ((this.mimeType==null && other.getMimeType()==null) || 
624              (this.mimeType!=null &&
625               this.mimeType.equals(other.getMimeType()))) &&
626             ((this.modifiedDate==null && other.getModifiedDate()==null) || 
627              (this.modifiedDate!=null &&
628               this.modifiedDate.equals(other.getModifiedDate()))) &&
629             this.primaryKey == other.getPrimaryKey() &&
630             this.priority == other.getPriority() &&
631             ((this.publishDate==null && other.getPublishDate()==null) || 
632              (this.publishDate!=null &&
633               this.publishDate.equals(other.getPublishDate()))) &&
634             ((this.startDate==null && other.getStartDate()==null) || 
635              (this.startDate!=null &&
636               this.startDate.equals(other.getStartDate()))) &&
637             ((this.summary==null && other.getSummary()==null) || 
638              (this.summary!=null &&
639               this.summary.equals(other.getSummary()))) &&
640             ((this.title==null && other.getTitle()==null) || 
641              (this.title!=null &&
642               this.title.equals(other.getTitle()))) &&
643             ((this.url==null && other.getUrl()==null) || 
644              (this.url!=null &&
645               this.url.equals(other.getUrl()))) &&
646             this.userId == other.getUserId() &&
647             ((this.userName==null && other.getUserName()==null) || 
648              (this.userName!=null &&
649               this.userName.equals(other.getUserName()))) &&
650             this.viewCount == other.getViewCount() &&
651             this.visible == other.isVisible() &&
652             this.width == other.getWidth();
653         __equalsCalc = null;
654         return _equals;
655     }
656 
657     private boolean __hashCodeCalc = false;
658     public synchronized int hashCode() {
659         if (__hashCodeCalc) {
660             return 0;
661         }
662         __hashCodeCalc = true;
663         int _hashCode = 1;
664         _hashCode += new Long(getAssetId()).hashCode();
665         _hashCode += new Long(getClassNameId()).hashCode();
666         _hashCode += new Long(getClassPK()).hashCode();
667         _hashCode += new Long(getCompanyId()).hashCode();
668         if (getCreateDate() != null) {
669             _hashCode += getCreateDate().hashCode();
670         }
671         if (getDescription() != null) {
672             _hashCode += getDescription().hashCode();
673         }
674         if (getEndDate() != null) {
675             _hashCode += getEndDate().hashCode();
676         }
677         if (getExpirationDate() != null) {
678             _hashCode += getExpirationDate().hashCode();
679         }
680         _hashCode += new Long(getGroupId()).hashCode();
681         _hashCode += getHeight();
682         if (getMimeType() != null) {
683             _hashCode += getMimeType().hashCode();
684         }
685         if (getModifiedDate() != null) {
686             _hashCode += getModifiedDate().hashCode();
687         }
688         _hashCode += new Long(getPrimaryKey()).hashCode();
689         _hashCode += new Double(getPriority()).hashCode();
690         if (getPublishDate() != null) {
691             _hashCode += getPublishDate().hashCode();
692         }
693         if (getStartDate() != null) {
694             _hashCode += getStartDate().hashCode();
695         }
696         if (getSummary() != null) {
697             _hashCode += getSummary().hashCode();
698         }
699         if (getTitle() != null) {
700             _hashCode += getTitle().hashCode();
701         }
702         if (getUrl() != null) {
703             _hashCode += getUrl().hashCode();
704         }
705         _hashCode += new Long(getUserId()).hashCode();
706         if (getUserName() != null) {
707             _hashCode += getUserName().hashCode();
708         }
709         _hashCode += getViewCount();
710         _hashCode += (isVisible() ? Boolean.TRUE : Boolean.FALSE).hashCode();
711         _hashCode += getWidth();
712         __hashCodeCalc = false;
713         return _hashCode;
714     }
715 
716     // Type metadata
717     private static org.apache.axis.description.TypeDesc typeDesc =
718         new org.apache.axis.description.TypeDesc(TagsAssetSoap.class, true);
719 
720     static {
721         typeDesc.setXmlType(new javax.xml.namespace.QName("http://model.tags.portlet.liferay.com", "TagsAssetSoap"));
722         org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
723         elemField.setFieldName("assetId");
724         elemField.setXmlName(new javax.xml.namespace.QName("", "assetId"));
725         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
726         elemField.setNillable(false);
727         typeDesc.addFieldDesc(elemField);
728         elemField = new org.apache.axis.description.ElementDesc();
729         elemField.setFieldName("classNameId");
730         elemField.setXmlName(new javax.xml.namespace.QName("", "classNameId"));
731         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
732         elemField.setNillable(false);
733         typeDesc.addFieldDesc(elemField);
734         elemField = new org.apache.axis.description.ElementDesc();
735         elemField.setFieldName("classPK");
736         elemField.setXmlName(new javax.xml.namespace.QName("", "classPK"));
737         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
738         elemField.setNillable(false);
739         typeDesc.addFieldDesc(elemField);
740         elemField = new org.apache.axis.description.ElementDesc();
741         elemField.setFieldName("companyId");
742         elemField.setXmlName(new javax.xml.namespace.QName("", "companyId"));
743         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
744         elemField.setNillable(false);
745         typeDesc.addFieldDesc(elemField);
746         elemField = new org.apache.axis.description.ElementDesc();
747         elemField.setFieldName("createDate");
748         elemField.setXmlName(new javax.xml.namespace.QName("", "createDate"));
749         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime"));
750         elemField.setNillable(true);
751         typeDesc.addFieldDesc(elemField);
752         elemField = new org.apache.axis.description.ElementDesc();
753         elemField.setFieldName("description");
754         elemField.setXmlName(new javax.xml.namespace.QName("", "description"));
755         elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
756         elemField.setNillable(true);
757         typeDesc.addFieldDesc(elemField);
758         elemField = new org.apache.axis.description.ElementDesc();
759         elemField.setFieldName("endDate");
760         elemField.setXmlName(new javax.xml.namespace.QName("", "endDate"));
761         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime"));
762         elemField.setNillable(true);
763         typeDesc.addFieldDesc(elemField);
764         elemField = new org.apache.axis.description.ElementDesc();
765         elemField.setFieldName("expirationDate");
766         elemField.setXmlName(new javax.xml.namespace.QName("", "expirationDate"));
767         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime"));
768         elemField.setNillable(true);
769         typeDesc.addFieldDesc(elemField);
770         elemField = new org.apache.axis.description.ElementDesc();
771         elemField.setFieldName("groupId");
772         elemField.setXmlName(new javax.xml.namespace.QName("", "groupId"));
773         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
774         elemField.setNillable(false);
775         typeDesc.addFieldDesc(elemField);
776         elemField = new org.apache.axis.description.ElementDesc();
777         elemField.setFieldName("height");
778         elemField.setXmlName(new javax.xml.namespace.QName("", "height"));
779         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"));
780         elemField.setNillable(false);
781         typeDesc.addFieldDesc(elemField);
782         elemField = new org.apache.axis.description.ElementDesc();
783         elemField.setFieldName("mimeType");
784         elemField.setXmlName(new javax.xml.namespace.QName("", "mimeType"));
785         elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
786         elemField.setNillable(true);
787         typeDesc.addFieldDesc(elemField);
788         elemField = new org.apache.axis.description.ElementDesc();
789         elemField.setFieldName("modifiedDate");
790         elemField.setXmlName(new javax.xml.namespace.QName("", "modifiedDate"));
791         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime"));
792         elemField.setNillable(true);
793         typeDesc.addFieldDesc(elemField);
794         elemField = new org.apache.axis.description.ElementDesc();
795         elemField.setFieldName("primaryKey");
796         elemField.setXmlName(new javax.xml.namespace.QName("", "primaryKey"));
797         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
798         elemField.setNillable(false);
799         typeDesc.addFieldDesc(elemField);
800         elemField = new org.apache.axis.description.ElementDesc();
801         elemField.setFieldName("priority");
802         elemField.setXmlName(new javax.xml.namespace.QName("", "priority"));
803         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "double"));
804         elemField.setNillable(false);
805         typeDesc.addFieldDesc(elemField);
806         elemField = new org.apache.axis.description.ElementDesc();
807         elemField.setFieldName("publishDate");
808         elemField.setXmlName(new javax.xml.namespace.QName("", "publishDate"));
809         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime"));
810         elemField.setNillable(true);
811         typeDesc.addFieldDesc(elemField);
812         elemField = new org.apache.axis.description.ElementDesc();
813         elemField.setFieldName("startDate");
814         elemField.setXmlName(new javax.xml.namespace.QName("", "startDate"));
815         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime"));
816         elemField.setNillable(true);
817         typeDesc.addFieldDesc(elemField);
818         elemField = new org.apache.axis.description.ElementDesc();
819         elemField.setFieldName("summary");
820         elemField.setXmlName(new javax.xml.namespace.QName("", "summary"));
821         elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
822         elemField.setNillable(true);
823         typeDesc.addFieldDesc(elemField);
824         elemField = new org.apache.axis.description.ElementDesc();
825         elemField.setFieldName("title");
826         elemField.setXmlName(new javax.xml.namespace.QName("", "title"));
827         elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
828         elemField.setNillable(true);
829         typeDesc.addFieldDesc(elemField);
830         elemField = new org.apache.axis.description.ElementDesc();
831         elemField.setFieldName("url");
832         elemField.setXmlName(new javax.xml.namespace.QName("", "url"));
833         elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
834         elemField.setNillable(true);
835         typeDesc.addFieldDesc(elemField);
836         elemField = new org.apache.axis.description.ElementDesc();
837         elemField.setFieldName("userId");
838         elemField.setXmlName(new javax.xml.namespace.QName("", "userId"));
839         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
840         elemField.setNillable(false);
841         typeDesc.addFieldDesc(elemField);
842         elemField = new org.apache.axis.description.ElementDesc();
843         elemField.setFieldName("userName");
844         elemField.setXmlName(new javax.xml.namespace.QName("", "userName"));
845         elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
846         elemField.setNillable(true);
847         typeDesc.addFieldDesc(elemField);
848         elemField = new org.apache.axis.description.ElementDesc();
849         elemField.setFieldName("viewCount");
850         elemField.setXmlName(new javax.xml.namespace.QName("", "viewCount"));
851         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"));
852         elemField.setNillable(false);
853         typeDesc.addFieldDesc(elemField);
854         elemField = new org.apache.axis.description.ElementDesc();
855         elemField.setFieldName("visible");
856         elemField.setXmlName(new javax.xml.namespace.QName("", "visible"));
857         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean"));
858         elemField.setNillable(false);
859         typeDesc.addFieldDesc(elemField);
860         elemField = new org.apache.axis.description.ElementDesc();
861         elemField.setFieldName("width");
862         elemField.setXmlName(new javax.xml.namespace.QName("", "width"));
863         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"));
864         elemField.setNillable(false);
865         typeDesc.addFieldDesc(elemField);
866     }
867 
868     /**
869      * Return type metadata object
870      */
871     public static org.apache.axis.description.TypeDesc getTypeDesc() {
872         return typeDesc;
873     }
874 
875     /**
876      * Get Custom Serializer
877      */
878     public static org.apache.axis.encoding.Serializer getSerializer(
879            java.lang.String mechType, 
880            java.lang.Class _javaType,  
881            javax.xml.namespace.QName _xmlType) {
882         return 
883           new  org.apache.axis.encoding.ser.BeanSerializer(
884             _javaType, _xmlType, typeDesc);
885     }
886 
887     /**
888      * Get Custom Deserializer
889      */
890     public static org.apache.axis.encoding.Deserializer getDeserializer(
891            java.lang.String mechType, 
892            java.lang.Class _javaType,  
893            javax.xml.namespace.QName _xmlType) {
894         return 
895           new  org.apache.axis.encoding.ser.BeanDeserializer(
896             _javaType, _xmlType, typeDesc);
897     }
898 
899 }
900