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