1   /**
2    * ServiceContext.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.portal.service;
9   
10  public class ServiceContext  implements java.io.Serializable {
11      private boolean addCommunityPermissions;
12  
13      private boolean addGuestPermissions;
14  
15      private java.util.HashMap attributes;
16  
17      private java.lang.String[] communityPermissions;
18  
19      private long companyId;
20  
21      private java.util.HashMap expandoBridgeAttributes;
22  
23      private java.lang.String[] guestPermissions;
24  
25      private java.lang.String languageId;
26  
27      private java.lang.String layoutURL;
28  
29      private java.lang.String pathMain;
30  
31      private long plid;
32  
33      private java.lang.String portalURL;
34  
35      private com.liferay.client.soap.portal.model.PortletPreferencesIds portletPreferencesIds;
36  
37      private long scopeGroupId;
38  
39      private java.lang.String[] tagsCategories;
40  
41      private java.lang.String[] tagsEntries;
42  
43      private java.lang.String userDisplayURL;
44  
45      private long userId;
46  
47      public ServiceContext() {
48      }
49  
50      public ServiceContext(
51             boolean addCommunityPermissions,
52             boolean addGuestPermissions,
53             java.util.HashMap attributes,
54             java.lang.String[] communityPermissions,
55             long companyId,
56             java.util.HashMap expandoBridgeAttributes,
57             java.lang.String[] guestPermissions,
58             java.lang.String languageId,
59             java.lang.String layoutURL,
60             java.lang.String pathMain,
61             long plid,
62             java.lang.String portalURL,
63             com.liferay.client.soap.portal.model.PortletPreferencesIds portletPreferencesIds,
64             long scopeGroupId,
65             java.lang.String[] tagsCategories,
66             java.lang.String[] tagsEntries,
67             java.lang.String userDisplayURL,
68             long userId) {
69             this.addCommunityPermissions = addCommunityPermissions;
70             this.addGuestPermissions = addGuestPermissions;
71             this.attributes = attributes;
72             this.communityPermissions = communityPermissions;
73             this.companyId = companyId;
74             this.expandoBridgeAttributes = expandoBridgeAttributes;
75             this.guestPermissions = guestPermissions;
76             this.languageId = languageId;
77             this.layoutURL = layoutURL;
78             this.pathMain = pathMain;
79             this.plid = plid;
80             this.portalURL = portalURL;
81             this.portletPreferencesIds = portletPreferencesIds;
82             this.scopeGroupId = scopeGroupId;
83             this.tagsCategories = tagsCategories;
84             this.tagsEntries = tagsEntries;
85             this.userDisplayURL = userDisplayURL;
86             this.userId = userId;
87      }
88  
89  
90      /**
91       * Gets the addCommunityPermissions value for this ServiceContext.
92       * 
93       * @return addCommunityPermissions
94       */
95      public boolean isAddCommunityPermissions() {
96          return addCommunityPermissions;
97      }
98  
99  
100     /**
101      * Sets the addCommunityPermissions value for this ServiceContext.
102      * 
103      * @param addCommunityPermissions
104      */
105     public void setAddCommunityPermissions(boolean addCommunityPermissions) {
106         this.addCommunityPermissions = addCommunityPermissions;
107     }
108 
109 
110     /**
111      * Gets the addGuestPermissions value for this ServiceContext.
112      * 
113      * @return addGuestPermissions
114      */
115     public boolean isAddGuestPermissions() {
116         return addGuestPermissions;
117     }
118 
119 
120     /**
121      * Sets the addGuestPermissions value for this ServiceContext.
122      * 
123      * @param addGuestPermissions
124      */
125     public void setAddGuestPermissions(boolean addGuestPermissions) {
126         this.addGuestPermissions = addGuestPermissions;
127     }
128 
129 
130     /**
131      * Gets the attributes value for this ServiceContext.
132      * 
133      * @return attributes
134      */
135     public java.util.HashMap getAttributes() {
136         return attributes;
137     }
138 
139 
140     /**
141      * Sets the attributes value for this ServiceContext.
142      * 
143      * @param attributes
144      */
145     public void setAttributes(java.util.HashMap attributes) {
146         this.attributes = attributes;
147     }
148 
149 
150     /**
151      * Gets the communityPermissions value for this ServiceContext.
152      * 
153      * @return communityPermissions
154      */
155     public java.lang.String[] getCommunityPermissions() {
156         return communityPermissions;
157     }
158 
159 
160     /**
161      * Sets the communityPermissions value for this ServiceContext.
162      * 
163      * @param communityPermissions
164      */
165     public void setCommunityPermissions(java.lang.String[] communityPermissions) {
166         this.communityPermissions = communityPermissions;
167     }
168 
169 
170     /**
171      * Gets the companyId value for this ServiceContext.
172      * 
173      * @return companyId
174      */
175     public long getCompanyId() {
176         return companyId;
177     }
178 
179 
180     /**
181      * Sets the companyId value for this ServiceContext.
182      * 
183      * @param companyId
184      */
185     public void setCompanyId(long companyId) {
186         this.companyId = companyId;
187     }
188 
189 
190     /**
191      * Gets the expandoBridgeAttributes value for this ServiceContext.
192      * 
193      * @return expandoBridgeAttributes
194      */
195     public java.util.HashMap getExpandoBridgeAttributes() {
196         return expandoBridgeAttributes;
197     }
198 
199 
200     /**
201      * Sets the expandoBridgeAttributes value for this ServiceContext.
202      * 
203      * @param expandoBridgeAttributes
204      */
205     public void setExpandoBridgeAttributes(java.util.HashMap expandoBridgeAttributes) {
206         this.expandoBridgeAttributes = expandoBridgeAttributes;
207     }
208 
209 
210     /**
211      * Gets the guestPermissions value for this ServiceContext.
212      * 
213      * @return guestPermissions
214      */
215     public java.lang.String[] getGuestPermissions() {
216         return guestPermissions;
217     }
218 
219 
220     /**
221      * Sets the guestPermissions value for this ServiceContext.
222      * 
223      * @param guestPermissions
224      */
225     public void setGuestPermissions(java.lang.String[] guestPermissions) {
226         this.guestPermissions = guestPermissions;
227     }
228 
229 
230     /**
231      * Gets the languageId value for this ServiceContext.
232      * 
233      * @return languageId
234      */
235     public java.lang.String getLanguageId() {
236         return languageId;
237     }
238 
239 
240     /**
241      * Sets the languageId value for this ServiceContext.
242      * 
243      * @param languageId
244      */
245     public void setLanguageId(java.lang.String languageId) {
246         this.languageId = languageId;
247     }
248 
249 
250     /**
251      * Gets the layoutURL value for this ServiceContext.
252      * 
253      * @return layoutURL
254      */
255     public java.lang.String getLayoutURL() {
256         return layoutURL;
257     }
258 
259 
260     /**
261      * Sets the layoutURL value for this ServiceContext.
262      * 
263      * @param layoutURL
264      */
265     public void setLayoutURL(java.lang.String layoutURL) {
266         this.layoutURL = layoutURL;
267     }
268 
269 
270     /**
271      * Gets the pathMain value for this ServiceContext.
272      * 
273      * @return pathMain
274      */
275     public java.lang.String getPathMain() {
276         return pathMain;
277     }
278 
279 
280     /**
281      * Sets the pathMain value for this ServiceContext.
282      * 
283      * @param pathMain
284      */
285     public void setPathMain(java.lang.String pathMain) {
286         this.pathMain = pathMain;
287     }
288 
289 
290     /**
291      * Gets the plid value for this ServiceContext.
292      * 
293      * @return plid
294      */
295     public long getPlid() {
296         return plid;
297     }
298 
299 
300     /**
301      * Sets the plid value for this ServiceContext.
302      * 
303      * @param plid
304      */
305     public void setPlid(long plid) {
306         this.plid = plid;
307     }
308 
309 
310     /**
311      * Gets the portalURL value for this ServiceContext.
312      * 
313      * @return portalURL
314      */
315     public java.lang.String getPortalURL() {
316         return portalURL;
317     }
318 
319 
320     /**
321      * Sets the portalURL value for this ServiceContext.
322      * 
323      * @param portalURL
324      */
325     public void setPortalURL(java.lang.String portalURL) {
326         this.portalURL = portalURL;
327     }
328 
329 
330     /**
331      * Gets the portletPreferencesIds value for this ServiceContext.
332      * 
333      * @return portletPreferencesIds
334      */
335     public com.liferay.client.soap.portal.model.PortletPreferencesIds getPortletPreferencesIds() {
336         return portletPreferencesIds;
337     }
338 
339 
340     /**
341      * Sets the portletPreferencesIds value for this ServiceContext.
342      * 
343      * @param portletPreferencesIds
344      */
345     public void setPortletPreferencesIds(com.liferay.client.soap.portal.model.PortletPreferencesIds portletPreferencesIds) {
346         this.portletPreferencesIds = portletPreferencesIds;
347     }
348 
349 
350     /**
351      * Gets the scopeGroupId value for this ServiceContext.
352      * 
353      * @return scopeGroupId
354      */
355     public long getScopeGroupId() {
356         return scopeGroupId;
357     }
358 
359 
360     /**
361      * Sets the scopeGroupId value for this ServiceContext.
362      * 
363      * @param scopeGroupId
364      */
365     public void setScopeGroupId(long scopeGroupId) {
366         this.scopeGroupId = scopeGroupId;
367     }
368 
369 
370     /**
371      * Gets the tagsCategories value for this ServiceContext.
372      * 
373      * @return tagsCategories
374      */
375     public java.lang.String[] getTagsCategories() {
376         return tagsCategories;
377     }
378 
379 
380     /**
381      * Sets the tagsCategories value for this ServiceContext.
382      * 
383      * @param tagsCategories
384      */
385     public void setTagsCategories(java.lang.String[] tagsCategories) {
386         this.tagsCategories = tagsCategories;
387     }
388 
389 
390     /**
391      * Gets the tagsEntries value for this ServiceContext.
392      * 
393      * @return tagsEntries
394      */
395     public java.lang.String[] getTagsEntries() {
396         return tagsEntries;
397     }
398 
399 
400     /**
401      * Sets the tagsEntries value for this ServiceContext.
402      * 
403      * @param tagsEntries
404      */
405     public void setTagsEntries(java.lang.String[] tagsEntries) {
406         this.tagsEntries = tagsEntries;
407     }
408 
409 
410     /**
411      * Gets the userDisplayURL value for this ServiceContext.
412      * 
413      * @return userDisplayURL
414      */
415     public java.lang.String getUserDisplayURL() {
416         return userDisplayURL;
417     }
418 
419 
420     /**
421      * Sets the userDisplayURL value for this ServiceContext.
422      * 
423      * @param userDisplayURL
424      */
425     public void setUserDisplayURL(java.lang.String userDisplayURL) {
426         this.userDisplayURL = userDisplayURL;
427     }
428 
429 
430     /**
431      * Gets the userId value for this ServiceContext.
432      * 
433      * @return userId
434      */
435     public long getUserId() {
436         return userId;
437     }
438 
439 
440     /**
441      * Sets the userId value for this ServiceContext.
442      * 
443      * @param userId
444      */
445     public void setUserId(long userId) {
446         this.userId = userId;
447     }
448 
449     private java.lang.Object __equalsCalc = null;
450     public synchronized boolean equals(java.lang.Object obj) {
451         if (!(obj instanceof ServiceContext)) return false;
452         ServiceContext other = (ServiceContext) obj;
453         if (obj == null) return false;
454         if (this == obj) return true;
455         if (__equalsCalc != null) {
456             return (__equalsCalc == obj);
457         }
458         __equalsCalc = obj;
459         boolean _equals;
460         _equals = true && 
461             this.addCommunityPermissions == other.isAddCommunityPermissions() &&
462             this.addGuestPermissions == other.isAddGuestPermissions() &&
463             ((this.attributes==null && other.getAttributes()==null) || 
464              (this.attributes!=null &&
465               this.attributes.equals(other.getAttributes()))) &&
466             ((this.communityPermissions==null && other.getCommunityPermissions()==null) || 
467              (this.communityPermissions!=null &&
468               java.util.Arrays.equals(this.communityPermissions, other.getCommunityPermissions()))) &&
469             this.companyId == other.getCompanyId() &&
470             ((this.expandoBridgeAttributes==null && other.getExpandoBridgeAttributes()==null) || 
471              (this.expandoBridgeAttributes!=null &&
472               this.expandoBridgeAttributes.equals(other.getExpandoBridgeAttributes()))) &&
473             ((this.guestPermissions==null && other.getGuestPermissions()==null) || 
474              (this.guestPermissions!=null &&
475               java.util.Arrays.equals(this.guestPermissions, other.getGuestPermissions()))) &&
476             ((this.languageId==null && other.getLanguageId()==null) || 
477              (this.languageId!=null &&
478               this.languageId.equals(other.getLanguageId()))) &&
479             ((this.layoutURL==null && other.getLayoutURL()==null) || 
480              (this.layoutURL!=null &&
481               this.layoutURL.equals(other.getLayoutURL()))) &&
482             ((this.pathMain==null && other.getPathMain()==null) || 
483              (this.pathMain!=null &&
484               this.pathMain.equals(other.getPathMain()))) &&
485             this.plid == other.getPlid() &&
486             ((this.portalURL==null && other.getPortalURL()==null) || 
487              (this.portalURL!=null &&
488               this.portalURL.equals(other.getPortalURL()))) &&
489             ((this.portletPreferencesIds==null && other.getPortletPreferencesIds()==null) || 
490              (this.portletPreferencesIds!=null &&
491               this.portletPreferencesIds.equals(other.getPortletPreferencesIds()))) &&
492             this.scopeGroupId == other.getScopeGroupId() &&
493             ((this.tagsCategories==null && other.getTagsCategories()==null) || 
494              (this.tagsCategories!=null &&
495               java.util.Arrays.equals(this.tagsCategories, other.getTagsCategories()))) &&
496             ((this.tagsEntries==null && other.getTagsEntries()==null) || 
497              (this.tagsEntries!=null &&
498               java.util.Arrays.equals(this.tagsEntries, other.getTagsEntries()))) &&
499             ((this.userDisplayURL==null && other.getUserDisplayURL()==null) || 
500              (this.userDisplayURL!=null &&
501               this.userDisplayURL.equals(other.getUserDisplayURL()))) &&
502             this.userId == other.getUserId();
503         __equalsCalc = null;
504         return _equals;
505     }
506 
507     private boolean __hashCodeCalc = false;
508     public synchronized int hashCode() {
509         if (__hashCodeCalc) {
510             return 0;
511         }
512         __hashCodeCalc = true;
513         int _hashCode = 1;
514         _hashCode += (isAddCommunityPermissions() ? Boolean.TRUE : Boolean.FALSE).hashCode();
515         _hashCode += (isAddGuestPermissions() ? Boolean.TRUE : Boolean.FALSE).hashCode();
516         if (getAttributes() != null) {
517             _hashCode += getAttributes().hashCode();
518         }
519         if (getCommunityPermissions() != null) {
520             for (int i=0;
521                  i<java.lang.reflect.Array.getLength(getCommunityPermissions());
522                  i++) {
523                 java.lang.Object obj = java.lang.reflect.Array.get(getCommunityPermissions(), i);
524                 if (obj != null &&
525                     !obj.getClass().isArray()) {
526                     _hashCode += obj.hashCode();
527                 }
528             }
529         }
530         _hashCode += new Long(getCompanyId()).hashCode();
531         if (getExpandoBridgeAttributes() != null) {
532             _hashCode += getExpandoBridgeAttributes().hashCode();
533         }
534         if (getGuestPermissions() != null) {
535             for (int i=0;
536                  i<java.lang.reflect.Array.getLength(getGuestPermissions());
537                  i++) {
538                 java.lang.Object obj = java.lang.reflect.Array.get(getGuestPermissions(), i);
539                 if (obj != null &&
540                     !obj.getClass().isArray()) {
541                     _hashCode += obj.hashCode();
542                 }
543             }
544         }
545         if (getLanguageId() != null) {
546             _hashCode += getLanguageId().hashCode();
547         }
548         if (getLayoutURL() != null) {
549             _hashCode += getLayoutURL().hashCode();
550         }
551         if (getPathMain() != null) {
552             _hashCode += getPathMain().hashCode();
553         }
554         _hashCode += new Long(getPlid()).hashCode();
555         if (getPortalURL() != null) {
556             _hashCode += getPortalURL().hashCode();
557         }
558         if (getPortletPreferencesIds() != null) {
559             _hashCode += getPortletPreferencesIds().hashCode();
560         }
561         _hashCode += new Long(getScopeGroupId()).hashCode();
562         if (getTagsCategories() != null) {
563             for (int i=0;
564                  i<java.lang.reflect.Array.getLength(getTagsCategories());
565                  i++) {
566                 java.lang.Object obj = java.lang.reflect.Array.get(getTagsCategories(), i);
567                 if (obj != null &&
568                     !obj.getClass().isArray()) {
569                     _hashCode += obj.hashCode();
570                 }
571             }
572         }
573         if (getTagsEntries() != null) {
574             for (int i=0;
575                  i<java.lang.reflect.Array.getLength(getTagsEntries());
576                  i++) {
577                 java.lang.Object obj = java.lang.reflect.Array.get(getTagsEntries(), i);
578                 if (obj != null &&
579                     !obj.getClass().isArray()) {
580                     _hashCode += obj.hashCode();
581                 }
582             }
583         }
584         if (getUserDisplayURL() != null) {
585             _hashCode += getUserDisplayURL().hashCode();
586         }
587         _hashCode += new Long(getUserId()).hashCode();
588         __hashCodeCalc = false;
589         return _hashCode;
590     }
591 
592     // Type metadata
593     private static org.apache.axis.description.TypeDesc typeDesc =
594         new org.apache.axis.description.TypeDesc(ServiceContext.class, true);
595 
596     static {
597         typeDesc.setXmlType(new javax.xml.namespace.QName("http://service.portal.liferay.com", "ServiceContext"));
598         org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
599         elemField.setFieldName("addCommunityPermissions");
600         elemField.setXmlName(new javax.xml.namespace.QName("", "addCommunityPermissions"));
601         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean"));
602         elemField.setNillable(false);
603         typeDesc.addFieldDesc(elemField);
604         elemField = new org.apache.axis.description.ElementDesc();
605         elemField.setFieldName("addGuestPermissions");
606         elemField.setXmlName(new javax.xml.namespace.QName("", "addGuestPermissions"));
607         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean"));
608         elemField.setNillable(false);
609         typeDesc.addFieldDesc(elemField);
610         elemField = new org.apache.axis.description.ElementDesc();
611         elemField.setFieldName("attributes");
612         elemField.setXmlName(new javax.xml.namespace.QName("", "attributes"));
613         elemField.setXmlType(new javax.xml.namespace.QName("http://xml.apache.org/xml-soap", "Map"));
614         elemField.setNillable(true);
615         typeDesc.addFieldDesc(elemField);
616         elemField = new org.apache.axis.description.ElementDesc();
617         elemField.setFieldName("communityPermissions");
618         elemField.setXmlName(new javax.xml.namespace.QName("", "communityPermissions"));
619         elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
620         elemField.setNillable(true);
621         typeDesc.addFieldDesc(elemField);
622         elemField = new org.apache.axis.description.ElementDesc();
623         elemField.setFieldName("companyId");
624         elemField.setXmlName(new javax.xml.namespace.QName("", "companyId"));
625         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
626         elemField.setNillable(false);
627         typeDesc.addFieldDesc(elemField);
628         elemField = new org.apache.axis.description.ElementDesc();
629         elemField.setFieldName("expandoBridgeAttributes");
630         elemField.setXmlName(new javax.xml.namespace.QName("", "expandoBridgeAttributes"));
631         elemField.setXmlType(new javax.xml.namespace.QName("http://xml.apache.org/xml-soap", "Map"));
632         elemField.setNillable(true);
633         typeDesc.addFieldDesc(elemField);
634         elemField = new org.apache.axis.description.ElementDesc();
635         elemField.setFieldName("guestPermissions");
636         elemField.setXmlName(new javax.xml.namespace.QName("", "guestPermissions"));
637         elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
638         elemField.setNillable(true);
639         typeDesc.addFieldDesc(elemField);
640         elemField = new org.apache.axis.description.ElementDesc();
641         elemField.setFieldName("languageId");
642         elemField.setXmlName(new javax.xml.namespace.QName("", "languageId"));
643         elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
644         elemField.setNillable(true);
645         typeDesc.addFieldDesc(elemField);
646         elemField = new org.apache.axis.description.ElementDesc();
647         elemField.setFieldName("layoutURL");
648         elemField.setXmlName(new javax.xml.namespace.QName("", "layoutURL"));
649         elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
650         elemField.setNillable(true);
651         typeDesc.addFieldDesc(elemField);
652         elemField = new org.apache.axis.description.ElementDesc();
653         elemField.setFieldName("pathMain");
654         elemField.setXmlName(new javax.xml.namespace.QName("", "pathMain"));
655         elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
656         elemField.setNillable(true);
657         typeDesc.addFieldDesc(elemField);
658         elemField = new org.apache.axis.description.ElementDesc();
659         elemField.setFieldName("plid");
660         elemField.setXmlName(new javax.xml.namespace.QName("", "plid"));
661         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
662         elemField.setNillable(false);
663         typeDesc.addFieldDesc(elemField);
664         elemField = new org.apache.axis.description.ElementDesc();
665         elemField.setFieldName("portalURL");
666         elemField.setXmlName(new javax.xml.namespace.QName("", "portalURL"));
667         elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
668         elemField.setNillable(true);
669         typeDesc.addFieldDesc(elemField);
670         elemField = new org.apache.axis.description.ElementDesc();
671         elemField.setFieldName("portletPreferencesIds");
672         elemField.setXmlName(new javax.xml.namespace.QName("", "portletPreferencesIds"));
673         elemField.setXmlType(new javax.xml.namespace.QName("http://model.portal.liferay.com", "PortletPreferencesIds"));
674         elemField.setNillable(true);
675         typeDesc.addFieldDesc(elemField);
676         elemField = new org.apache.axis.description.ElementDesc();
677         elemField.setFieldName("scopeGroupId");
678         elemField.setXmlName(new javax.xml.namespace.QName("", "scopeGroupId"));
679         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
680         elemField.setNillable(false);
681         typeDesc.addFieldDesc(elemField);
682         elemField = new org.apache.axis.description.ElementDesc();
683         elemField.setFieldName("tagsCategories");
684         elemField.setXmlName(new javax.xml.namespace.QName("", "tagsCategories"));
685         elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
686         elemField.setNillable(true);
687         typeDesc.addFieldDesc(elemField);
688         elemField = new org.apache.axis.description.ElementDesc();
689         elemField.setFieldName("tagsEntries");
690         elemField.setXmlName(new javax.xml.namespace.QName("", "tagsEntries"));
691         elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
692         elemField.setNillable(true);
693         typeDesc.addFieldDesc(elemField);
694         elemField = new org.apache.axis.description.ElementDesc();
695         elemField.setFieldName("userDisplayURL");
696         elemField.setXmlName(new javax.xml.namespace.QName("", "userDisplayURL"));
697         elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
698         elemField.setNillable(true);
699         typeDesc.addFieldDesc(elemField);
700         elemField = new org.apache.axis.description.ElementDesc();
701         elemField.setFieldName("userId");
702         elemField.setXmlName(new javax.xml.namespace.QName("", "userId"));
703         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
704         elemField.setNillable(false);
705         typeDesc.addFieldDesc(elemField);
706     }
707 
708     /**
709      * Return type metadata object
710      */
711     public static org.apache.axis.description.TypeDesc getTypeDesc() {
712         return typeDesc;
713     }
714 
715     /**
716      * Get Custom Serializer
717      */
718     public static org.apache.axis.encoding.Serializer getSerializer(
719            java.lang.String mechType, 
720            java.lang.Class _javaType,  
721            javax.xml.namespace.QName _xmlType) {
722         return 
723           new  org.apache.axis.encoding.ser.BeanSerializer(
724             _javaType, _xmlType, typeDesc);
725     }
726 
727     /**
728      * Get Custom Deserializer
729      */
730     public static org.apache.axis.encoding.Deserializer getDeserializer(
731            java.lang.String mechType, 
732            java.lang.Class _javaType,  
733            javax.xml.namespace.QName _xmlType) {
734         return 
735           new  org.apache.axis.encoding.ser.BeanDeserializer(
736             _javaType, _xmlType, typeDesc);
737     }
738 
739 }
740