Source Code Cross Referenced for ServiceDescription.java in  » Portal » liferay-portal-4.4.2 » oasis » names » tc » wsrp » v1 » types » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Portal » liferay portal 4.4.2 » oasis.names.tc.wsrp.v1.types 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        /**
002:         * ServiceDescription.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 ServiceDescription implements  java.io.Serializable {
009:            private boolean requiresRegistration;
010:            private oasis.names.tc.wsrp.v1.types.PortletDescription[] offeredPortlets;
011:            private oasis.names.tc.wsrp.v1.types.ItemDescription[] userCategoryDescriptions;
012:            private oasis.names.tc.wsrp.v1.types.ItemDescription[] customUserProfileItemDescriptions;
013:            private oasis.names.tc.wsrp.v1.types.ItemDescription[] customWindowStateDescriptions;
014:            private oasis.names.tc.wsrp.v1.types.ItemDescription[] customModeDescriptions;
015:            private oasis.names.tc.wsrp.v1.types.CookieProtocol requiresInitCookie;
016:            private oasis.names.tc.wsrp.v1.types.ModelDescription registrationPropertyDescription;
017:            private java.lang.String[] locales;
018:            private oasis.names.tc.wsrp.v1.types.ResourceList resourceList;
019:            private oasis.names.tc.wsrp.v1.types.Extension[] extensions;
020:
021:            public ServiceDescription() {
022:            }
023:
024:            public ServiceDescription(
025:                    oasis.names.tc.wsrp.v1.types.ItemDescription[] customModeDescriptions,
026:                    oasis.names.tc.wsrp.v1.types.ItemDescription[] customUserProfileItemDescriptions,
027:                    oasis.names.tc.wsrp.v1.types.ItemDescription[] customWindowStateDescriptions,
028:                    oasis.names.tc.wsrp.v1.types.Extension[] extensions,
029:                    java.lang.String[] locales,
030:                    oasis.names.tc.wsrp.v1.types.PortletDescription[] offeredPortlets,
031:                    oasis.names.tc.wsrp.v1.types.ModelDescription registrationPropertyDescription,
032:                    oasis.names.tc.wsrp.v1.types.CookieProtocol requiresInitCookie,
033:                    boolean requiresRegistration,
034:                    oasis.names.tc.wsrp.v1.types.ResourceList resourceList,
035:                    oasis.names.tc.wsrp.v1.types.ItemDescription[] userCategoryDescriptions) {
036:                this .requiresRegistration = requiresRegistration;
037:                this .offeredPortlets = offeredPortlets;
038:                this .userCategoryDescriptions = userCategoryDescriptions;
039:                this .customUserProfileItemDescriptions = customUserProfileItemDescriptions;
040:                this .customWindowStateDescriptions = customWindowStateDescriptions;
041:                this .customModeDescriptions = customModeDescriptions;
042:                this .requiresInitCookie = requiresInitCookie;
043:                this .registrationPropertyDescription = registrationPropertyDescription;
044:                this .locales = locales;
045:                this .resourceList = resourceList;
046:                this .extensions = extensions;
047:            }
048:
049:            /**
050:             * Gets the requiresRegistration value for this ServiceDescription.
051:             * 
052:             * @return requiresRegistration
053:             */
054:            public boolean isRequiresRegistration() {
055:                return requiresRegistration;
056:            }
057:
058:            /**
059:             * Sets the requiresRegistration value for this ServiceDescription.
060:             * 
061:             * @param requiresRegistration
062:             */
063:            public void setRequiresRegistration(boolean requiresRegistration) {
064:                this .requiresRegistration = requiresRegistration;
065:            }
066:
067:            /**
068:             * Gets the offeredPortlets value for this ServiceDescription.
069:             * 
070:             * @return offeredPortlets
071:             */
072:            public oasis.names.tc.wsrp.v1.types.PortletDescription[] getOfferedPortlets() {
073:                return offeredPortlets;
074:            }
075:
076:            /**
077:             * Sets the offeredPortlets value for this ServiceDescription.
078:             * 
079:             * @param offeredPortlets
080:             */
081:            public void setOfferedPortlets(
082:                    oasis.names.tc.wsrp.v1.types.PortletDescription[] offeredPortlets) {
083:                this .offeredPortlets = offeredPortlets;
084:            }
085:
086:            public oasis.names.tc.wsrp.v1.types.PortletDescription getOfferedPortlets(
087:                    int i) {
088:                return this .offeredPortlets[i];
089:            }
090:
091:            public void setOfferedPortlets(int i,
092:                    oasis.names.tc.wsrp.v1.types.PortletDescription _value) {
093:                this .offeredPortlets[i] = _value;
094:            }
095:
096:            /**
097:             * Gets the userCategoryDescriptions value for this ServiceDescription.
098:             * 
099:             * @return userCategoryDescriptions
100:             */
101:            public oasis.names.tc.wsrp.v1.types.ItemDescription[] getUserCategoryDescriptions() {
102:                return userCategoryDescriptions;
103:            }
104:
105:            /**
106:             * Sets the userCategoryDescriptions value for this ServiceDescription.
107:             * 
108:             * @param userCategoryDescriptions
109:             */
110:            public void setUserCategoryDescriptions(
111:                    oasis.names.tc.wsrp.v1.types.ItemDescription[] userCategoryDescriptions) {
112:                this .userCategoryDescriptions = userCategoryDescriptions;
113:            }
114:
115:            public oasis.names.tc.wsrp.v1.types.ItemDescription getUserCategoryDescriptions(
116:                    int i) {
117:                return this .userCategoryDescriptions[i];
118:            }
119:
120:            public void setUserCategoryDescriptions(int i,
121:                    oasis.names.tc.wsrp.v1.types.ItemDescription _value) {
122:                this .userCategoryDescriptions[i] = _value;
123:            }
124:
125:            /**
126:             * Gets the customUserProfileItemDescriptions value for this ServiceDescription.
127:             * 
128:             * @return customUserProfileItemDescriptions
129:             */
130:            public oasis.names.tc.wsrp.v1.types.ItemDescription[] getCustomUserProfileItemDescriptions() {
131:                return customUserProfileItemDescriptions;
132:            }
133:
134:            /**
135:             * Sets the customUserProfileItemDescriptions value for this ServiceDescription.
136:             * 
137:             * @param customUserProfileItemDescriptions
138:             */
139:            public void setCustomUserProfileItemDescriptions(
140:                    oasis.names.tc.wsrp.v1.types.ItemDescription[] customUserProfileItemDescriptions) {
141:                this .customUserProfileItemDescriptions = customUserProfileItemDescriptions;
142:            }
143:
144:            public oasis.names.tc.wsrp.v1.types.ItemDescription getCustomUserProfileItemDescriptions(
145:                    int i) {
146:                return this .customUserProfileItemDescriptions[i];
147:            }
148:
149:            public void setCustomUserProfileItemDescriptions(int i,
150:                    oasis.names.tc.wsrp.v1.types.ItemDescription _value) {
151:                this .customUserProfileItemDescriptions[i] = _value;
152:            }
153:
154:            /**
155:             * Gets the customWindowStateDescriptions value for this ServiceDescription.
156:             * 
157:             * @return customWindowStateDescriptions
158:             */
159:            public oasis.names.tc.wsrp.v1.types.ItemDescription[] getCustomWindowStateDescriptions() {
160:                return customWindowStateDescriptions;
161:            }
162:
163:            /**
164:             * Sets the customWindowStateDescriptions value for this ServiceDescription.
165:             * 
166:             * @param customWindowStateDescriptions
167:             */
168:            public void setCustomWindowStateDescriptions(
169:                    oasis.names.tc.wsrp.v1.types.ItemDescription[] customWindowStateDescriptions) {
170:                this .customWindowStateDescriptions = customWindowStateDescriptions;
171:            }
172:
173:            public oasis.names.tc.wsrp.v1.types.ItemDescription getCustomWindowStateDescriptions(
174:                    int i) {
175:                return this .customWindowStateDescriptions[i];
176:            }
177:
178:            public void setCustomWindowStateDescriptions(int i,
179:                    oasis.names.tc.wsrp.v1.types.ItemDescription _value) {
180:                this .customWindowStateDescriptions[i] = _value;
181:            }
182:
183:            /**
184:             * Gets the customModeDescriptions value for this ServiceDescription.
185:             * 
186:             * @return customModeDescriptions
187:             */
188:            public oasis.names.tc.wsrp.v1.types.ItemDescription[] getCustomModeDescriptions() {
189:                return customModeDescriptions;
190:            }
191:
192:            /**
193:             * Sets the customModeDescriptions value for this ServiceDescription.
194:             * 
195:             * @param customModeDescriptions
196:             */
197:            public void setCustomModeDescriptions(
198:                    oasis.names.tc.wsrp.v1.types.ItemDescription[] customModeDescriptions) {
199:                this .customModeDescriptions = customModeDescriptions;
200:            }
201:
202:            public oasis.names.tc.wsrp.v1.types.ItemDescription getCustomModeDescriptions(
203:                    int i) {
204:                return this .customModeDescriptions[i];
205:            }
206:
207:            public void setCustomModeDescriptions(int i,
208:                    oasis.names.tc.wsrp.v1.types.ItemDescription _value) {
209:                this .customModeDescriptions[i] = _value;
210:            }
211:
212:            /**
213:             * Gets the requiresInitCookie value for this ServiceDescription.
214:             * 
215:             * @return requiresInitCookie
216:             */
217:            public oasis.names.tc.wsrp.v1.types.CookieProtocol getRequiresInitCookie() {
218:                return requiresInitCookie;
219:            }
220:
221:            /**
222:             * Sets the requiresInitCookie value for this ServiceDescription.
223:             * 
224:             * @param requiresInitCookie
225:             */
226:            public void setRequiresInitCookie(
227:                    oasis.names.tc.wsrp.v1.types.CookieProtocol requiresInitCookie) {
228:                this .requiresInitCookie = requiresInitCookie;
229:            }
230:
231:            /**
232:             * Gets the registrationPropertyDescription value for this ServiceDescription.
233:             * 
234:             * @return registrationPropertyDescription
235:             */
236:            public oasis.names.tc.wsrp.v1.types.ModelDescription getRegistrationPropertyDescription() {
237:                return registrationPropertyDescription;
238:            }
239:
240:            /**
241:             * Sets the registrationPropertyDescription value for this ServiceDescription.
242:             * 
243:             * @param registrationPropertyDescription
244:             */
245:            public void setRegistrationPropertyDescription(
246:                    oasis.names.tc.wsrp.v1.types.ModelDescription registrationPropertyDescription) {
247:                this .registrationPropertyDescription = registrationPropertyDescription;
248:            }
249:
250:            /**
251:             * Gets the locales value for this ServiceDescription.
252:             * 
253:             * @return locales
254:             */
255:            public java.lang.String[] getLocales() {
256:                return locales;
257:            }
258:
259:            /**
260:             * Sets the locales value for this ServiceDescription.
261:             * 
262:             * @param locales
263:             */
264:            public void setLocales(java.lang.String[] locales) {
265:                this .locales = locales;
266:            }
267:
268:            public java.lang.String getLocales(int i) {
269:                return this .locales[i];
270:            }
271:
272:            public void setLocales(int i, java.lang.String _value) {
273:                this .locales[i] = _value;
274:            }
275:
276:            /**
277:             * Gets the resourceList value for this ServiceDescription.
278:             * 
279:             * @return resourceList
280:             */
281:            public oasis.names.tc.wsrp.v1.types.ResourceList getResourceList() {
282:                return resourceList;
283:            }
284:
285:            /**
286:             * Sets the resourceList value for this ServiceDescription.
287:             * 
288:             * @param resourceList
289:             */
290:            public void setResourceList(
291:                    oasis.names.tc.wsrp.v1.types.ResourceList resourceList) {
292:                this .resourceList = resourceList;
293:            }
294:
295:            /**
296:             * Gets the extensions value for this ServiceDescription.
297:             * 
298:             * @return extensions
299:             */
300:            public oasis.names.tc.wsrp.v1.types.Extension[] getExtensions() {
301:                return extensions;
302:            }
303:
304:            /**
305:             * Sets the extensions value for this ServiceDescription.
306:             * 
307:             * @param extensions
308:             */
309:            public void setExtensions(
310:                    oasis.names.tc.wsrp.v1.types.Extension[] extensions) {
311:                this .extensions = extensions;
312:            }
313:
314:            public oasis.names.tc.wsrp.v1.types.Extension getExtensions(int i) {
315:                return this .extensions[i];
316:            }
317:
318:            public void setExtensions(int i,
319:                    oasis.names.tc.wsrp.v1.types.Extension _value) {
320:                this .extensions[i] = _value;
321:            }
322:
323:            private java.lang.Object __equalsCalc = null;
324:
325:            public synchronized boolean equals(java.lang.Object obj) {
326:                if (!(obj instanceof  ServiceDescription))
327:                    return false;
328:                ServiceDescription other = (ServiceDescription) obj;
329:                if (obj == null)
330:                    return false;
331:                if (this  == obj)
332:                    return true;
333:                if (__equalsCalc != null) {
334:                    return (__equalsCalc == obj);
335:                }
336:                __equalsCalc = obj;
337:                boolean _equals;
338:                _equals = true
339:                        && this .requiresRegistration == other
340:                                .isRequiresRegistration()
341:                        && ((this .offeredPortlets == null && other
342:                                .getOfferedPortlets() == null) || (this .offeredPortlets != null && java.util.Arrays
343:                                .equals(this .offeredPortlets, other
344:                                        .getOfferedPortlets())))
345:                        && ((this .userCategoryDescriptions == null && other
346:                                .getUserCategoryDescriptions() == null) || (this .userCategoryDescriptions != null && java.util.Arrays
347:                                .equals(this .userCategoryDescriptions, other
348:                                        .getUserCategoryDescriptions())))
349:                        && ((this .customUserProfileItemDescriptions == null && other
350:                                .getCustomUserProfileItemDescriptions() == null) || (this .customUserProfileItemDescriptions != null && java.util.Arrays
351:                                .equals(
352:                                        this .customUserProfileItemDescriptions,
353:                                        other
354:                                                .getCustomUserProfileItemDescriptions())))
355:                        && ((this .customWindowStateDescriptions == null && other
356:                                .getCustomWindowStateDescriptions() == null) || (this .customWindowStateDescriptions != null && java.util.Arrays
357:                                .equals(
358:                                        this .customWindowStateDescriptions,
359:                                        other
360:                                                .getCustomWindowStateDescriptions())))
361:                        && ((this .customModeDescriptions == null && other
362:                                .getCustomModeDescriptions() == null) || (this .customModeDescriptions != null && java.util.Arrays
363:                                .equals(this .customModeDescriptions, other
364:                                        .getCustomModeDescriptions())))
365:                        && ((this .requiresInitCookie == null && other
366:                                .getRequiresInitCookie() == null) || (this .requiresInitCookie != null && this .requiresInitCookie
367:                                .equals(other.getRequiresInitCookie())))
368:                        && ((this .registrationPropertyDescription == null && other
369:                                .getRegistrationPropertyDescription() == null) || (this .registrationPropertyDescription != null && this .registrationPropertyDescription
370:                                .equals(other
371:                                        .getRegistrationPropertyDescription())))
372:                        && ((this .locales == null && other.getLocales() == null) || (this .locales != null && java.util.Arrays
373:                                .equals(this .locales, other.getLocales())))
374:                        && ((this .resourceList == null && other
375:                                .getResourceList() == null) || (this .resourceList != null && this .resourceList
376:                                .equals(other.getResourceList())))
377:                        && ((this .extensions == null && other.getExtensions() == null) || (this .extensions != null && java.util.Arrays
378:                                .equals(this .extensions, other.getExtensions())));
379:                __equalsCalc = null;
380:                return _equals;
381:            }
382:
383:            private boolean __hashCodeCalc = false;
384:
385:            public synchronized int hashCode() {
386:                if (__hashCodeCalc) {
387:                    return 0;
388:                }
389:                __hashCodeCalc = true;
390:                int _hashCode = 1;
391:                _hashCode += (isRequiresRegistration() ? Boolean.TRUE
392:                        : Boolean.FALSE).hashCode();
393:                if (getOfferedPortlets() != null) {
394:                    for (int i = 0; i < java.lang.reflect.Array
395:                            .getLength(getOfferedPortlets()); i++) {
396:                        java.lang.Object obj = java.lang.reflect.Array.get(
397:                                getOfferedPortlets(), i);
398:                        if (obj != null && !obj.getClass().isArray()) {
399:                            _hashCode += obj.hashCode();
400:                        }
401:                    }
402:                }
403:                if (getUserCategoryDescriptions() != null) {
404:                    for (int i = 0; i < java.lang.reflect.Array
405:                            .getLength(getUserCategoryDescriptions()); i++) {
406:                        java.lang.Object obj = java.lang.reflect.Array.get(
407:                                getUserCategoryDescriptions(), i);
408:                        if (obj != null && !obj.getClass().isArray()) {
409:                            _hashCode += obj.hashCode();
410:                        }
411:                    }
412:                }
413:                if (getCustomUserProfileItemDescriptions() != null) {
414:                    for (int i = 0; i < java.lang.reflect.Array
415:                            .getLength(getCustomUserProfileItemDescriptions()); i++) {
416:                        java.lang.Object obj = java.lang.reflect.Array.get(
417:                                getCustomUserProfileItemDescriptions(), i);
418:                        if (obj != null && !obj.getClass().isArray()) {
419:                            _hashCode += obj.hashCode();
420:                        }
421:                    }
422:                }
423:                if (getCustomWindowStateDescriptions() != null) {
424:                    for (int i = 0; i < java.lang.reflect.Array
425:                            .getLength(getCustomWindowStateDescriptions()); i++) {
426:                        java.lang.Object obj = java.lang.reflect.Array.get(
427:                                getCustomWindowStateDescriptions(), i);
428:                        if (obj != null && !obj.getClass().isArray()) {
429:                            _hashCode += obj.hashCode();
430:                        }
431:                    }
432:                }
433:                if (getCustomModeDescriptions() != null) {
434:                    for (int i = 0; i < java.lang.reflect.Array
435:                            .getLength(getCustomModeDescriptions()); i++) {
436:                        java.lang.Object obj = java.lang.reflect.Array.get(
437:                                getCustomModeDescriptions(), i);
438:                        if (obj != null && !obj.getClass().isArray()) {
439:                            _hashCode += obj.hashCode();
440:                        }
441:                    }
442:                }
443:                if (getRequiresInitCookie() != null) {
444:                    _hashCode += getRequiresInitCookie().hashCode();
445:                }
446:                if (getRegistrationPropertyDescription() != null) {
447:                    _hashCode += getRegistrationPropertyDescription()
448:                            .hashCode();
449:                }
450:                if (getLocales() != null) {
451:                    for (int i = 0; i < java.lang.reflect.Array
452:                            .getLength(getLocales()); i++) {
453:                        java.lang.Object obj = java.lang.reflect.Array.get(
454:                                getLocales(), i);
455:                        if (obj != null && !obj.getClass().isArray()) {
456:                            _hashCode += obj.hashCode();
457:                        }
458:                    }
459:                }
460:                if (getResourceList() != null) {
461:                    _hashCode += getResourceList().hashCode();
462:                }
463:                if (getExtensions() != null) {
464:                    for (int i = 0; i < java.lang.reflect.Array
465:                            .getLength(getExtensions()); i++) {
466:                        java.lang.Object obj = java.lang.reflect.Array.get(
467:                                getExtensions(), i);
468:                        if (obj != null && !obj.getClass().isArray()) {
469:                            _hashCode += obj.hashCode();
470:                        }
471:                    }
472:                }
473:                __hashCodeCalc = false;
474:                return _hashCode;
475:            }
476:
477:            // Type metadata
478:            private static org.apache.axis.description.TypeDesc typeDesc = new org.apache.axis.description.TypeDesc(
479:                    ServiceDescription.class, true);
480:
481:            static {
482:                typeDesc.setXmlType(new javax.xml.namespace.QName(
483:                        "urn:oasis:names:tc:wsrp:v1:types",
484:                        "ServiceDescription"));
485:                org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
486:                elemField.setFieldName("requiresRegistration");
487:                elemField.setXmlName(new javax.xml.namespace.QName(
488:                        "urn:oasis:names:tc:wsrp:v1:types",
489:                        "requiresRegistration"));
490:                elemField.setXmlType(new javax.xml.namespace.QName(
491:                        "http://www.w3.org/2001/XMLSchema", "boolean"));
492:                typeDesc.addFieldDesc(elemField);
493:                elemField = new org.apache.axis.description.ElementDesc();
494:                elemField.setFieldName("offeredPortlets");
495:                elemField.setXmlName(new javax.xml.namespace.QName(
496:                        "urn:oasis:names:tc:wsrp:v1:types", "offeredPortlets"));
497:                elemField.setXmlType(new javax.xml.namespace.QName(
498:                        "urn:oasis:names:tc:wsrp:v1:types",
499:                        "PortletDescription"));
500:                elemField.setMinOccurs(0);
501:                typeDesc.addFieldDesc(elemField);
502:                elemField = new org.apache.axis.description.ElementDesc();
503:                elemField.setFieldName("userCategoryDescriptions");
504:                elemField.setXmlName(new javax.xml.namespace.QName(
505:                        "urn:oasis:names:tc:wsrp:v1:types",
506:                        "userCategoryDescriptions"));
507:                elemField.setXmlType(new javax.xml.namespace.QName(
508:                        "urn:oasis:names:tc:wsrp:v1:types", "ItemDescription"));
509:                elemField.setMinOccurs(0);
510:                typeDesc.addFieldDesc(elemField);
511:                elemField = new org.apache.axis.description.ElementDesc();
512:                elemField.setFieldName("customUserProfileItemDescriptions");
513:                elemField.setXmlName(new javax.xml.namespace.QName(
514:                        "urn:oasis:names:tc:wsrp:v1:types",
515:                        "customUserProfileItemDescriptions"));
516:                elemField.setXmlType(new javax.xml.namespace.QName(
517:                        "urn:oasis:names:tc:wsrp:v1:types", "ItemDescription"));
518:                elemField.setMinOccurs(0);
519:                typeDesc.addFieldDesc(elemField);
520:                elemField = new org.apache.axis.description.ElementDesc();
521:                elemField.setFieldName("customWindowStateDescriptions");
522:                elemField.setXmlName(new javax.xml.namespace.QName(
523:                        "urn:oasis:names:tc:wsrp:v1:types",
524:                        "customWindowStateDescriptions"));
525:                elemField.setXmlType(new javax.xml.namespace.QName(
526:                        "urn:oasis:names:tc:wsrp:v1:types", "ItemDescription"));
527:                elemField.setMinOccurs(0);
528:                typeDesc.addFieldDesc(elemField);
529:                elemField = new org.apache.axis.description.ElementDesc();
530:                elemField.setFieldName("customModeDescriptions");
531:                elemField.setXmlName(new javax.xml.namespace.QName(
532:                        "urn:oasis:names:tc:wsrp:v1:types",
533:                        "customModeDescriptions"));
534:                elemField.setXmlType(new javax.xml.namespace.QName(
535:                        "urn:oasis:names:tc:wsrp:v1:types", "ItemDescription"));
536:                elemField.setMinOccurs(0);
537:                typeDesc.addFieldDesc(elemField);
538:                elemField = new org.apache.axis.description.ElementDesc();
539:                elemField.setFieldName("requiresInitCookie");
540:                elemField.setXmlName(new javax.xml.namespace.QName(
541:                        "urn:oasis:names:tc:wsrp:v1:types",
542:                        "requiresInitCookie"));
543:                elemField.setXmlType(new javax.xml.namespace.QName(
544:                        "urn:oasis:names:tc:wsrp:v1:types", "CookieProtocol"));
545:                elemField.setMinOccurs(0);
546:                typeDesc.addFieldDesc(elemField);
547:                elemField = new org.apache.axis.description.ElementDesc();
548:                elemField.setFieldName("registrationPropertyDescription");
549:                elemField.setXmlName(new javax.xml.namespace.QName(
550:                        "urn:oasis:names:tc:wsrp:v1:types",
551:                        "registrationPropertyDescription"));
552:                elemField
553:                        .setXmlType(new javax.xml.namespace.QName(
554:                                "urn:oasis:names:tc:wsrp:v1:types",
555:                                "ModelDescription"));
556:                elemField.setMinOccurs(0);
557:                typeDesc.addFieldDesc(elemField);
558:                elemField = new org.apache.axis.description.ElementDesc();
559:                elemField.setFieldName("locales");
560:                elemField.setXmlName(new javax.xml.namespace.QName(
561:                        "urn:oasis:names:tc:wsrp:v1:types", "locales"));
562:                elemField.setXmlType(new javax.xml.namespace.QName(
563:                        "http://www.w3.org/2001/XMLSchema", "string"));
564:                elemField.setMinOccurs(0);
565:                typeDesc.addFieldDesc(elemField);
566:                elemField = new org.apache.axis.description.ElementDesc();
567:                elemField.setFieldName("resourceList");
568:                elemField.setXmlName(new javax.xml.namespace.QName(
569:                        "urn:oasis:names:tc:wsrp:v1:types", "resourceList"));
570:                elemField.setXmlType(new javax.xml.namespace.QName(
571:                        "urn:oasis:names:tc:wsrp:v1:types", "ResourceList"));
572:                elemField.setMinOccurs(0);
573:                typeDesc.addFieldDesc(elemField);
574:                elemField = new org.apache.axis.description.ElementDesc();
575:                elemField.setFieldName("extensions");
576:                elemField.setXmlName(new javax.xml.namespace.QName(
577:                        "urn:oasis:names:tc:wsrp:v1:types", "extensions"));
578:                elemField.setXmlType(new javax.xml.namespace.QName(
579:                        "urn:oasis:names:tc:wsrp:v1:types", "Extension"));
580:                elemField.setMinOccurs(0);
581:                typeDesc.addFieldDesc(elemField);
582:            }
583:
584:            /**
585:             * Return type metadata object
586:             */
587:            public static org.apache.axis.description.TypeDesc getTypeDesc() {
588:                return typeDesc;
589:            }
590:
591:            /**
592:             * Get Custom Serializer
593:             */
594:            public static org.apache.axis.encoding.Serializer getSerializer(
595:                    java.lang.String mechType, java.lang.Class _javaType,
596:                    javax.xml.namespace.QName _xmlType) {
597:                return new org.apache.axis.encoding.ser.BeanSerializer(
598:                        _javaType, _xmlType, typeDesc);
599:            }
600:
601:            /**
602:             * Get Custom Deserializer
603:             */
604:            public static org.apache.axis.encoding.Deserializer getDeserializer(
605:                    java.lang.String mechType, java.lang.Class _javaType,
606:                    javax.xml.namespace.QName _xmlType) {
607:                return new org.apache.axis.encoding.ser.BeanDeserializer(
608:                        _javaType, _xmlType, typeDesc);
609:            }
610:
611:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.