Source Code Cross Referenced for GetPortletDescription.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:         * GetPortletDescription.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 GetPortletDescription implements  java.io.Serializable {
009:            private oasis.names.tc.wsrp.v1.types.RegistrationContext registrationContext;
010:            private oasis.names.tc.wsrp.v1.types.PortletContext portletContext;
011:            private oasis.names.tc.wsrp.v1.types.UserContext userContext;
012:            private java.lang.String[] desiredLocales;
013:
014:            public GetPortletDescription() {
015:            }
016:
017:            public GetPortletDescription(
018:                    java.lang.String[] desiredLocales,
019:                    oasis.names.tc.wsrp.v1.types.PortletContext portletContext,
020:                    oasis.names.tc.wsrp.v1.types.RegistrationContext registrationContext,
021:                    oasis.names.tc.wsrp.v1.types.UserContext userContext) {
022:                this .registrationContext = registrationContext;
023:                this .portletContext = portletContext;
024:                this .userContext = userContext;
025:                this .desiredLocales = desiredLocales;
026:            }
027:
028:            /**
029:             * Gets the registrationContext value for this GetPortletDescription.
030:             * 
031:             * @return registrationContext
032:             */
033:            public oasis.names.tc.wsrp.v1.types.RegistrationContext getRegistrationContext() {
034:                return registrationContext;
035:            }
036:
037:            /**
038:             * Sets the registrationContext value for this GetPortletDescription.
039:             * 
040:             * @param registrationContext
041:             */
042:            public void setRegistrationContext(
043:                    oasis.names.tc.wsrp.v1.types.RegistrationContext registrationContext) {
044:                this .registrationContext = registrationContext;
045:            }
046:
047:            /**
048:             * Gets the portletContext value for this GetPortletDescription.
049:             * 
050:             * @return portletContext
051:             */
052:            public oasis.names.tc.wsrp.v1.types.PortletContext getPortletContext() {
053:                return portletContext;
054:            }
055:
056:            /**
057:             * Sets the portletContext value for this GetPortletDescription.
058:             * 
059:             * @param portletContext
060:             */
061:            public void setPortletContext(
062:                    oasis.names.tc.wsrp.v1.types.PortletContext portletContext) {
063:                this .portletContext = portletContext;
064:            }
065:
066:            /**
067:             * Gets the userContext value for this GetPortletDescription.
068:             * 
069:             * @return userContext
070:             */
071:            public oasis.names.tc.wsrp.v1.types.UserContext getUserContext() {
072:                return userContext;
073:            }
074:
075:            /**
076:             * Sets the userContext value for this GetPortletDescription.
077:             * 
078:             * @param userContext
079:             */
080:            public void setUserContext(
081:                    oasis.names.tc.wsrp.v1.types.UserContext userContext) {
082:                this .userContext = userContext;
083:            }
084:
085:            /**
086:             * Gets the desiredLocales value for this GetPortletDescription.
087:             * 
088:             * @return desiredLocales
089:             */
090:            public java.lang.String[] getDesiredLocales() {
091:                return desiredLocales;
092:            }
093:
094:            /**
095:             * Sets the desiredLocales value for this GetPortletDescription.
096:             * 
097:             * @param desiredLocales
098:             */
099:            public void setDesiredLocales(java.lang.String[] desiredLocales) {
100:                this .desiredLocales = desiredLocales;
101:            }
102:
103:            public java.lang.String getDesiredLocales(int i) {
104:                return this .desiredLocales[i];
105:            }
106:
107:            public void setDesiredLocales(int i, java.lang.String _value) {
108:                this .desiredLocales[i] = _value;
109:            }
110:
111:            private java.lang.Object __equalsCalc = null;
112:
113:            public synchronized boolean equals(java.lang.Object obj) {
114:                if (!(obj instanceof  GetPortletDescription))
115:                    return false;
116:                GetPortletDescription other = (GetPortletDescription) obj;
117:                if (obj == null)
118:                    return false;
119:                if (this  == obj)
120:                    return true;
121:                if (__equalsCalc != null) {
122:                    return (__equalsCalc == obj);
123:                }
124:                __equalsCalc = obj;
125:                boolean _equals;
126:                _equals = true
127:                        && ((this .registrationContext == null && other
128:                                .getRegistrationContext() == null) || (this .registrationContext != null && this .registrationContext
129:                                .equals(other.getRegistrationContext())))
130:                        && ((this .portletContext == null && other
131:                                .getPortletContext() == null) || (this .portletContext != null && this .portletContext
132:                                .equals(other.getPortletContext())))
133:                        && ((this .userContext == null && other.getUserContext() == null) || (this .userContext != null && this .userContext
134:                                .equals(other.getUserContext())))
135:                        && ((this .desiredLocales == null && other
136:                                .getDesiredLocales() == null) || (this .desiredLocales != null && java.util.Arrays
137:                                .equals(this .desiredLocales, other
138:                                        .getDesiredLocales())));
139:                __equalsCalc = null;
140:                return _equals;
141:            }
142:
143:            private boolean __hashCodeCalc = false;
144:
145:            public synchronized int hashCode() {
146:                if (__hashCodeCalc) {
147:                    return 0;
148:                }
149:                __hashCodeCalc = true;
150:                int _hashCode = 1;
151:                if (getRegistrationContext() != null) {
152:                    _hashCode += getRegistrationContext().hashCode();
153:                }
154:                if (getPortletContext() != null) {
155:                    _hashCode += getPortletContext().hashCode();
156:                }
157:                if (getUserContext() != null) {
158:                    _hashCode += getUserContext().hashCode();
159:                }
160:                if (getDesiredLocales() != null) {
161:                    for (int i = 0; i < java.lang.reflect.Array
162:                            .getLength(getDesiredLocales()); i++) {
163:                        java.lang.Object obj = java.lang.reflect.Array.get(
164:                                getDesiredLocales(), i);
165:                        if (obj != null && !obj.getClass().isArray()) {
166:                            _hashCode += obj.hashCode();
167:                        }
168:                    }
169:                }
170:                __hashCodeCalc = false;
171:                return _hashCode;
172:            }
173:
174:            // Type metadata
175:            private static org.apache.axis.description.TypeDesc typeDesc = new org.apache.axis.description.TypeDesc(
176:                    GetPortletDescription.class, true);
177:
178:            static {
179:                typeDesc.setXmlType(new javax.xml.namespace.QName(
180:                        "urn:oasis:names:tc:wsrp:v1:types",
181:                        ">getPortletDescription"));
182:                org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
183:                elemField.setFieldName("registrationContext");
184:                elemField.setXmlName(new javax.xml.namespace.QName(
185:                        "urn:oasis:names:tc:wsrp:v1:types",
186:                        "registrationContext"));
187:                elemField.setXmlType(new javax.xml.namespace.QName(
188:                        "urn:oasis:names:tc:wsrp:v1:types",
189:                        "RegistrationContext"));
190:                elemField.setNillable(true);
191:                typeDesc.addFieldDesc(elemField);
192:                elemField = new org.apache.axis.description.ElementDesc();
193:                elemField.setFieldName("portletContext");
194:                elemField.setXmlName(new javax.xml.namespace.QName(
195:                        "urn:oasis:names:tc:wsrp:v1:types", "portletContext"));
196:                elemField.setXmlType(new javax.xml.namespace.QName(
197:                        "urn:oasis:names:tc:wsrp:v1:types", "PortletContext"));
198:                typeDesc.addFieldDesc(elemField);
199:                elemField = new org.apache.axis.description.ElementDesc();
200:                elemField.setFieldName("userContext");
201:                elemField.setXmlName(new javax.xml.namespace.QName(
202:                        "urn:oasis:names:tc:wsrp:v1:types", "userContext"));
203:                elemField.setXmlType(new javax.xml.namespace.QName(
204:                        "urn:oasis:names:tc:wsrp:v1:types", "UserContext"));
205:                elemField.setNillable(true);
206:                typeDesc.addFieldDesc(elemField);
207:                elemField = new org.apache.axis.description.ElementDesc();
208:                elemField.setFieldName("desiredLocales");
209:                elemField.setXmlName(new javax.xml.namespace.QName(
210:                        "urn:oasis:names:tc:wsrp:v1:types", "desiredLocales"));
211:                elemField.setXmlType(new javax.xml.namespace.QName(
212:                        "http://www.w3.org/2001/XMLSchema", "string"));
213:                elemField.setMinOccurs(0);
214:                typeDesc.addFieldDesc(elemField);
215:            }
216:
217:            /**
218:             * Return type metadata object
219:             */
220:            public static org.apache.axis.description.TypeDesc getTypeDesc() {
221:                return typeDesc;
222:            }
223:
224:            /**
225:             * Get Custom Serializer
226:             */
227:            public static org.apache.axis.encoding.Serializer getSerializer(
228:                    java.lang.String mechType, java.lang.Class _javaType,
229:                    javax.xml.namespace.QName _xmlType) {
230:                return new org.apache.axis.encoding.ser.BeanSerializer(
231:                        _javaType, _xmlType, typeDesc);
232:            }
233:
234:            /**
235:             * Get Custom Deserializer
236:             */
237:            public static org.apache.axis.encoding.Deserializer getDeserializer(
238:                    java.lang.String mechType, java.lang.Class _javaType,
239:                    javax.xml.namespace.QName _xmlType) {
240:                return new org.apache.axis.encoding.ser.BeanDeserializer(
241:                        _javaType, _xmlType, typeDesc);
242:            }
243:
244:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.