1   /**
2    * PortletDescription.java
3    *
4    * This file was auto-generated from WSDL
5    * by the Apache Axis 1.2RC3 Feb 28, 2005 (10:15:14 EST) WSDL2Java emitter.
6    */
7   
8   package oasis.names.tc.wsrp.v1.types;
9   
10  public class PortletDescription  implements java.io.Serializable {
11      private java.lang.String portletHandle;
12      private oasis.names.tc.wsrp.v1.types.MarkupType[] markupTypes;
13      private java.lang.String groupID;
14      private oasis.names.tc.wsrp.v1.types.LocalizedString description;
15      private oasis.names.tc.wsrp.v1.types.LocalizedString shortTitle;
16      private oasis.names.tc.wsrp.v1.types.LocalizedString title;
17      private oasis.names.tc.wsrp.v1.types.LocalizedString displayName;
18      private oasis.names.tc.wsrp.v1.types.LocalizedString[] keywords;
19      private java.lang.String[] userCategories;
20      private java.lang.String[] userProfileItems;
21      private java.lang.Boolean usesMethodGet;
22      private java.lang.Boolean defaultMarkupSecure;
23      private java.lang.Boolean onlySecure;
24      private java.lang.Boolean userContextStoredInSession;
25      private java.lang.Boolean templatesStoredInSession;
26      private java.lang.Boolean hasUserSpecificState;
27      private java.lang.Boolean doesUrlTemplateProcessing;
28      private oasis.names.tc.wsrp.v1.types.Extension[] extensions;
29  
30      public PortletDescription() {
31      }
32  
33      public PortletDescription(
34             java.lang.Boolean defaultMarkupSecure,
35             oasis.names.tc.wsrp.v1.types.LocalizedString description,
36             oasis.names.tc.wsrp.v1.types.LocalizedString displayName,
37             java.lang.Boolean doesUrlTemplateProcessing,
38             oasis.names.tc.wsrp.v1.types.Extension[] extensions,
39             java.lang.String groupID,
40             java.lang.Boolean hasUserSpecificState,
41             oasis.names.tc.wsrp.v1.types.LocalizedString[] keywords,
42             oasis.names.tc.wsrp.v1.types.MarkupType[] markupTypes,
43             java.lang.Boolean onlySecure,
44             java.lang.String portletHandle,
45             oasis.names.tc.wsrp.v1.types.LocalizedString shortTitle,
46             java.lang.Boolean templatesStoredInSession,
47             oasis.names.tc.wsrp.v1.types.LocalizedString title,
48             java.lang.String[] userCategories,
49             java.lang.Boolean userContextStoredInSession,
50             java.lang.String[] userProfileItems,
51             java.lang.Boolean usesMethodGet) {
52             this.portletHandle = portletHandle;
53             this.markupTypes = markupTypes;
54             this.groupID = groupID;
55             this.description = description;
56             this.shortTitle = shortTitle;
57             this.title = title;
58             this.displayName = displayName;
59             this.keywords = keywords;
60             this.userCategories = userCategories;
61             this.userProfileItems = userProfileItems;
62             this.usesMethodGet = usesMethodGet;
63             this.defaultMarkupSecure = defaultMarkupSecure;
64             this.onlySecure = onlySecure;
65             this.userContextStoredInSession = userContextStoredInSession;
66             this.templatesStoredInSession = templatesStoredInSession;
67             this.hasUserSpecificState = hasUserSpecificState;
68             this.doesUrlTemplateProcessing = doesUrlTemplateProcessing;
69             this.extensions = extensions;
70      }
71  
72  
73      /**
74       * Gets the portletHandle value for this PortletDescription.
75       * 
76       * @return portletHandle
77       */
78      public java.lang.String getPortletHandle() {
79          return portletHandle;
80      }
81  
82  
83      /**
84       * Sets the portletHandle value for this PortletDescription.
85       * 
86       * @param portletHandle
87       */
88      public void setPortletHandle(java.lang.String portletHandle) {
89          this.portletHandle = portletHandle;
90      }
91  
92  
93      /**
94       * Gets the markupTypes value for this PortletDescription.
95       * 
96       * @return markupTypes
97       */
98      public oasis.names.tc.wsrp.v1.types.MarkupType[] getMarkupTypes() {
99          return markupTypes;
100     }
101 
102 
103     /**
104      * Sets the markupTypes value for this PortletDescription.
105      * 
106      * @param markupTypes
107      */
108     public void setMarkupTypes(oasis.names.tc.wsrp.v1.types.MarkupType[] markupTypes) {
109         this.markupTypes = markupTypes;
110     }
111 
112     public oasis.names.tc.wsrp.v1.types.MarkupType getMarkupTypes(int i) {
113         return this.markupTypes[i];
114     }
115 
116     public void setMarkupTypes(int i, oasis.names.tc.wsrp.v1.types.MarkupType _value) {
117         this.markupTypes[i] = _value;
118     }
119 
120 
121     /**
122      * Gets the groupID value for this PortletDescription.
123      * 
124      * @return groupID
125      */
126     public java.lang.String getGroupID() {
127         return groupID;
128     }
129 
130 
131     /**
132      * Sets the groupID value for this PortletDescription.
133      * 
134      * @param groupID
135      */
136     public void setGroupID(java.lang.String groupID) {
137         this.groupID = groupID;
138     }
139 
140 
141     /**
142      * Gets the description value for this PortletDescription.
143      * 
144      * @return description
145      */
146     public oasis.names.tc.wsrp.v1.types.LocalizedString getDescription() {
147         return description;
148     }
149 
150 
151     /**
152      * Sets the description value for this PortletDescription.
153      * 
154      * @param description
155      */
156     public void setDescription(oasis.names.tc.wsrp.v1.types.LocalizedString description) {
157         this.description = description;
158     }
159 
160 
161     /**
162      * Gets the shortTitle value for this PortletDescription.
163      * 
164      * @return shortTitle
165      */
166     public oasis.names.tc.wsrp.v1.types.LocalizedString getShortTitle() {
167         return shortTitle;
168     }
169 
170 
171     /**
172      * Sets the shortTitle value for this PortletDescription.
173      * 
174      * @param shortTitle
175      */
176     public void setShortTitle(oasis.names.tc.wsrp.v1.types.LocalizedString shortTitle) {
177         this.shortTitle = shortTitle;
178     }
179 
180 
181     /**
182      * Gets the title value for this PortletDescription.
183      * 
184      * @return title
185      */
186     public oasis.names.tc.wsrp.v1.types.LocalizedString getTitle() {
187         return title;
188     }
189 
190 
191     /**
192      * Sets the title value for this PortletDescription.
193      * 
194      * @param title
195      */
196     public void setTitle(oasis.names.tc.wsrp.v1.types.LocalizedString title) {
197         this.title = title;
198     }
199 
200 
201     /**
202      * Gets the displayName value for this PortletDescription.
203      * 
204      * @return displayName
205      */
206     public oasis.names.tc.wsrp.v1.types.LocalizedString getDisplayName() {
207         return displayName;
208     }
209 
210 
211     /**
212      * Sets the displayName value for this PortletDescription.
213      * 
214      * @param displayName
215      */
216     public void setDisplayName(oasis.names.tc.wsrp.v1.types.LocalizedString displayName) {
217         this.displayName = displayName;
218     }
219 
220 
221     /**
222      * Gets the keywords value for this PortletDescription.
223      * 
224      * @return keywords
225      */
226     public oasis.names.tc.wsrp.v1.types.LocalizedString[] getKeywords() {
227         return keywords;
228     }
229 
230 
231     /**
232      * Sets the keywords value for this PortletDescription.
233      * 
234      * @param keywords
235      */
236     public void setKeywords(oasis.names.tc.wsrp.v1.types.LocalizedString[] keywords) {
237         this.keywords = keywords;
238     }
239 
240     public oasis.names.tc.wsrp.v1.types.LocalizedString getKeywords(int i) {
241         return this.keywords[i];
242     }
243 
244     public void setKeywords(int i, oasis.names.tc.wsrp.v1.types.LocalizedString _value) {
245         this.keywords[i] = _value;
246     }
247 
248 
249     /**
250      * Gets the userCategories value for this PortletDescription.
251      * 
252      * @return userCategories
253      */
254     public java.lang.String[] getUserCategories() {
255         return userCategories;
256     }
257 
258 
259     /**
260      * Sets the userCategories value for this PortletDescription.
261      * 
262      * @param userCategories
263      */
264     public void setUserCategories(java.lang.String[] userCategories) {
265         this.userCategories = userCategories;
266     }
267 
268     public java.lang.String getUserCategories(int i) {
269         return this.userCategories[i];
270     }
271 
272     public void setUserCategories(int i, java.lang.String _value) {
273         this.userCategories[i] = _value;
274     }
275 
276 
277     /**
278      * Gets the userProfileItems value for this PortletDescription.
279      * 
280      * @return userProfileItems
281      */
282     public java.lang.String[] getUserProfileItems() {
283         return userProfileItems;
284     }
285 
286 
287     /**
288      * Sets the userProfileItems value for this PortletDescription.
289      * 
290      * @param userProfileItems
291      */
292     public void setUserProfileItems(java.lang.String[] userProfileItems) {
293         this.userProfileItems = userProfileItems;
294     }
295 
296     public java.lang.String getUserProfileItems(int i) {
297         return this.userProfileItems[i];
298     }
299 
300     public void setUserProfileItems(int i, java.lang.String _value) {
301         this.userProfileItems[i] = _value;
302     }
303 
304 
305     /**
306      * Gets the usesMethodGet value for this PortletDescription.
307      * 
308      * @return usesMethodGet
309      */
310     public java.lang.Boolean getUsesMethodGet() {
311         return usesMethodGet;
312     }
313 
314 
315     /**
316      * Sets the usesMethodGet value for this PortletDescription.
317      * 
318      * @param usesMethodGet
319      */
320     public void setUsesMethodGet(java.lang.Boolean usesMethodGet) {
321         this.usesMethodGet = usesMethodGet;
322     }
323 
324 
325     /**
326      * Gets the defaultMarkupSecure value for this PortletDescription.
327      * 
328      * @return defaultMarkupSecure
329      */
330     public java.lang.Boolean getDefaultMarkupSecure() {
331         return defaultMarkupSecure;
332     }
333 
334 
335     /**
336      * Sets the defaultMarkupSecure value for this PortletDescription.
337      * 
338      * @param defaultMarkupSecure
339      */
340     public void setDefaultMarkupSecure(java.lang.Boolean defaultMarkupSecure) {
341         this.defaultMarkupSecure = defaultMarkupSecure;
342     }
343 
344 
345     /**
346      * Gets the onlySecure value for this PortletDescription.
347      * 
348      * @return onlySecure
349      */
350     public java.lang.Boolean getOnlySecure() {
351         return onlySecure;
352     }
353 
354 
355     /**
356      * Sets the onlySecure value for this PortletDescription.
357      * 
358      * @param onlySecure
359      */
360     public void setOnlySecure(java.lang.Boolean onlySecure) {
361         this.onlySecure = onlySecure;
362     }
363 
364 
365     /**
366      * Gets the userContextStoredInSession value for this PortletDescription.
367      * 
368      * @return userContextStoredInSession
369      */
370     public java.lang.Boolean getUserContextStoredInSession() {
371         return userContextStoredInSession;
372     }
373 
374 
375     /**
376      * Sets the userContextStoredInSession value for this PortletDescription.
377      * 
378      * @param userContextStoredInSession
379      */
380     public void setUserContextStoredInSession(java.lang.Boolean userContextStoredInSession) {
381         this.userContextStoredInSession = userContextStoredInSession;
382     }
383 
384 
385     /**
386      * Gets the templatesStoredInSession value for this PortletDescription.
387      * 
388      * @return templatesStoredInSession
389      */
390     public java.lang.Boolean getTemplatesStoredInSession() {
391         return templatesStoredInSession;
392     }
393 
394 
395     /**
396      * Sets the templatesStoredInSession value for this PortletDescription.
397      * 
398      * @param templatesStoredInSession
399      */
400     public void setTemplatesStoredInSession(java.lang.Boolean templatesStoredInSession) {
401         this.templatesStoredInSession = templatesStoredInSession;
402     }
403 
404 
405     /**
406      * Gets the hasUserSpecificState value for this PortletDescription.
407      * 
408      * @return hasUserSpecificState
409      */
410     public java.lang.Boolean getHasUserSpecificState() {
411         return hasUserSpecificState;
412     }
413 
414 
415     /**
416      * Sets the hasUserSpecificState value for this PortletDescription.
417      * 
418      * @param hasUserSpecificState
419      */
420     public void setHasUserSpecificState(java.lang.Boolean hasUserSpecificState) {
421         this.hasUserSpecificState = hasUserSpecificState;
422     }
423 
424 
425     /**
426      * Gets the doesUrlTemplateProcessing value for this PortletDescription.
427      * 
428      * @return doesUrlTemplateProcessing
429      */
430     public java.lang.Boolean getDoesUrlTemplateProcessing() {
431         return doesUrlTemplateProcessing;
432     }
433 
434 
435     /**
436      * Sets the doesUrlTemplateProcessing value for this PortletDescription.
437      * 
438      * @param doesUrlTemplateProcessing
439      */
440     public void setDoesUrlTemplateProcessing(java.lang.Boolean doesUrlTemplateProcessing) {
441         this.doesUrlTemplateProcessing = doesUrlTemplateProcessing;
442     }
443 
444 
445     /**
446      * Gets the extensions value for this PortletDescription.
447      * 
448      * @return extensions
449      */
450     public oasis.names.tc.wsrp.v1.types.Extension[] getExtensions() {
451         return extensions;
452     }
453 
454 
455     /**
456      * Sets the extensions value for this PortletDescription.
457      * 
458      * @param extensions
459      */
460     public void setExtensions(oasis.names.tc.wsrp.v1.types.Extension[] extensions) {
461         this.extensions = extensions;
462     }
463 
464     public oasis.names.tc.wsrp.v1.types.Extension getExtensions(int i) {
465         return this.extensions[i];
466     }
467 
468     public void setExtensions(int i, oasis.names.tc.wsrp.v1.types.Extension _value) {
469         this.extensions[i] = _value;
470     }
471 
472     private java.lang.Object __equalsCalc = null;
473     public synchronized boolean equals(java.lang.Object obj) {
474         if (!(obj instanceof PortletDescription)) return false;
475         PortletDescription other = (PortletDescription) obj;
476         if (obj == null) return false;
477         if (this == obj) return true;
478         if (__equalsCalc != null) {
479             return (__equalsCalc == obj);
480         }
481         __equalsCalc = obj;
482         boolean _equals;
483         _equals = true && 
484             ((this.portletHandle==null && other.getPortletHandle()==null) || 
485              (this.portletHandle!=null &&
486               this.portletHandle.equals(other.getPortletHandle()))) &&
487             ((this.markupTypes==null && other.getMarkupTypes()==null) || 
488              (this.markupTypes!=null &&
489               java.util.Arrays.equals(this.markupTypes, other.getMarkupTypes()))) &&
490             ((this.groupID==null && other.getGroupID()==null) || 
491              (this.groupID!=null &&
492               this.groupID.equals(other.getGroupID()))) &&
493             ((this.description==null && other.getDescription()==null) || 
494              (this.description!=null &&
495               this.description.equals(other.getDescription()))) &&
496             ((this.shortTitle==null && other.getShortTitle()==null) || 
497              (this.shortTitle!=null &&
498               this.shortTitle.equals(other.getShortTitle()))) &&
499             ((this.title==null && other.getTitle()==null) || 
500              (this.title!=null &&
501               this.title.equals(other.getTitle()))) &&
502             ((this.displayName==null && other.getDisplayName()==null) || 
503              (this.displayName!=null &&
504               this.displayName.equals(other.getDisplayName()))) &&
505             ((this.keywords==null && other.getKeywords()==null) || 
506              (this.keywords!=null &&
507               java.util.Arrays.equals(this.keywords, other.getKeywords()))) &&
508             ((this.userCategories==null && other.getUserCategories()==null) || 
509              (this.userCategories!=null &&
510               java.util.Arrays.equals(this.userCategories, other.getUserCategories()))) &&
511             ((this.userProfileItems==null && other.getUserProfileItems()==null) || 
512              (this.userProfileItems!=null &&
513               java.util.Arrays.equals(this.userProfileItems, other.getUserProfileItems()))) &&
514             ((this.usesMethodGet==null && other.getUsesMethodGet()==null) || 
515              (this.usesMethodGet!=null &&
516               this.usesMethodGet.equals(other.getUsesMethodGet()))) &&
517             ((this.defaultMarkupSecure==null && other.getDefaultMarkupSecure()==null) || 
518              (this.defaultMarkupSecure!=null &&
519               this.defaultMarkupSecure.equals(other.getDefaultMarkupSecure()))) &&
520             ((this.onlySecure==null && other.getOnlySecure()==null) || 
521              (this.onlySecure!=null &&
522               this.onlySecure.equals(other.getOnlySecure()))) &&
523             ((this.userContextStoredInSession==null && other.getUserContextStoredInSession()==null) || 
524              (this.userContextStoredInSession!=null &&
525               this.userContextStoredInSession.equals(other.getUserContextStoredInSession()))) &&
526             ((this.templatesStoredInSession==null && other.getTemplatesStoredInSession()==null) || 
527              (this.templatesStoredInSession!=null &&
528               this.templatesStoredInSession.equals(other.getTemplatesStoredInSession()))) &&
529             ((this.hasUserSpecificState==null && other.getHasUserSpecificState()==null) || 
530              (this.hasUserSpecificState!=null &&
531               this.hasUserSpecificState.equals(other.getHasUserSpecificState()))) &&
532             ((this.doesUrlTemplateProcessing==null && other.getDoesUrlTemplateProcessing()==null) || 
533              (this.doesUrlTemplateProcessing!=null &&
534               this.doesUrlTemplateProcessing.equals(other.getDoesUrlTemplateProcessing()))) &&
535             ((this.extensions==null && other.getExtensions()==null) || 
536              (this.extensions!=null &&
537               java.util.Arrays.equals(this.extensions, other.getExtensions())));
538         __equalsCalc = null;
539         return _equals;
540     }
541 
542     private boolean __hashCodeCalc = false;
543     public synchronized int hashCode() {
544         if (__hashCodeCalc) {
545             return 0;
546         }
547         __hashCodeCalc = true;
548         int _hashCode = 1;
549         if (getPortletHandle() != null) {
550             _hashCode += getPortletHandle().hashCode();
551         }
552         if (getMarkupTypes() != null) {
553             for (int i=0;
554                  i<java.lang.reflect.Array.getLength(getMarkupTypes());
555                  i++) {
556                 java.lang.Object obj = java.lang.reflect.Array.get(getMarkupTypes(), i);
557                 if (obj != null &&
558                     !obj.getClass().isArray()) {
559                     _hashCode += obj.hashCode();
560                 }
561             }
562         }
563         if (getGroupID() != null) {
564             _hashCode += getGroupID().hashCode();
565         }
566         if (getDescription() != null) {
567             _hashCode += getDescription().hashCode();
568         }
569         if (getShortTitle() != null) {
570             _hashCode += getShortTitle().hashCode();
571         }
572         if (getTitle() != null) {
573             _hashCode += getTitle().hashCode();
574         }
575         if (getDisplayName() != null) {
576             _hashCode += getDisplayName().hashCode();
577         }
578         if (getKeywords() != null) {
579             for (int i=0;
580                  i<java.lang.reflect.Array.getLength(getKeywords());
581                  i++) {
582                 java.lang.Object obj = java.lang.reflect.Array.get(getKeywords(), i);
583                 if (obj != null &&
584                     !obj.getClass().isArray()) {
585                     _hashCode += obj.hashCode();
586                 }
587             }
588         }
589         if (getUserCategories() != null) {
590             for (int i=0;
591                  i<java.lang.reflect.Array.getLength(getUserCategories());
592                  i++) {
593                 java.lang.Object obj = java.lang.reflect.Array.get(getUserCategories(), i);
594                 if (obj != null &&
595                     !obj.getClass().isArray()) {
596                     _hashCode += obj.hashCode();
597                 }
598             }
599         }
600         if (getUserProfileItems() != null) {
601             for (int i=0;
602                  i<java.lang.reflect.Array.getLength(getUserProfileItems());
603                  i++) {
604                 java.lang.Object obj = java.lang.reflect.Array.get(getUserProfileItems(), i);
605                 if (obj != null &&
606                     !obj.getClass().isArray()) {
607                     _hashCode += obj.hashCode();
608                 }
609             }
610         }
611         if (getUsesMethodGet() != null) {
612             _hashCode += getUsesMethodGet().hashCode();
613         }
614         if (getDefaultMarkupSecure() != null) {
615             _hashCode += getDefaultMarkupSecure().hashCode();
616         }
617         if (getOnlySecure() != null) {
618             _hashCode += getOnlySecure().hashCode();
619         }
620         if (getUserContextStoredInSession() != null) {
621             _hashCode += getUserContextStoredInSession().hashCode();
622         }
623         if (getTemplatesStoredInSession() != null) {
624             _hashCode += getTemplatesStoredInSession().hashCode();
625         }
626         if (getHasUserSpecificState() != null) {
627             _hashCode += getHasUserSpecificState().hashCode();
628         }
629         if (getDoesUrlTemplateProcessing() != null) {
630             _hashCode += getDoesUrlTemplateProcessing().hashCode();
631         }
632         if (getExtensions() != null) {
633             for (int i=0;
634                  i<java.lang.reflect.Array.getLength(getExtensions());
635                  i++) {
636                 java.lang.Object obj = java.lang.reflect.Array.get(getExtensions(), i);
637                 if (obj != null &&
638                     !obj.getClass().isArray()) {
639                     _hashCode += obj.hashCode();
640                 }
641             }
642         }
643         __hashCodeCalc = false;
644         return _hashCode;
645     }
646 
647     // Type metadata
648     private static org.apache.axis.description.TypeDesc typeDesc =
649         new org.apache.axis.description.TypeDesc(PortletDescription.class, true);
650 
651     static {
652         typeDesc.setXmlType(new javax.xml.namespace.QName("urn:oasis:names:tc:wsrp:v1:types", "PortletDescription"));
653         org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
654         elemField.setFieldName("portletHandle");
655         elemField.setXmlName(new javax.xml.namespace.QName("urn:oasis:names:tc:wsrp:v1:types", "portletHandle"));
656         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
657         typeDesc.addFieldDesc(elemField);
658         elemField = new org.apache.axis.description.ElementDesc();
659         elemField.setFieldName("markupTypes");
660         elemField.setXmlName(new javax.xml.namespace.QName("urn:oasis:names:tc:wsrp:v1:types", "markupTypes"));
661         elemField.setXmlType(new javax.xml.namespace.QName("urn:oasis:names:tc:wsrp:v1:types", "MarkupType"));
662         typeDesc.addFieldDesc(elemField);
663         elemField = new org.apache.axis.description.ElementDesc();
664         elemField.setFieldName("groupID");
665         elemField.setXmlName(new javax.xml.namespace.QName("urn:oasis:names:tc:wsrp:v1:types", "groupID"));
666         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
667         elemField.setMinOccurs(0);
668         typeDesc.addFieldDesc(elemField);
669         elemField = new org.apache.axis.description.ElementDesc();
670         elemField.setFieldName("description");
671         elemField.setXmlName(new javax.xml.namespace.QName("urn:oasis:names:tc:wsrp:v1:types", "description"));
672         elemField.setXmlType(new javax.xml.namespace.QName("urn:oasis:names:tc:wsrp:v1:types", "LocalizedString"));
673         elemField.setMinOccurs(0);
674         typeDesc.addFieldDesc(elemField);
675         elemField = new org.apache.axis.description.ElementDesc();
676         elemField.setFieldName("shortTitle");
677         elemField.setXmlName(new javax.xml.namespace.QName("urn:oasis:names:tc:wsrp:v1:types", "shortTitle"));
678         elemField.setXmlType(new javax.xml.namespace.QName("urn:oasis:names:tc:wsrp:v1:types", "LocalizedString"));
679         elemField.setMinOccurs(0);
680         typeDesc.addFieldDesc(elemField);
681         elemField = new org.apache.axis.description.ElementDesc();
682         elemField.setFieldName("title");
683         elemField.setXmlName(new javax.xml.namespace.QName("urn:oasis:names:tc:wsrp:v1:types", "title"));
684         elemField.setXmlType(new javax.xml.namespace.QName("urn:oasis:names:tc:wsrp:v1:types", "LocalizedString"));
685         elemField.setMinOccurs(0);
686         typeDesc.addFieldDesc(elemField);
687         elemField = new org.apache.axis.description.ElementDesc();
688         elemField.setFieldName("displayName");
689         elemField.setXmlName(new javax.xml.namespace.QName("urn:oasis:names:tc:wsrp:v1:types", "displayName"));
690         elemField.setXmlType(new javax.xml.namespace.QName("urn:oasis:names:tc:wsrp:v1:types", "LocalizedString"));
691         elemField.setMinOccurs(0);
692         typeDesc.addFieldDesc(elemField);
693         elemField = new org.apache.axis.description.ElementDesc();
694         elemField.setFieldName("keywords");
695         elemField.setXmlName(new javax.xml.namespace.QName("urn:oasis:names:tc:wsrp:v1:types", "keywords"));
696         elemField.setXmlType(new javax.xml.namespace.QName("urn:oasis:names:tc:wsrp:v1:types", "LocalizedString"));
697         elemField.setMinOccurs(0);
698         typeDesc.addFieldDesc(elemField);
699         elemField = new org.apache.axis.description.ElementDesc();
700         elemField.setFieldName("userCategories");
701         elemField.setXmlName(new javax.xml.namespace.QName("urn:oasis:names:tc:wsrp:v1:types", "userCategories"));
702         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
703         elemField.setMinOccurs(0);
704         typeDesc.addFieldDesc(elemField);
705         elemField = new org.apache.axis.description.ElementDesc();
706         elemField.setFieldName("userProfileItems");
707         elemField.setXmlName(new javax.xml.namespace.QName("urn:oasis:names:tc:wsrp:v1:types", "userProfileItems"));
708         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
709         elemField.setMinOccurs(0);
710         typeDesc.addFieldDesc(elemField);
711         elemField = new org.apache.axis.description.ElementDesc();
712         elemField.setFieldName("usesMethodGet");
713         elemField.setXmlName(new javax.xml.namespace.QName("urn:oasis:names:tc:wsrp:v1:types", "usesMethodGet"));
714         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean"));
715         elemField.setMinOccurs(0);
716         typeDesc.addFieldDesc(elemField);
717         elemField = new org.apache.axis.description.ElementDesc();
718         elemField.setFieldName("defaultMarkupSecure");
719         elemField.setXmlName(new javax.xml.namespace.QName("urn:oasis:names:tc:wsrp:v1:types", "defaultMarkupSecure"));
720         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean"));
721         elemField.setMinOccurs(0);
722         typeDesc.addFieldDesc(elemField);
723         elemField = new org.apache.axis.description.ElementDesc();
724         elemField.setFieldName("onlySecure");
725         elemField.setXmlName(new javax.xml.namespace.QName("urn:oasis:names:tc:wsrp:v1:types", "onlySecure"));
726         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean"));
727         elemField.setMinOccurs(0);
728         typeDesc.addFieldDesc(elemField);
729         elemField = new org.apache.axis.description.ElementDesc();
730         elemField.setFieldName("userContextStoredInSession");
731         elemField.setXmlName(new javax.xml.namespace.QName("urn:oasis:names:tc:wsrp:v1:types", "userContextStoredInSession"));
732         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean"));
733         elemField.setMinOccurs(0);
734         typeDesc.addFieldDesc(elemField);
735         elemField = new org.apache.axis.description.ElementDesc();
736         elemField.setFieldName("templatesStoredInSession");
737         elemField.setXmlName(new javax.xml.namespace.QName("urn:oasis:names:tc:wsrp:v1:types", "templatesStoredInSession"));
738         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean"));
739         elemField.setMinOccurs(0);
740         typeDesc.addFieldDesc(elemField);
741         elemField = new org.apache.axis.description.ElementDesc();
742         elemField.setFieldName("hasUserSpecificState");
743         elemField.setXmlName(new javax.xml.namespace.QName("urn:oasis:names:tc:wsrp:v1:types", "hasUserSpecificState"));
744         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean"));
745         elemField.setMinOccurs(0);
746         typeDesc.addFieldDesc(elemField);
747         elemField = new org.apache.axis.description.ElementDesc();
748         elemField.setFieldName("doesUrlTemplateProcessing");
749         elemField.setXmlName(new javax.xml.namespace.QName("urn:oasis:names:tc:wsrp:v1:types", "doesUrlTemplateProcessing"));
750         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean"));
751         elemField.setMinOccurs(0);
752         typeDesc.addFieldDesc(elemField);
753         elemField = new org.apache.axis.description.ElementDesc();
754         elemField.setFieldName("extensions");
755         elemField.setXmlName(new javax.xml.namespace.QName("urn:oasis:names:tc:wsrp:v1:types", "extensions"));
756         elemField.setXmlType(new javax.xml.namespace.QName("urn:oasis:names:tc:wsrp:v1:types", "Extension"));
757         elemField.setMinOccurs(0);
758         typeDesc.addFieldDesc(elemField);
759     }
760 
761     /**
762      * Return type metadata object
763      */
764     public static org.apache.axis.description.TypeDesc getTypeDesc() {
765         return typeDesc;
766     }
767 
768     /**
769      * Get Custom Serializer
770      */
771     public static org.apache.axis.encoding.Serializer getSerializer(
772            java.lang.String mechType, 
773            java.lang.Class _javaType,  
774            javax.xml.namespace.QName _xmlType) {
775         return 
776           new  org.apache.axis.encoding.ser.BeanSerializer(
777             _javaType, _xmlType, typeDesc);
778     }
779 
780     /**
781      * Get Custom Deserializer
782      */
783     public static org.apache.axis.encoding.Deserializer getDeserializer(
784            java.lang.String mechType, 
785            java.lang.Class _javaType,  
786            javax.xml.namespace.QName _xmlType) {
787         return 
788           new  org.apache.axis.encoding.ser.BeanDeserializer(
789             _javaType, _xmlType, typeDesc);
790     }
791 
792 }
793