Source Code Cross Referenced for UserProfile.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:         * UserProfile.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 UserProfile implements  java.io.Serializable {
009:            private oasis.names.tc.wsrp.v1.types.PersonName name;
010:            private java.util.Calendar bdate;
011:            private java.lang.String gender;
012:            private oasis.names.tc.wsrp.v1.types.EmployerInfo employerInfo;
013:            private oasis.names.tc.wsrp.v1.types.Contact homeInfo;
014:            private oasis.names.tc.wsrp.v1.types.Contact businessInfo;
015:            private oasis.names.tc.wsrp.v1.types.Extension[] extensions;
016:
017:            public UserProfile() {
018:            }
019:
020:            public UserProfile(java.util.Calendar bdate,
021:                    oasis.names.tc.wsrp.v1.types.Contact businessInfo,
022:                    oasis.names.tc.wsrp.v1.types.EmployerInfo employerInfo,
023:                    oasis.names.tc.wsrp.v1.types.Extension[] extensions,
024:                    java.lang.String gender,
025:                    oasis.names.tc.wsrp.v1.types.Contact homeInfo,
026:                    oasis.names.tc.wsrp.v1.types.PersonName name) {
027:                this .name = name;
028:                this .bdate = bdate;
029:                this .gender = gender;
030:                this .employerInfo = employerInfo;
031:                this .homeInfo = homeInfo;
032:                this .businessInfo = businessInfo;
033:                this .extensions = extensions;
034:            }
035:
036:            /**
037:             * Gets the name value for this UserProfile.
038:             * 
039:             * @return name
040:             */
041:            public oasis.names.tc.wsrp.v1.types.PersonName getName() {
042:                return name;
043:            }
044:
045:            /**
046:             * Sets the name value for this UserProfile.
047:             * 
048:             * @param name
049:             */
050:            public void setName(oasis.names.tc.wsrp.v1.types.PersonName name) {
051:                this .name = name;
052:            }
053:
054:            /**
055:             * Gets the bdate value for this UserProfile.
056:             * 
057:             * @return bdate
058:             */
059:            public java.util.Calendar getBdate() {
060:                return bdate;
061:            }
062:
063:            /**
064:             * Sets the bdate value for this UserProfile.
065:             * 
066:             * @param bdate
067:             */
068:            public void setBdate(java.util.Calendar bdate) {
069:                this .bdate = bdate;
070:            }
071:
072:            /**
073:             * Gets the gender value for this UserProfile.
074:             * 
075:             * @return gender
076:             */
077:            public java.lang.String getGender() {
078:                return gender;
079:            }
080:
081:            /**
082:             * Sets the gender value for this UserProfile.
083:             * 
084:             * @param gender
085:             */
086:            public void setGender(java.lang.String gender) {
087:                this .gender = gender;
088:            }
089:
090:            /**
091:             * Gets the employerInfo value for this UserProfile.
092:             * 
093:             * @return employerInfo
094:             */
095:            public oasis.names.tc.wsrp.v1.types.EmployerInfo getEmployerInfo() {
096:                return employerInfo;
097:            }
098:
099:            /**
100:             * Sets the employerInfo value for this UserProfile.
101:             * 
102:             * @param employerInfo
103:             */
104:            public void setEmployerInfo(
105:                    oasis.names.tc.wsrp.v1.types.EmployerInfo employerInfo) {
106:                this .employerInfo = employerInfo;
107:            }
108:
109:            /**
110:             * Gets the homeInfo value for this UserProfile.
111:             * 
112:             * @return homeInfo
113:             */
114:            public oasis.names.tc.wsrp.v1.types.Contact getHomeInfo() {
115:                return homeInfo;
116:            }
117:
118:            /**
119:             * Sets the homeInfo value for this UserProfile.
120:             * 
121:             * @param homeInfo
122:             */
123:            public void setHomeInfo(
124:                    oasis.names.tc.wsrp.v1.types.Contact homeInfo) {
125:                this .homeInfo = homeInfo;
126:            }
127:
128:            /**
129:             * Gets the businessInfo value for this UserProfile.
130:             * 
131:             * @return businessInfo
132:             */
133:            public oasis.names.tc.wsrp.v1.types.Contact getBusinessInfo() {
134:                return businessInfo;
135:            }
136:
137:            /**
138:             * Sets the businessInfo value for this UserProfile.
139:             * 
140:             * @param businessInfo
141:             */
142:            public void setBusinessInfo(
143:                    oasis.names.tc.wsrp.v1.types.Contact businessInfo) {
144:                this .businessInfo = businessInfo;
145:            }
146:
147:            /**
148:             * Gets the extensions value for this UserProfile.
149:             * 
150:             * @return extensions
151:             */
152:            public oasis.names.tc.wsrp.v1.types.Extension[] getExtensions() {
153:                return extensions;
154:            }
155:
156:            /**
157:             * Sets the extensions value for this UserProfile.
158:             * 
159:             * @param extensions
160:             */
161:            public void setExtensions(
162:                    oasis.names.tc.wsrp.v1.types.Extension[] extensions) {
163:                this .extensions = extensions;
164:            }
165:
166:            public oasis.names.tc.wsrp.v1.types.Extension getExtensions(int i) {
167:                return this .extensions[i];
168:            }
169:
170:            public void setExtensions(int i,
171:                    oasis.names.tc.wsrp.v1.types.Extension _value) {
172:                this .extensions[i] = _value;
173:            }
174:
175:            private java.lang.Object __equalsCalc = null;
176:
177:            public synchronized boolean equals(java.lang.Object obj) {
178:                if (!(obj instanceof  UserProfile))
179:                    return false;
180:                UserProfile other = (UserProfile) obj;
181:                if (obj == null)
182:                    return false;
183:                if (this  == obj)
184:                    return true;
185:                if (__equalsCalc != null) {
186:                    return (__equalsCalc == obj);
187:                }
188:                __equalsCalc = obj;
189:                boolean _equals;
190:                _equals = true
191:                        && ((this .name == null && other.getName() == null) || (this .name != null && this .name
192:                                .equals(other.getName())))
193:                        && ((this .bdate == null && other.getBdate() == null) || (this .bdate != null && this .bdate
194:                                .equals(other.getBdate())))
195:                        && ((this .gender == null && other.getGender() == null) || (this .gender != null && this .gender
196:                                .equals(other.getGender())))
197:                        && ((this .employerInfo == null && other
198:                                .getEmployerInfo() == null) || (this .employerInfo != null && this .employerInfo
199:                                .equals(other.getEmployerInfo())))
200:                        && ((this .homeInfo == null && other.getHomeInfo() == null) || (this .homeInfo != null && this .homeInfo
201:                                .equals(other.getHomeInfo())))
202:                        && ((this .businessInfo == null && other
203:                                .getBusinessInfo() == null) || (this .businessInfo != null && this .businessInfo
204:                                .equals(other.getBusinessInfo())))
205:                        && ((this .extensions == null && other.getExtensions() == null) || (this .extensions != null && java.util.Arrays
206:                                .equals(this .extensions, other.getExtensions())));
207:                __equalsCalc = null;
208:                return _equals;
209:            }
210:
211:            private boolean __hashCodeCalc = false;
212:
213:            public synchronized int hashCode() {
214:                if (__hashCodeCalc) {
215:                    return 0;
216:                }
217:                __hashCodeCalc = true;
218:                int _hashCode = 1;
219:                if (getName() != null) {
220:                    _hashCode += getName().hashCode();
221:                }
222:                if (getBdate() != null) {
223:                    _hashCode += getBdate().hashCode();
224:                }
225:                if (getGender() != null) {
226:                    _hashCode += getGender().hashCode();
227:                }
228:                if (getEmployerInfo() != null) {
229:                    _hashCode += getEmployerInfo().hashCode();
230:                }
231:                if (getHomeInfo() != null) {
232:                    _hashCode += getHomeInfo().hashCode();
233:                }
234:                if (getBusinessInfo() != null) {
235:                    _hashCode += getBusinessInfo().hashCode();
236:                }
237:                if (getExtensions() != null) {
238:                    for (int i = 0; i < java.lang.reflect.Array
239:                            .getLength(getExtensions()); i++) {
240:                        java.lang.Object obj = java.lang.reflect.Array.get(
241:                                getExtensions(), i);
242:                        if (obj != null && !obj.getClass().isArray()) {
243:                            _hashCode += obj.hashCode();
244:                        }
245:                    }
246:                }
247:                __hashCodeCalc = false;
248:                return _hashCode;
249:            }
250:
251:            // Type metadata
252:            private static org.apache.axis.description.TypeDesc typeDesc = new org.apache.axis.description.TypeDesc(
253:                    UserProfile.class, true);
254:
255:            static {
256:                typeDesc.setXmlType(new javax.xml.namespace.QName(
257:                        "urn:oasis:names:tc:wsrp:v1:types", "UserProfile"));
258:                org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
259:                elemField.setFieldName("name");
260:                elemField.setXmlName(new javax.xml.namespace.QName(
261:                        "urn:oasis:names:tc:wsrp:v1:types", "name"));
262:                elemField.setXmlType(new javax.xml.namespace.QName(
263:                        "urn:oasis:names:tc:wsrp:v1:types", "PersonName"));
264:                elemField.setMinOccurs(0);
265:                typeDesc.addFieldDesc(elemField);
266:                elemField = new org.apache.axis.description.ElementDesc();
267:                elemField.setFieldName("bdate");
268:                elemField.setXmlName(new javax.xml.namespace.QName(
269:                        "urn:oasis:names:tc:wsrp:v1:types", "bdate"));
270:                elemField.setXmlType(new javax.xml.namespace.QName(
271:                        "http://www.w3.org/2001/XMLSchema", "dateTime"));
272:                elemField.setMinOccurs(0);
273:                typeDesc.addFieldDesc(elemField);
274:                elemField = new org.apache.axis.description.ElementDesc();
275:                elemField.setFieldName("gender");
276:                elemField.setXmlName(new javax.xml.namespace.QName(
277:                        "urn:oasis:names:tc:wsrp:v1:types", "gender"));
278:                elemField.setXmlType(new javax.xml.namespace.QName(
279:                        "http://www.w3.org/2001/XMLSchema", "string"));
280:                elemField.setMinOccurs(0);
281:                typeDesc.addFieldDesc(elemField);
282:                elemField = new org.apache.axis.description.ElementDesc();
283:                elemField.setFieldName("employerInfo");
284:                elemField.setXmlName(new javax.xml.namespace.QName(
285:                        "urn:oasis:names:tc:wsrp:v1:types", "employerInfo"));
286:                elemField.setXmlType(new javax.xml.namespace.QName(
287:                        "urn:oasis:names:tc:wsrp:v1:types", "EmployerInfo"));
288:                elemField.setMinOccurs(0);
289:                typeDesc.addFieldDesc(elemField);
290:                elemField = new org.apache.axis.description.ElementDesc();
291:                elemField.setFieldName("homeInfo");
292:                elemField.setXmlName(new javax.xml.namespace.QName(
293:                        "urn:oasis:names:tc:wsrp:v1:types", "homeInfo"));
294:                elemField.setXmlType(new javax.xml.namespace.QName(
295:                        "urn:oasis:names:tc:wsrp:v1:types", "Contact"));
296:                elemField.setMinOccurs(0);
297:                typeDesc.addFieldDesc(elemField);
298:                elemField = new org.apache.axis.description.ElementDesc();
299:                elemField.setFieldName("businessInfo");
300:                elemField.setXmlName(new javax.xml.namespace.QName(
301:                        "urn:oasis:names:tc:wsrp:v1:types", "businessInfo"));
302:                elemField.setXmlType(new javax.xml.namespace.QName(
303:                        "urn:oasis:names:tc:wsrp:v1:types", "Contact"));
304:                elemField.setMinOccurs(0);
305:                typeDesc.addFieldDesc(elemField);
306:                elemField = new org.apache.axis.description.ElementDesc();
307:                elemField.setFieldName("extensions");
308:                elemField.setXmlName(new javax.xml.namespace.QName(
309:                        "urn:oasis:names:tc:wsrp:v1:types", "extensions"));
310:                elemField.setXmlType(new javax.xml.namespace.QName(
311:                        "urn:oasis:names:tc:wsrp:v1:types", "Extension"));
312:                elemField.setMinOccurs(0);
313:                typeDesc.addFieldDesc(elemField);
314:            }
315:
316:            /**
317:             * Return type metadata object
318:             */
319:            public static org.apache.axis.description.TypeDesc getTypeDesc() {
320:                return typeDesc;
321:            }
322:
323:            /**
324:             * Get Custom Serializer
325:             */
326:            public static org.apache.axis.encoding.Serializer getSerializer(
327:                    java.lang.String mechType, java.lang.Class _javaType,
328:                    javax.xml.namespace.QName _xmlType) {
329:                return new org.apache.axis.encoding.ser.BeanSerializer(
330:                        _javaType, _xmlType, typeDesc);
331:            }
332:
333:            /**
334:             * Get Custom Deserializer
335:             */
336:            public static org.apache.axis.encoding.Deserializer getDeserializer(
337:                    java.lang.String mechType, java.lang.Class _javaType,
338:                    javax.xml.namespace.QName _xmlType) {
339:                return new org.apache.axis.encoding.ser.BeanDeserializer(
340:                        _javaType, _xmlType, typeDesc);
341:            }
342:
343:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.