1
7
8 package com.liferay.client.soap.portlet.expando.model;
9
10 public class ExpandoValueSoap implements java.io.Serializable {
11 private long classNameId;
12
13 private long classPK;
14
15 private long columnId;
16
17 private long companyId;
18
19 private java.lang.String data;
20
21 private long primaryKey;
22
23 private long rowId;
24
25 private long tableId;
26
27 private long valueId;
28
29 public ExpandoValueSoap() {
30 }
31
32 public ExpandoValueSoap(
33 long classNameId,
34 long classPK,
35 long columnId,
36 long companyId,
37 java.lang.String data,
38 long primaryKey,
39 long rowId,
40 long tableId,
41 long valueId) {
42 this.classNameId = classNameId;
43 this.classPK = classPK;
44 this.columnId = columnId;
45 this.companyId = companyId;
46 this.data = data;
47 this.primaryKey = primaryKey;
48 this.rowId = rowId;
49 this.tableId = tableId;
50 this.valueId = valueId;
51 }
52
53
54
59 public long getClassNameId() {
60 return classNameId;
61 }
62
63
64
69 public void setClassNameId(long classNameId) {
70 this.classNameId = classNameId;
71 }
72
73
74
79 public long getClassPK() {
80 return classPK;
81 }
82
83
84
89 public void setClassPK(long classPK) {
90 this.classPK = classPK;
91 }
92
93
94
99 public long getColumnId() {
100 return columnId;
101 }
102
103
104
109 public void setColumnId(long columnId) {
110 this.columnId = columnId;
111 }
112
113
114
119 public long getCompanyId() {
120 return companyId;
121 }
122
123
124
129 public void setCompanyId(long companyId) {
130 this.companyId = companyId;
131 }
132
133
134
139 public java.lang.String getData() {
140 return data;
141 }
142
143
144
149 public void setData(java.lang.String data) {
150 this.data = data;
151 }
152
153
154
159 public long getPrimaryKey() {
160 return primaryKey;
161 }
162
163
164
169 public void setPrimaryKey(long primaryKey) {
170 this.primaryKey = primaryKey;
171 }
172
173
174
179 public long getRowId() {
180 return rowId;
181 }
182
183
184
189 public void setRowId(long rowId) {
190 this.rowId = rowId;
191 }
192
193
194
199 public long getTableId() {
200 return tableId;
201 }
202
203
204
209 public void setTableId(long tableId) {
210 this.tableId = tableId;
211 }
212
213
214
219 public long getValueId() {
220 return valueId;
221 }
222
223
224
229 public void setValueId(long valueId) {
230 this.valueId = valueId;
231 }
232
233 private java.lang.Object __equalsCalc = null;
234 public synchronized boolean equals(java.lang.Object obj) {
235 if (!(obj instanceof ExpandoValueSoap)) return false;
236 ExpandoValueSoap other = (ExpandoValueSoap) obj;
237 if (obj == null) return false;
238 if (this == obj) return true;
239 if (__equalsCalc != null) {
240 return (__equalsCalc == obj);
241 }
242 __equalsCalc = obj;
243 boolean _equals;
244 _equals = true &&
245 this.classNameId == other.getClassNameId() &&
246 this.classPK == other.getClassPK() &&
247 this.columnId == other.getColumnId() &&
248 this.companyId == other.getCompanyId() &&
249 ((this.data==null && other.getData()==null) ||
250 (this.data!=null &&
251 this.data.equals(other.getData()))) &&
252 this.primaryKey == other.getPrimaryKey() &&
253 this.rowId == other.getRowId() &&
254 this.tableId == other.getTableId() &&
255 this.valueId == other.getValueId();
256 __equalsCalc = null;
257 return _equals;
258 }
259
260 private boolean __hashCodeCalc = false;
261 public synchronized int hashCode() {
262 if (__hashCodeCalc) {
263 return 0;
264 }
265 __hashCodeCalc = true;
266 int _hashCode = 1;
267 _hashCode += new Long(getClassNameId()).hashCode();
268 _hashCode += new Long(getClassPK()).hashCode();
269 _hashCode += new Long(getColumnId()).hashCode();
270 _hashCode += new Long(getCompanyId()).hashCode();
271 if (getData() != null) {
272 _hashCode += getData().hashCode();
273 }
274 _hashCode += new Long(getPrimaryKey()).hashCode();
275 _hashCode += new Long(getRowId()).hashCode();
276 _hashCode += new Long(getTableId()).hashCode();
277 _hashCode += new Long(getValueId()).hashCode();
278 __hashCodeCalc = false;
279 return _hashCode;
280 }
281
282 private static org.apache.axis.description.TypeDesc typeDesc =
284 new org.apache.axis.description.TypeDesc(ExpandoValueSoap.class, true);
285
286 static {
287 typeDesc.setXmlType(new javax.xml.namespace.QName("http://model.expando.portlet.liferay.com", "ExpandoValueSoap"));
288 org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
289 elemField.setFieldName("classNameId");
290 elemField.setXmlName(new javax.xml.namespace.QName("", "classNameId"));
291 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
292 elemField.setNillable(false);
293 typeDesc.addFieldDesc(elemField);
294 elemField = new org.apache.axis.description.ElementDesc();
295 elemField.setFieldName("classPK");
296 elemField.setXmlName(new javax.xml.namespace.QName("", "classPK"));
297 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
298 elemField.setNillable(false);
299 typeDesc.addFieldDesc(elemField);
300 elemField = new org.apache.axis.description.ElementDesc();
301 elemField.setFieldName("columnId");
302 elemField.setXmlName(new javax.xml.namespace.QName("", "columnId"));
303 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
304 elemField.setNillable(false);
305 typeDesc.addFieldDesc(elemField);
306 elemField = new org.apache.axis.description.ElementDesc();
307 elemField.setFieldName("companyId");
308 elemField.setXmlName(new javax.xml.namespace.QName("", "companyId"));
309 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
310 elemField.setNillable(false);
311 typeDesc.addFieldDesc(elemField);
312 elemField = new org.apache.axis.description.ElementDesc();
313 elemField.setFieldName("data");
314 elemField.setXmlName(new javax.xml.namespace.QName("", "data"));
315 elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
316 elemField.setNillable(true);
317 typeDesc.addFieldDesc(elemField);
318 elemField = new org.apache.axis.description.ElementDesc();
319 elemField.setFieldName("primaryKey");
320 elemField.setXmlName(new javax.xml.namespace.QName("", "primaryKey"));
321 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
322 elemField.setNillable(false);
323 typeDesc.addFieldDesc(elemField);
324 elemField = new org.apache.axis.description.ElementDesc();
325 elemField.setFieldName("rowId");
326 elemField.setXmlName(new javax.xml.namespace.QName("", "rowId"));
327 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
328 elemField.setNillable(false);
329 typeDesc.addFieldDesc(elemField);
330 elemField = new org.apache.axis.description.ElementDesc();
331 elemField.setFieldName("tableId");
332 elemField.setXmlName(new javax.xml.namespace.QName("", "tableId"));
333 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
334 elemField.setNillable(false);
335 typeDesc.addFieldDesc(elemField);
336 elemField = new org.apache.axis.description.ElementDesc();
337 elemField.setFieldName("valueId");
338 elemField.setXmlName(new javax.xml.namespace.QName("", "valueId"));
339 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
340 elemField.setNillable(false);
341 typeDesc.addFieldDesc(elemField);
342 }
343
344
347 public static org.apache.axis.description.TypeDesc getTypeDesc() {
348 return typeDesc;
349 }
350
351
354 public static org.apache.axis.encoding.Serializer getSerializer(
355 java.lang.String mechType,
356 java.lang.Class _javaType,
357 javax.xml.namespace.QName _xmlType) {
358 return
359 new org.apache.axis.encoding.ser.BeanSerializer(
360 _javaType, _xmlType, typeDesc);
361 }
362
363
366 public static org.apache.axis.encoding.Deserializer getDeserializer(
367 java.lang.String mechType,
368 java.lang.Class _javaType,
369 javax.xml.namespace.QName _xmlType) {
370 return
371 new org.apache.axis.encoding.ser.BeanDeserializer(
372 _javaType, _xmlType, typeDesc);
373 }
374
375 }
376