KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > bluecubs > xinco > core > XincoCoreData


1 /**
2  * XincoCoreData.java
3  *
4  * This file was auto-generated from WSDL
5  * by the Apache Axis WSDL2Java emitter.
6  */

7
8 /**
9  *Copyright 2004 blueCubs.com
10  *
11  *Licensed under the Apache License, Version 2.0 (the "License");
12  *you may not use this file except in compliance with the License.
13  *You may obtain a copy of the License at
14  *
15  * http://www.apache.org/licenses/LICENSE-2.0
16  *
17  *Unless required by applicable law or agreed to in writing, software
18  *distributed under the License is distributed on an "AS IS" BASIS,
19  *WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
20  *See the License for the specific language governing permissions and
21  *limitations under the License.
22  *
23  *************************************************************
24  * This project supports the blueCubs vision of giving back
25  * to the community in exchange for free software!
26  * More information on: http://www.bluecubs.org
27  *************************************************************
28  *
29  * Name: XincoCoreData
30  *
31  * Description: data object
32  *
33  * Original Author: Alexander Manes
34  * Date: 2004
35  *
36  * Modifications:
37  *
38  * Who? When? What?
39  * - - -
40  *
41  *************************************************************
42  */

43
44 package com.bluecubs.xinco.core;
45
46 public class XincoCoreData implements java.io.Serializable JavaDoc {
47     private java.lang.String JavaDoc designation;
48     private java.util.Vector JavaDoc xinco_core_acl;
49     private com.bluecubs.xinco.core.XincoCoreDataType xinco_core_data_type;
50     private com.bluecubs.xinco.core.XincoCoreLanguage xinco_core_language;
51     private int xinco_core_node_id;
52     private int id;
53     private int status_number;
54     private java.util.Vector JavaDoc xinco_add_attributes;
55     private java.util.Vector JavaDoc xinco_core_logs;
56
57     public XincoCoreData() {
58     }
59
60     public java.lang.String JavaDoc getDesignation() {
61         return designation;
62     }
63
64     public void setDesignation(java.lang.String JavaDoc designation) {
65         this.designation = designation;
66     }
67
68     public java.util.Vector JavaDoc getXinco_core_acl() {
69         return xinco_core_acl;
70     }
71
72     public void setXinco_core_acl(java.util.Vector JavaDoc xinco_core_acl) {
73         this.xinco_core_acl = xinco_core_acl;
74     }
75
76     public com.bluecubs.xinco.core.XincoCoreDataType getXinco_core_data_type() {
77         return xinco_core_data_type;
78     }
79
80     public void setXinco_core_data_type(com.bluecubs.xinco.core.XincoCoreDataType xinco_core_data_type) {
81         this.xinco_core_data_type = xinco_core_data_type;
82     }
83
84     public com.bluecubs.xinco.core.XincoCoreLanguage getXinco_core_language() {
85         return xinco_core_language;
86     }
87
88     public void setXinco_core_language(com.bluecubs.xinco.core.XincoCoreLanguage xinco_core_language) {
89         this.xinco_core_language = xinco_core_language;
90     }
91
92     public int getXinco_core_node_id() {
93         return xinco_core_node_id;
94     }
95
96     public void setXinco_core_node_id(int xinco_core_node_id) {
97         this.xinco_core_node_id = xinco_core_node_id;
98     }
99
100     public int getId() {
101         return id;
102     }
103
104     public void setId(int id) {
105         this.id = id;
106     }
107
108     public int getStatus_number() {
109         return status_number;
110     }
111
112     public void setStatus_number(int status_number) {
113         this.status_number = status_number;
114     }
115
116     public java.util.Vector JavaDoc getXinco_add_attributes() {
117         return xinco_add_attributes;
118     }
119
120     public void setXinco_add_attributes(java.util.Vector JavaDoc xinco_add_attributes) {
121         this.xinco_add_attributes = xinco_add_attributes;
122     }
123
124     public java.util.Vector JavaDoc getXinco_core_logs() {
125         return xinco_core_logs;
126     }
127
128     public void setXinco_core_logs(java.util.Vector JavaDoc xinco_core_logs) {
129         this.xinco_core_logs = xinco_core_logs;
130     }
131
132     private java.lang.Object JavaDoc __equalsCalc = null;
133     public synchronized boolean equals(java.lang.Object JavaDoc obj) {
134         if (!(obj instanceof XincoCoreData)) return false;
135         XincoCoreData other = (XincoCoreData) obj;
136         if (obj == null) return false;
137         if (this == obj) return true;
138         if (__equalsCalc != null) {
139             return (__equalsCalc == obj);
140         }
141         __equalsCalc = obj;
142         boolean _equals;
143         _equals = true &&
144             ((this.designation==null && other.getDesignation()==null) ||
145              (this.designation!=null &&
146               this.designation.equals(other.getDesignation()))) &&
147             ((this.xinco_core_acl==null && other.getXinco_core_acl()==null) ||
148              (this.xinco_core_acl!=null &&
149               this.xinco_core_acl.equals(other.getXinco_core_acl()))) &&
150             ((this.xinco_core_data_type==null && other.getXinco_core_data_type()==null) ||
151              (this.xinco_core_data_type!=null &&
152               this.xinco_core_data_type.equals(other.getXinco_core_data_type()))) &&
153             ((this.xinco_core_language==null && other.getXinco_core_language()==null) ||
154              (this.xinco_core_language!=null &&
155               this.xinco_core_language.equals(other.getXinco_core_language()))) &&
156             this.xinco_core_node_id == other.getXinco_core_node_id() &&
157             this.id == other.getId() &&
158             this.status_number == other.getStatus_number() &&
159             ((this.xinco_add_attributes==null && other.getXinco_add_attributes()==null) ||
160              (this.xinco_add_attributes!=null &&
161               this.xinco_add_attributes.equals(other.getXinco_add_attributes()))) &&
162             ((this.xinco_core_logs==null && other.getXinco_core_logs()==null) ||
163              (this.xinco_core_logs!=null &&
164               this.xinco_core_logs.equals(other.getXinco_core_logs())));
165         __equalsCalc = null;
166         return _equals;
167     }
168
169     private boolean __hashCodeCalc = false;
170     public synchronized int hashCode() {
171         if (__hashCodeCalc) {
172             return 0;
173         }
174         __hashCodeCalc = true;
175         int _hashCode = 1;
176         if (getDesignation() != null) {
177             _hashCode += getDesignation().hashCode();
178         }
179         if (getXinco_core_acl() != null) {
180             _hashCode += getXinco_core_acl().hashCode();
181         }
182         if (getXinco_core_data_type() != null) {
183             _hashCode += getXinco_core_data_type().hashCode();
184         }
185         if (getXinco_core_language() != null) {
186             _hashCode += getXinco_core_language().hashCode();
187         }
188         _hashCode += getXinco_core_node_id();
189         _hashCode += getId();
190         _hashCode += getStatus_number();
191         if (getXinco_add_attributes() != null) {
192             _hashCode += getXinco_add_attributes().hashCode();
193         }
194         if (getXinco_core_logs() != null) {
195             _hashCode += getXinco_core_logs().hashCode();
196         }
197         __hashCodeCalc = false;
198         return _hashCode;
199     }
200
201     // Type metadata
202
private static org.apache.axis.description.TypeDesc typeDesc =
203         new org.apache.axis.description.TypeDesc(XincoCoreData.class);
204
205     static {
206         typeDesc.setXmlType(new javax.xml.namespace.QName JavaDoc("http://core.xinco.bluecubs.com", "XincoCoreData"));
207         org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
208         elemField.setFieldName("designation");
209         elemField.setXmlName(new javax.xml.namespace.QName JavaDoc("", "designation"));
210         elemField.setXmlType(new javax.xml.namespace.QName JavaDoc("http://www.w3.org/2001/XMLSchema", "string"));
211         typeDesc.addFieldDesc(elemField);
212         elemField = new org.apache.axis.description.ElementDesc();
213         elemField.setFieldName("xinco_core_acl");
214         elemField.setXmlName(new javax.xml.namespace.QName JavaDoc("", "xinco_core_acl"));
215         elemField.setXmlType(new javax.xml.namespace.QName JavaDoc("http://xml.apache.org/xml-soap", "Vector"));
216         typeDesc.addFieldDesc(elemField);
217         elemField = new org.apache.axis.description.ElementDesc();
218         elemField.setFieldName("xinco_core_data_type");
219         elemField.setXmlName(new javax.xml.namespace.QName JavaDoc("", "xinco_core_data_type"));
220         elemField.setXmlType(new javax.xml.namespace.QName JavaDoc("http://core.xinco.bluecubs.com", "XincoCoreDataType"));
221         typeDesc.addFieldDesc(elemField);
222         elemField = new org.apache.axis.description.ElementDesc();
223         elemField.setFieldName("xinco_core_language");
224         elemField.setXmlName(new javax.xml.namespace.QName JavaDoc("", "xinco_core_language"));
225         elemField.setXmlType(new javax.xml.namespace.QName JavaDoc("http://core.xinco.bluecubs.com", "XincoCoreLanguage"));
226         typeDesc.addFieldDesc(elemField);
227         elemField = new org.apache.axis.description.ElementDesc();
228         elemField.setFieldName("xinco_core_node_id");
229         elemField.setXmlName(new javax.xml.namespace.QName JavaDoc("", "xinco_core_node_id"));
230         elemField.setXmlType(new javax.xml.namespace.QName JavaDoc("http://www.w3.org/2001/XMLSchema", "int"));
231         typeDesc.addFieldDesc(elemField);
232         elemField = new org.apache.axis.description.ElementDesc();
233         elemField.setFieldName("id");
234         elemField.setXmlName(new javax.xml.namespace.QName JavaDoc("", "id"));
235         elemField.setXmlType(new javax.xml.namespace.QName JavaDoc("http://www.w3.org/2001/XMLSchema", "int"));
236         typeDesc.addFieldDesc(elemField);
237         elemField = new org.apache.axis.description.ElementDesc();
238         elemField.setFieldName("status_number");
239         elemField.setXmlName(new javax.xml.namespace.QName JavaDoc("", "status_number"));
240         elemField.setXmlType(new javax.xml.namespace.QName JavaDoc("http://www.w3.org/2001/XMLSchema", "int"));
241         typeDesc.addFieldDesc(elemField);
242         elemField = new org.apache.axis.description.ElementDesc();
243         elemField.setFieldName("xinco_add_attributes");
244         elemField.setXmlName(new javax.xml.namespace.QName JavaDoc("", "xinco_add_attributes"));
245         elemField.setXmlType(new javax.xml.namespace.QName JavaDoc("http://xml.apache.org/xml-soap", "Vector"));
246         typeDesc.addFieldDesc(elemField);
247         elemField = new org.apache.axis.description.ElementDesc();
248         elemField.setFieldName("xinco_core_logs");
249         elemField.setXmlName(new javax.xml.namespace.QName JavaDoc("", "xinco_core_logs"));
250         elemField.setXmlType(new javax.xml.namespace.QName JavaDoc("http://xml.apache.org/xml-soap", "Vector"));
251         typeDesc.addFieldDesc(elemField);
252     }
253
254     /**
255      * Return type metadata object
256      */

257     public static org.apache.axis.description.TypeDesc getTypeDesc() {
258         return typeDesc;
259     }
260
261     /**
262      * Get Custom Serializer
263      */

264     public static org.apache.axis.encoding.Serializer getSerializer(
265            java.lang.String JavaDoc mechType,
266            java.lang.Class JavaDoc _javaType,
267            javax.xml.namespace.QName JavaDoc _xmlType) {
268         return
269           new org.apache.axis.encoding.ser.BeanSerializer(
270             _javaType, _xmlType, typeDesc);
271     }
272
273     /**
274      * Get Custom Deserializer
275      */

276     public static org.apache.axis.encoding.Deserializer getDeserializer(
277            java.lang.String JavaDoc mechType,
278            java.lang.Class JavaDoc _javaType,
279            javax.xml.namespace.QName JavaDoc _xmlType) {
280         return
281           new org.apache.axis.encoding.ser.BeanDeserializer(
282             _javaType, _xmlType, typeDesc);
283     }
284
285 }
286
Popular Tags