Source Code Cross Referenced for ResultElement.java in  » J2EE » JOnAS-4.8.6 » org » objectweb » wssample » gen » google » 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 » J2EE » JOnAS 4.8.6 » org.objectweb.wssample.gen.google 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        /**
002:         * ResultElement.java
003:         *
004:         * This file was auto-generated from WSDL
005:         * by the Apache Axis 1.2RC2 Dec 15, 2004 (10:53:17 CET) WSDL2Java emitter.
006:         */package org.objectweb.wssample.gen.google;
007:
008:        public class ResultElement implements  java.io.Serializable {
009:            private java.lang.String summary;
010:            private java.lang.String URL;
011:            private java.lang.String snippet;
012:            private java.lang.String title;
013:            private java.lang.String cachedSize;
014:            private boolean relatedInformationPresent;
015:            private java.lang.String hostName;
016:            private org.objectweb.wssample.gen.google.DirectoryCategory directoryCategory;
017:            private java.lang.String directoryTitle;
018:
019:            public ResultElement() {
020:            }
021:
022:            public ResultElement(
023:                    java.lang.String summary,
024:                    java.lang.String URL,
025:                    java.lang.String snippet,
026:                    java.lang.String title,
027:                    java.lang.String cachedSize,
028:                    boolean relatedInformationPresent,
029:                    java.lang.String hostName,
030:                    org.objectweb.wssample.gen.google.DirectoryCategory directoryCategory,
031:                    java.lang.String directoryTitle) {
032:                this .summary = summary;
033:                this .URL = URL;
034:                this .snippet = snippet;
035:                this .title = title;
036:                this .cachedSize = cachedSize;
037:                this .relatedInformationPresent = relatedInformationPresent;
038:                this .hostName = hostName;
039:                this .directoryCategory = directoryCategory;
040:                this .directoryTitle = directoryTitle;
041:            }
042:
043:            /**
044:             * Gets the summary value for this ResultElement.
045:             * 
046:             * @return summary
047:             */
048:            public java.lang.String getSummary() {
049:                return summary;
050:            }
051:
052:            /**
053:             * Sets the summary value for this ResultElement.
054:             * 
055:             * @param summary
056:             */
057:            public void setSummary(java.lang.String summary) {
058:                this .summary = summary;
059:            }
060:
061:            /**
062:             * Gets the URL value for this ResultElement.
063:             * 
064:             * @return URL
065:             */
066:            public java.lang.String getURL() {
067:                return URL;
068:            }
069:
070:            /**
071:             * Sets the URL value for this ResultElement.
072:             * 
073:             * @param URL
074:             */
075:            public void setURL(java.lang.String URL) {
076:                this .URL = URL;
077:            }
078:
079:            /**
080:             * Gets the snippet value for this ResultElement.
081:             * 
082:             * @return snippet
083:             */
084:            public java.lang.String getSnippet() {
085:                return snippet;
086:            }
087:
088:            /**
089:             * Sets the snippet value for this ResultElement.
090:             * 
091:             * @param snippet
092:             */
093:            public void setSnippet(java.lang.String snippet) {
094:                this .snippet = snippet;
095:            }
096:
097:            /**
098:             * Gets the title value for this ResultElement.
099:             * 
100:             * @return title
101:             */
102:            public java.lang.String getTitle() {
103:                return title;
104:            }
105:
106:            /**
107:             * Sets the title value for this ResultElement.
108:             * 
109:             * @param title
110:             */
111:            public void setTitle(java.lang.String title) {
112:                this .title = title;
113:            }
114:
115:            /**
116:             * Gets the cachedSize value for this ResultElement.
117:             * 
118:             * @return cachedSize
119:             */
120:            public java.lang.String getCachedSize() {
121:                return cachedSize;
122:            }
123:
124:            /**
125:             * Sets the cachedSize value for this ResultElement.
126:             * 
127:             * @param cachedSize
128:             */
129:            public void setCachedSize(java.lang.String cachedSize) {
130:                this .cachedSize = cachedSize;
131:            }
132:
133:            /**
134:             * Gets the relatedInformationPresent value for this ResultElement.
135:             * 
136:             * @return relatedInformationPresent
137:             */
138:            public boolean isRelatedInformationPresent() {
139:                return relatedInformationPresent;
140:            }
141:
142:            /**
143:             * Sets the relatedInformationPresent value for this ResultElement.
144:             * 
145:             * @param relatedInformationPresent
146:             */
147:            public void setRelatedInformationPresent(
148:                    boolean relatedInformationPresent) {
149:                this .relatedInformationPresent = relatedInformationPresent;
150:            }
151:
152:            /**
153:             * Gets the hostName value for this ResultElement.
154:             * 
155:             * @return hostName
156:             */
157:            public java.lang.String getHostName() {
158:                return hostName;
159:            }
160:
161:            /**
162:             * Sets the hostName value for this ResultElement.
163:             * 
164:             * @param hostName
165:             */
166:            public void setHostName(java.lang.String hostName) {
167:                this .hostName = hostName;
168:            }
169:
170:            /**
171:             * Gets the directoryCategory value for this ResultElement.
172:             * 
173:             * @return directoryCategory
174:             */
175:            public org.objectweb.wssample.gen.google.DirectoryCategory getDirectoryCategory() {
176:                return directoryCategory;
177:            }
178:
179:            /**
180:             * Sets the directoryCategory value for this ResultElement.
181:             * 
182:             * @param directoryCategory
183:             */
184:            public void setDirectoryCategory(
185:                    org.objectweb.wssample.gen.google.DirectoryCategory directoryCategory) {
186:                this .directoryCategory = directoryCategory;
187:            }
188:
189:            /**
190:             * Gets the directoryTitle value for this ResultElement.
191:             * 
192:             * @return directoryTitle
193:             */
194:            public java.lang.String getDirectoryTitle() {
195:                return directoryTitle;
196:            }
197:
198:            /**
199:             * Sets the directoryTitle value for this ResultElement.
200:             * 
201:             * @param directoryTitle
202:             */
203:            public void setDirectoryTitle(java.lang.String directoryTitle) {
204:                this .directoryTitle = directoryTitle;
205:            }
206:
207:            private java.lang.Object __equalsCalc = null;
208:
209:            public synchronized boolean equals(java.lang.Object obj) {
210:                if (!(obj instanceof  ResultElement))
211:                    return false;
212:                ResultElement other = (ResultElement) obj;
213:                if (obj == null)
214:                    return false;
215:                if (this  == obj)
216:                    return true;
217:                if (__equalsCalc != null) {
218:                    return (__equalsCalc == obj);
219:                }
220:                __equalsCalc = obj;
221:                boolean _equals;
222:                _equals = true
223:                        && ((this .summary == null && other.getSummary() == null) || (this .summary != null && this .summary
224:                                .equals(other.getSummary())))
225:                        && ((this .URL == null && other.getURL() == null) || (this .URL != null && this .URL
226:                                .equals(other.getURL())))
227:                        && ((this .snippet == null && other.getSnippet() == null) || (this .snippet != null && this .snippet
228:                                .equals(other.getSnippet())))
229:                        && ((this .title == null && other.getTitle() == null) || (this .title != null && this .title
230:                                .equals(other.getTitle())))
231:                        && ((this .cachedSize == null && other.getCachedSize() == null) || (this .cachedSize != null && this .cachedSize
232:                                .equals(other.getCachedSize())))
233:                        && this .relatedInformationPresent == other
234:                                .isRelatedInformationPresent()
235:                        && ((this .hostName == null && other.getHostName() == null) || (this .hostName != null && this .hostName
236:                                .equals(other.getHostName())))
237:                        && ((this .directoryCategory == null && other
238:                                .getDirectoryCategory() == null) || (this .directoryCategory != null && this .directoryCategory
239:                                .equals(other.getDirectoryCategory())))
240:                        && ((this .directoryTitle == null && other
241:                                .getDirectoryTitle() == null) || (this .directoryTitle != null && this .directoryTitle
242:                                .equals(other.getDirectoryTitle())));
243:                __equalsCalc = null;
244:                return _equals;
245:            }
246:
247:            private boolean __hashCodeCalc = false;
248:
249:            public synchronized int hashCode() {
250:                if (__hashCodeCalc) {
251:                    return 0;
252:                }
253:                __hashCodeCalc = true;
254:                int _hashCode = 1;
255:                if (getSummary() != null) {
256:                    _hashCode += getSummary().hashCode();
257:                }
258:                if (getURL() != null) {
259:                    _hashCode += getURL().hashCode();
260:                }
261:                if (getSnippet() != null) {
262:                    _hashCode += getSnippet().hashCode();
263:                }
264:                if (getTitle() != null) {
265:                    _hashCode += getTitle().hashCode();
266:                }
267:                if (getCachedSize() != null) {
268:                    _hashCode += getCachedSize().hashCode();
269:                }
270:                _hashCode += (isRelatedInformationPresent() ? Boolean.TRUE
271:                        : Boolean.FALSE).hashCode();
272:                if (getHostName() != null) {
273:                    _hashCode += getHostName().hashCode();
274:                }
275:                if (getDirectoryCategory() != null) {
276:                    _hashCode += getDirectoryCategory().hashCode();
277:                }
278:                if (getDirectoryTitle() != null) {
279:                    _hashCode += getDirectoryTitle().hashCode();
280:                }
281:                __hashCodeCalc = false;
282:                return _hashCode;
283:            }
284:
285:            // Type metadata
286:            private static org.apache.axis.description.TypeDesc typeDesc = new org.apache.axis.description.TypeDesc(
287:                    ResultElement.class, true);
288:
289:            static {
290:                typeDesc.setXmlType(new javax.xml.namespace.QName(
291:                        "urn:GoogleSearch", "ResultElement"));
292:                org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
293:                elemField.setFieldName("summary");
294:                elemField.setXmlName(new javax.xml.namespace.QName("",
295:                        "summary"));
296:                elemField.setXmlType(new javax.xml.namespace.QName(
297:                        "http://www.w3.org/2001/XMLSchema", "string"));
298:                typeDesc.addFieldDesc(elemField);
299:                elemField = new org.apache.axis.description.ElementDesc();
300:                elemField.setFieldName("URL");
301:                elemField.setXmlName(new javax.xml.namespace.QName("", "URL"));
302:                elemField.setXmlType(new javax.xml.namespace.QName(
303:                        "http://www.w3.org/2001/XMLSchema", "string"));
304:                typeDesc.addFieldDesc(elemField);
305:                elemField = new org.apache.axis.description.ElementDesc();
306:                elemField.setFieldName("snippet");
307:                elemField.setXmlName(new javax.xml.namespace.QName("",
308:                        "snippet"));
309:                elemField.setXmlType(new javax.xml.namespace.QName(
310:                        "http://www.w3.org/2001/XMLSchema", "string"));
311:                typeDesc.addFieldDesc(elemField);
312:                elemField = new org.apache.axis.description.ElementDesc();
313:                elemField.setFieldName("title");
314:                elemField
315:                        .setXmlName(new javax.xml.namespace.QName("", "title"));
316:                elemField.setXmlType(new javax.xml.namespace.QName(
317:                        "http://www.w3.org/2001/XMLSchema", "string"));
318:                typeDesc.addFieldDesc(elemField);
319:                elemField = new org.apache.axis.description.ElementDesc();
320:                elemField.setFieldName("cachedSize");
321:                elemField.setXmlName(new javax.xml.namespace.QName("",
322:                        "cachedSize"));
323:                elemField.setXmlType(new javax.xml.namespace.QName(
324:                        "http://www.w3.org/2001/XMLSchema", "string"));
325:                typeDesc.addFieldDesc(elemField);
326:                elemField = new org.apache.axis.description.ElementDesc();
327:                elemField.setFieldName("relatedInformationPresent");
328:                elemField.setXmlName(new javax.xml.namespace.QName("",
329:                        "relatedInformationPresent"));
330:                elemField.setXmlType(new javax.xml.namespace.QName(
331:                        "http://www.w3.org/2001/XMLSchema", "boolean"));
332:                typeDesc.addFieldDesc(elemField);
333:                elemField = new org.apache.axis.description.ElementDesc();
334:                elemField.setFieldName("hostName");
335:                elemField.setXmlName(new javax.xml.namespace.QName("",
336:                        "hostName"));
337:                elemField.setXmlType(new javax.xml.namespace.QName(
338:                        "http://www.w3.org/2001/XMLSchema", "string"));
339:                typeDesc.addFieldDesc(elemField);
340:                elemField = new org.apache.axis.description.ElementDesc();
341:                elemField.setFieldName("directoryCategory");
342:                elemField.setXmlName(new javax.xml.namespace.QName("",
343:                        "directoryCategory"));
344:                elemField.setXmlType(new javax.xml.namespace.QName(
345:                        "urn:GoogleSearch", "DirectoryCategory"));
346:                typeDesc.addFieldDesc(elemField);
347:                elemField = new org.apache.axis.description.ElementDesc();
348:                elemField.setFieldName("directoryTitle");
349:                elemField.setXmlName(new javax.xml.namespace.QName("",
350:                        "directoryTitle"));
351:                elemField.setXmlType(new javax.xml.namespace.QName(
352:                        "http://www.w3.org/2001/XMLSchema", "string"));
353:                typeDesc.addFieldDesc(elemField);
354:            }
355:
356:            /**
357:             * Return type metadata object
358:             */
359:            public static org.apache.axis.description.TypeDesc getTypeDesc() {
360:                return typeDesc;
361:            }
362:
363:            /**
364:             * Get Custom Serializer
365:             */
366:            public static org.apache.axis.encoding.Serializer getSerializer(
367:                    java.lang.String mechType, java.lang.Class _javaType,
368:                    javax.xml.namespace.QName _xmlType) {
369:                return new org.apache.axis.encoding.ser.BeanSerializer(
370:                        _javaType, _xmlType, typeDesc);
371:            }
372:
373:            /**
374:             * Get Custom Deserializer
375:             */
376:            public static org.apache.axis.encoding.Deserializer getDeserializer(
377:                    java.lang.String mechType, java.lang.Class _javaType,
378:                    javax.xml.namespace.QName _xmlType) {
379:                return new org.apache.axis.encoding.ser.BeanDeserializer(
380:                        _javaType, _xmlType, typeDesc);
381:            }
382:
383:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.