1   /**
2    * ExpandoValueSoap.java
3    *
4    * This file was auto-generated from WSDL
5    * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
6    */
7   
8   package com.liferay.client.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 java.lang.String data;
18  
19      private long primaryKey;
20  
21      private long rowId;
22  
23      private long tableId;
24  
25      private long valueId;
26  
27      public ExpandoValueSoap() {
28      }
29  
30      public ExpandoValueSoap(
31             long classNameId,
32             long classPK,
33             long columnId,
34             java.lang.String data,
35             long primaryKey,
36             long rowId,
37             long tableId,
38             long valueId) {
39             this.classNameId = classNameId;
40             this.classPK = classPK;
41             this.columnId = columnId;
42             this.data = data;
43             this.primaryKey = primaryKey;
44             this.rowId = rowId;
45             this.tableId = tableId;
46             this.valueId = valueId;
47      }
48  
49  
50      /**
51       * Gets the classNameId value for this ExpandoValueSoap.
52       * 
53       * @return classNameId
54       */
55      public long getClassNameId() {
56          return classNameId;
57      }
58  
59  
60      /**
61       * Sets the classNameId value for this ExpandoValueSoap.
62       * 
63       * @param classNameId
64       */
65      public void setClassNameId(long classNameId) {
66          this.classNameId = classNameId;
67      }
68  
69  
70      /**
71       * Gets the classPK value for this ExpandoValueSoap.
72       * 
73       * @return classPK
74       */
75      public long getClassPK() {
76          return classPK;
77      }
78  
79  
80      /**
81       * Sets the classPK value for this ExpandoValueSoap.
82       * 
83       * @param classPK
84       */
85      public void setClassPK(long classPK) {
86          this.classPK = classPK;
87      }
88  
89  
90      /**
91       * Gets the columnId value for this ExpandoValueSoap.
92       * 
93       * @return columnId
94       */
95      public long getColumnId() {
96          return columnId;
97      }
98  
99  
100     /**
101      * Sets the columnId value for this ExpandoValueSoap.
102      * 
103      * @param columnId
104      */
105     public void setColumnId(long columnId) {
106         this.columnId = columnId;
107     }
108 
109 
110     /**
111      * Gets the data value for this ExpandoValueSoap.
112      * 
113      * @return data
114      */
115     public java.lang.String getData() {
116         return data;
117     }
118 
119 
120     /**
121      * Sets the data value for this ExpandoValueSoap.
122      * 
123      * @param data
124      */
125     public void setData(java.lang.String data) {
126         this.data = data;
127     }
128 
129 
130     /**
131      * Gets the primaryKey value for this ExpandoValueSoap.
132      * 
133      * @return primaryKey
134      */
135     public long getPrimaryKey() {
136         return primaryKey;
137     }
138 
139 
140     /**
141      * Sets the primaryKey value for this ExpandoValueSoap.
142      * 
143      * @param primaryKey
144      */
145     public void setPrimaryKey(long primaryKey) {
146         this.primaryKey = primaryKey;
147     }
148 
149 
150     /**
151      * Gets the rowId value for this ExpandoValueSoap.
152      * 
153      * @return rowId
154      */
155     public long getRowId() {
156         return rowId;
157     }
158 
159 
160     /**
161      * Sets the rowId value for this ExpandoValueSoap.
162      * 
163      * @param rowId
164      */
165     public void setRowId(long rowId) {
166         this.rowId = rowId;
167     }
168 
169 
170     /**
171      * Gets the tableId value for this ExpandoValueSoap.
172      * 
173      * @return tableId
174      */
175     public long getTableId() {
176         return tableId;
177     }
178 
179 
180     /**
181      * Sets the tableId value for this ExpandoValueSoap.
182      * 
183      * @param tableId
184      */
185     public void setTableId(long tableId) {
186         this.tableId = tableId;
187     }
188 
189 
190     /**
191      * Gets the valueId value for this ExpandoValueSoap.
192      * 
193      * @return valueId
194      */
195     public long getValueId() {
196         return valueId;
197     }
198 
199 
200     /**
201      * Sets the valueId value for this ExpandoValueSoap.
202      * 
203      * @param valueId
204      */
205     public void setValueId(long valueId) {
206         this.valueId = valueId;
207     }
208 
209     private java.lang.Object __equalsCalc = null;
210     public synchronized boolean equals(java.lang.Object obj) {
211         if (!(obj instanceof ExpandoValueSoap)) return false;
212         ExpandoValueSoap other = (ExpandoValueSoap) obj;
213         if (obj == null) return false;
214         if (this == obj) return true;
215         if (__equalsCalc != null) {
216             return (__equalsCalc == obj);
217         }
218         __equalsCalc = obj;
219         boolean _equals;
220         _equals = true && 
221             this.classNameId == other.getClassNameId() &&
222             this.classPK == other.getClassPK() &&
223             this.columnId == other.getColumnId() &&
224             ((this.data==null && other.getData()==null) || 
225              (this.data!=null &&
226               this.data.equals(other.getData()))) &&
227             this.primaryKey == other.getPrimaryKey() &&
228             this.rowId == other.getRowId() &&
229             this.tableId == other.getTableId() &&
230             this.valueId == other.getValueId();
231         __equalsCalc = null;
232         return _equals;
233     }
234 
235     private boolean __hashCodeCalc = false;
236     public synchronized int hashCode() {
237         if (__hashCodeCalc) {
238             return 0;
239         }
240         __hashCodeCalc = true;
241         int _hashCode = 1;
242         _hashCode += new Long(getClassNameId()).hashCode();
243         _hashCode += new Long(getClassPK()).hashCode();
244         _hashCode += new Long(getColumnId()).hashCode();
245         if (getData() != null) {
246             _hashCode += getData().hashCode();
247         }
248         _hashCode += new Long(getPrimaryKey()).hashCode();
249         _hashCode += new Long(getRowId()).hashCode();
250         _hashCode += new Long(getTableId()).hashCode();
251         _hashCode += new Long(getValueId()).hashCode();
252         __hashCodeCalc = false;
253         return _hashCode;
254     }
255 
256     // Type metadata
257     private static org.apache.axis.description.TypeDesc typeDesc =
258         new org.apache.axis.description.TypeDesc(ExpandoValueSoap.class, true);
259 
260     static {
261         typeDesc.setXmlType(new javax.xml.namespace.QName("http://model.expando.portlet.liferay.com", "ExpandoValueSoap"));
262         org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
263         elemField.setFieldName("classNameId");
264         elemField.setXmlName(new javax.xml.namespace.QName("", "classNameId"));
265         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
266         elemField.setNillable(false);
267         typeDesc.addFieldDesc(elemField);
268         elemField = new org.apache.axis.description.ElementDesc();
269         elemField.setFieldName("classPK");
270         elemField.setXmlName(new javax.xml.namespace.QName("", "classPK"));
271         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
272         elemField.setNillable(false);
273         typeDesc.addFieldDesc(elemField);
274         elemField = new org.apache.axis.description.ElementDesc();
275         elemField.setFieldName("columnId");
276         elemField.setXmlName(new javax.xml.namespace.QName("", "columnId"));
277         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
278         elemField.setNillable(false);
279         typeDesc.addFieldDesc(elemField);
280         elemField = new org.apache.axis.description.ElementDesc();
281         elemField.setFieldName("data");
282         elemField.setXmlName(new javax.xml.namespace.QName("", "data"));
283         elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
284         elemField.setNillable(true);
285         typeDesc.addFieldDesc(elemField);
286         elemField = new org.apache.axis.description.ElementDesc();
287         elemField.setFieldName("primaryKey");
288         elemField.setXmlName(new javax.xml.namespace.QName("", "primaryKey"));
289         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
290         elemField.setNillable(false);
291         typeDesc.addFieldDesc(elemField);
292         elemField = new org.apache.axis.description.ElementDesc();
293         elemField.setFieldName("rowId");
294         elemField.setXmlName(new javax.xml.namespace.QName("", "rowId"));
295         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
296         elemField.setNillable(false);
297         typeDesc.addFieldDesc(elemField);
298         elemField = new org.apache.axis.description.ElementDesc();
299         elemField.setFieldName("tableId");
300         elemField.setXmlName(new javax.xml.namespace.QName("", "tableId"));
301         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
302         elemField.setNillable(false);
303         typeDesc.addFieldDesc(elemField);
304         elemField = new org.apache.axis.description.ElementDesc();
305         elemField.setFieldName("valueId");
306         elemField.setXmlName(new javax.xml.namespace.QName("", "valueId"));
307         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
308         elemField.setNillable(false);
309         typeDesc.addFieldDesc(elemField);
310     }
311 
312     /**
313      * Return type metadata object
314      */
315     public static org.apache.axis.description.TypeDesc getTypeDesc() {
316         return typeDesc;
317     }
318 
319     /**
320      * Get Custom Serializer
321      */
322     public static org.apache.axis.encoding.Serializer getSerializer(
323            java.lang.String mechType, 
324            java.lang.Class _javaType,  
325            javax.xml.namespace.QName _xmlType) {
326         return 
327           new  org.apache.axis.encoding.ser.BeanSerializer(
328             _javaType, _xmlType, typeDesc);
329     }
330 
331     /**
332      * Get Custom Deserializer
333      */
334     public static org.apache.axis.encoding.Deserializer getDeserializer(
335            java.lang.String mechType, 
336            java.lang.Class _javaType,  
337            javax.xml.namespace.QName _xmlType) {
338         return 
339           new  org.apache.axis.encoding.ser.BeanDeserializer(
340             _javaType, _xmlType, typeDesc);
341     }
342 
343 }
344