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