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