1
7
8 package com.liferay.client.soap.portlet.tags.model;
9
10 public class TagsPropertySoap implements java.io.Serializable {
11 private long companyId;
12
13 private java.util.Calendar createDate;
14
15 private long entryId;
16
17 private java.lang.String key;
18
19 private java.util.Calendar modifiedDate;
20
21 private long primaryKey;
22
23 private long propertyId;
24
25 private long userId;
26
27 private java.lang.String userName;
28
29 private java.lang.String value;
30
31 public TagsPropertySoap() {
32 }
33
34 public TagsPropertySoap(
35 long companyId,
36 java.util.Calendar createDate,
37 long entryId,
38 java.lang.String key,
39 java.util.Calendar modifiedDate,
40 long primaryKey,
41 long propertyId,
42 long userId,
43 java.lang.String userName,
44 java.lang.String value) {
45 this.companyId = companyId;
46 this.createDate = createDate;
47 this.entryId = entryId;
48 this.key = key;
49 this.modifiedDate = modifiedDate;
50 this.primaryKey = primaryKey;
51 this.propertyId = propertyId;
52 this.userId = userId;
53 this.userName = userName;
54 this.value = value;
55 }
56
57
58
63 public long getCompanyId() {
64 return companyId;
65 }
66
67
68
73 public void setCompanyId(long companyId) {
74 this.companyId = companyId;
75 }
76
77
78
83 public java.util.Calendar getCreateDate() {
84 return createDate;
85 }
86
87
88
93 public void setCreateDate(java.util.Calendar createDate) {
94 this.createDate = createDate;
95 }
96
97
98
103 public long getEntryId() {
104 return entryId;
105 }
106
107
108
113 public void setEntryId(long entryId) {
114 this.entryId = entryId;
115 }
116
117
118
123 public java.lang.String getKey() {
124 return key;
125 }
126
127
128
133 public void setKey(java.lang.String key) {
134 this.key = key;
135 }
136
137
138
143 public java.util.Calendar getModifiedDate() {
144 return modifiedDate;
145 }
146
147
148
153 public void setModifiedDate(java.util.Calendar modifiedDate) {
154 this.modifiedDate = modifiedDate;
155 }
156
157
158
163 public long getPrimaryKey() {
164 return primaryKey;
165 }
166
167
168
173 public void setPrimaryKey(long primaryKey) {
174 this.primaryKey = primaryKey;
175 }
176
177
178
183 public long getPropertyId() {
184 return propertyId;
185 }
186
187
188
193 public void setPropertyId(long propertyId) {
194 this.propertyId = propertyId;
195 }
196
197
198
203 public long getUserId() {
204 return userId;
205 }
206
207
208
213 public void setUserId(long userId) {
214 this.userId = userId;
215 }
216
217
218
223 public java.lang.String getUserName() {
224 return userName;
225 }
226
227
228
233 public void setUserName(java.lang.String userName) {
234 this.userName = userName;
235 }
236
237
238
243 public java.lang.String getValue() {
244 return value;
245 }
246
247
248
253 public void setValue(java.lang.String value) {
254 this.value = value;
255 }
256
257 private java.lang.Object __equalsCalc = null;
258 public synchronized boolean equals(java.lang.Object obj) {
259 if (!(obj instanceof TagsPropertySoap)) return false;
260 TagsPropertySoap other = (TagsPropertySoap) obj;
261 if (obj == null) return false;
262 if (this == obj) return true;
263 if (__equalsCalc != null) {
264 return (__equalsCalc == obj);
265 }
266 __equalsCalc = obj;
267 boolean _equals;
268 _equals = true &&
269 this.companyId == other.getCompanyId() &&
270 ((this.createDate==null && other.getCreateDate()==null) ||
271 (this.createDate!=null &&
272 this.createDate.equals(other.getCreateDate()))) &&
273 this.entryId == other.getEntryId() &&
274 ((this.key==null && other.getKey()==null) ||
275 (this.key!=null &&
276 this.key.equals(other.getKey()))) &&
277 ((this.modifiedDate==null && other.getModifiedDate()==null) ||
278 (this.modifiedDate!=null &&
279 this.modifiedDate.equals(other.getModifiedDate()))) &&
280 this.primaryKey == other.getPrimaryKey() &&
281 this.propertyId == other.getPropertyId() &&
282 this.userId == other.getUserId() &&
283 ((this.userName==null && other.getUserName()==null) ||
284 (this.userName!=null &&
285 this.userName.equals(other.getUserName()))) &&
286 ((this.value==null && other.getValue()==null) ||
287 (this.value!=null &&
288 this.value.equals(other.getValue())));
289 __equalsCalc = null;
290 return _equals;
291 }
292
293 private boolean __hashCodeCalc = false;
294 public synchronized int hashCode() {
295 if (__hashCodeCalc) {
296 return 0;
297 }
298 __hashCodeCalc = true;
299 int _hashCode = 1;
300 _hashCode += new Long(getCompanyId()).hashCode();
301 if (getCreateDate() != null) {
302 _hashCode += getCreateDate().hashCode();
303 }
304 _hashCode += new Long(getEntryId()).hashCode();
305 if (getKey() != null) {
306 _hashCode += getKey().hashCode();
307 }
308 if (getModifiedDate() != null) {
309 _hashCode += getModifiedDate().hashCode();
310 }
311 _hashCode += new Long(getPrimaryKey()).hashCode();
312 _hashCode += new Long(getPropertyId()).hashCode();
313 _hashCode += new Long(getUserId()).hashCode();
314 if (getUserName() != null) {
315 _hashCode += getUserName().hashCode();
316 }
317 if (getValue() != null) {
318 _hashCode += getValue().hashCode();
319 }
320 __hashCodeCalc = false;
321 return _hashCode;
322 }
323
324 private static org.apache.axis.description.TypeDesc typeDesc =
326 new org.apache.axis.description.TypeDesc(TagsPropertySoap.class, true);
327
328 static {
329 typeDesc.setXmlType(new javax.xml.namespace.QName("http://model.tags.portlet.liferay.com", "TagsPropertySoap"));
330 org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
331 elemField.setFieldName("companyId");
332 elemField.setXmlName(new javax.xml.namespace.QName("", "companyId"));
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("createDate");
338 elemField.setXmlName(new javax.xml.namespace.QName("", "createDate"));
339 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime"));
340 elemField.setNillable(true);
341 typeDesc.addFieldDesc(elemField);
342 elemField = new org.apache.axis.description.ElementDesc();
343 elemField.setFieldName("entryId");
344 elemField.setXmlName(new javax.xml.namespace.QName("", "entryId"));
345 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
346 elemField.setNillable(false);
347 typeDesc.addFieldDesc(elemField);
348 elemField = new org.apache.axis.description.ElementDesc();
349 elemField.setFieldName("key");
350 elemField.setXmlName(new javax.xml.namespace.QName("", "key"));
351 elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
352 elemField.setNillable(true);
353 typeDesc.addFieldDesc(elemField);
354 elemField = new org.apache.axis.description.ElementDesc();
355 elemField.setFieldName("modifiedDate");
356 elemField.setXmlName(new javax.xml.namespace.QName("", "modifiedDate"));
357 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime"));
358 elemField.setNillable(true);
359 typeDesc.addFieldDesc(elemField);
360 elemField = new org.apache.axis.description.ElementDesc();
361 elemField.setFieldName("primaryKey");
362 elemField.setXmlName(new javax.xml.namespace.QName("", "primaryKey"));
363 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
364 elemField.setNillable(false);
365 typeDesc.addFieldDesc(elemField);
366 elemField = new org.apache.axis.description.ElementDesc();
367 elemField.setFieldName("propertyId");
368 elemField.setXmlName(new javax.xml.namespace.QName("", "propertyId"));
369 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
370 elemField.setNillable(false);
371 typeDesc.addFieldDesc(elemField);
372 elemField = new org.apache.axis.description.ElementDesc();
373 elemField.setFieldName("userId");
374 elemField.setXmlName(new javax.xml.namespace.QName("", "userId"));
375 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
376 elemField.setNillable(false);
377 typeDesc.addFieldDesc(elemField);
378 elemField = new org.apache.axis.description.ElementDesc();
379 elemField.setFieldName("userName");
380 elemField.setXmlName(new javax.xml.namespace.QName("", "userName"));
381 elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
382 elemField.setNillable(true);
383 typeDesc.addFieldDesc(elemField);
384 elemField = new org.apache.axis.description.ElementDesc();
385 elemField.setFieldName("value");
386 elemField.setXmlName(new javax.xml.namespace.QName("", "value"));
387 elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
388 elemField.setNillable(true);
389 typeDesc.addFieldDesc(elemField);
390 }
391
392
395 public static org.apache.axis.description.TypeDesc getTypeDesc() {
396 return typeDesc;
397 }
398
399
402 public static org.apache.axis.encoding.Serializer getSerializer(
403 java.lang.String mechType,
404 java.lang.Class _javaType,
405 javax.xml.namespace.QName _xmlType) {
406 return
407 new org.apache.axis.encoding.ser.BeanSerializer(
408 _javaType, _xmlType, typeDesc);
409 }
410
411
414 public static org.apache.axis.encoding.Deserializer getDeserializer(
415 java.lang.String mechType,
416 java.lang.Class _javaType,
417 javax.xml.namespace.QName _xmlType) {
418 return
419 new org.apache.axis.encoding.ser.BeanDeserializer(
420 _javaType, _xmlType, typeDesc);
421 }
422
423 }
424