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