1
7
8 package com.liferay.client.soap.portlet.tags.model;
9
10 public class TagsEntrySoap implements java.io.Serializable {
11 private long companyId;
12
13 private java.util.Calendar createDate;
14
15 private long entryId;
16
17 private long groupId;
18
19 private java.util.Calendar modifiedDate;
20
21 private java.lang.String name;
22
23 private long parentEntryId;
24
25 private long primaryKey;
26
27 private long userId;
28
29 private java.lang.String userName;
30
31 private long vocabularyId;
32
33 public TagsEntrySoap() {
34 }
35
36 public TagsEntrySoap(
37 long companyId,
38 java.util.Calendar createDate,
39 long entryId,
40 long groupId,
41 java.util.Calendar modifiedDate,
42 java.lang.String name,
43 long parentEntryId,
44 long primaryKey,
45 long userId,
46 java.lang.String userName,
47 long vocabularyId) {
48 this.companyId = companyId;
49 this.createDate = createDate;
50 this.entryId = entryId;
51 this.groupId = groupId;
52 this.modifiedDate = modifiedDate;
53 this.name = name;
54 this.parentEntryId = parentEntryId;
55 this.primaryKey = primaryKey;
56 this.userId = userId;
57 this.userName = userName;
58 this.vocabularyId = vocabularyId;
59 }
60
61
62
67 public long getCompanyId() {
68 return companyId;
69 }
70
71
72
77 public void setCompanyId(long companyId) {
78 this.companyId = companyId;
79 }
80
81
82
87 public java.util.Calendar getCreateDate() {
88 return createDate;
89 }
90
91
92
97 public void setCreateDate(java.util.Calendar createDate) {
98 this.createDate = createDate;
99 }
100
101
102
107 public long getEntryId() {
108 return entryId;
109 }
110
111
112
117 public void setEntryId(long entryId) {
118 this.entryId = entryId;
119 }
120
121
122
127 public long getGroupId() {
128 return groupId;
129 }
130
131
132
137 public void setGroupId(long groupId) {
138 this.groupId = groupId;
139 }
140
141
142
147 public java.util.Calendar getModifiedDate() {
148 return modifiedDate;
149 }
150
151
152
157 public void setModifiedDate(java.util.Calendar modifiedDate) {
158 this.modifiedDate = modifiedDate;
159 }
160
161
162
167 public java.lang.String getName() {
168 return name;
169 }
170
171
172
177 public void setName(java.lang.String name) {
178 this.name = name;
179 }
180
181
182
187 public long getParentEntryId() {
188 return parentEntryId;
189 }
190
191
192
197 public void setParentEntryId(long parentEntryId) {
198 this.parentEntryId = parentEntryId;
199 }
200
201
202
207 public long getPrimaryKey() {
208 return primaryKey;
209 }
210
211
212
217 public void setPrimaryKey(long primaryKey) {
218 this.primaryKey = primaryKey;
219 }
220
221
222
227 public long getUserId() {
228 return userId;
229 }
230
231
232
237 public void setUserId(long userId) {
238 this.userId = userId;
239 }
240
241
242
247 public java.lang.String getUserName() {
248 return userName;
249 }
250
251
252
257 public void setUserName(java.lang.String userName) {
258 this.userName = userName;
259 }
260
261
262
267 public long getVocabularyId() {
268 return vocabularyId;
269 }
270
271
272
277 public void setVocabularyId(long vocabularyId) {
278 this.vocabularyId = vocabularyId;
279 }
280
281 private java.lang.Object __equalsCalc = null;
282 public synchronized boolean equals(java.lang.Object obj) {
283 if (!(obj instanceof TagsEntrySoap)) return false;
284 TagsEntrySoap other = (TagsEntrySoap) obj;
285 if (obj == null) return false;
286 if (this == obj) return true;
287 if (__equalsCalc != null) {
288 return (__equalsCalc == obj);
289 }
290 __equalsCalc = obj;
291 boolean _equals;
292 _equals = true &&
293 this.companyId == other.getCompanyId() &&
294 ((this.createDate==null && other.getCreateDate()==null) ||
295 (this.createDate!=null &&
296 this.createDate.equals(other.getCreateDate()))) &&
297 this.entryId == other.getEntryId() &&
298 this.groupId == other.getGroupId() &&
299 ((this.modifiedDate==null && other.getModifiedDate()==null) ||
300 (this.modifiedDate!=null &&
301 this.modifiedDate.equals(other.getModifiedDate()))) &&
302 ((this.name==null && other.getName()==null) ||
303 (this.name!=null &&
304 this.name.equals(other.getName()))) &&
305 this.parentEntryId == other.getParentEntryId() &&
306 this.primaryKey == other.getPrimaryKey() &&
307 this.userId == other.getUserId() &&
308 ((this.userName==null && other.getUserName()==null) ||
309 (this.userName!=null &&
310 this.userName.equals(other.getUserName()))) &&
311 this.vocabularyId == other.getVocabularyId();
312 __equalsCalc = null;
313 return _equals;
314 }
315
316 private boolean __hashCodeCalc = false;
317 public synchronized int hashCode() {
318 if (__hashCodeCalc) {
319 return 0;
320 }
321 __hashCodeCalc = true;
322 int _hashCode = 1;
323 _hashCode += new Long(getCompanyId()).hashCode();
324 if (getCreateDate() != null) {
325 _hashCode += getCreateDate().hashCode();
326 }
327 _hashCode += new Long(getEntryId()).hashCode();
328 _hashCode += new Long(getGroupId()).hashCode();
329 if (getModifiedDate() != null) {
330 _hashCode += getModifiedDate().hashCode();
331 }
332 if (getName() != null) {
333 _hashCode += getName().hashCode();
334 }
335 _hashCode += new Long(getParentEntryId()).hashCode();
336 _hashCode += new Long(getPrimaryKey()).hashCode();
337 _hashCode += new Long(getUserId()).hashCode();
338 if (getUserName() != null) {
339 _hashCode += getUserName().hashCode();
340 }
341 _hashCode += new Long(getVocabularyId()).hashCode();
342 __hashCodeCalc = false;
343 return _hashCode;
344 }
345
346 private static org.apache.axis.description.TypeDesc typeDesc =
348 new org.apache.axis.description.TypeDesc(TagsEntrySoap.class, true);
349
350 static {
351 typeDesc.setXmlType(new javax.xml.namespace.QName("http://model.tags.portlet.liferay.com", "TagsEntrySoap"));
352 org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
353 elemField.setFieldName("companyId");
354 elemField.setXmlName(new javax.xml.namespace.QName("", "companyId"));
355 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
356 elemField.setNillable(false);
357 typeDesc.addFieldDesc(elemField);
358 elemField = new org.apache.axis.description.ElementDesc();
359 elemField.setFieldName("createDate");
360 elemField.setXmlName(new javax.xml.namespace.QName("", "createDate"));
361 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime"));
362 elemField.setNillable(true);
363 typeDesc.addFieldDesc(elemField);
364 elemField = new org.apache.axis.description.ElementDesc();
365 elemField.setFieldName("entryId");
366 elemField.setXmlName(new javax.xml.namespace.QName("", "entryId"));
367 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
368 elemField.setNillable(false);
369 typeDesc.addFieldDesc(elemField);
370 elemField = new org.apache.axis.description.ElementDesc();
371 elemField.setFieldName("groupId");
372 elemField.setXmlName(new javax.xml.namespace.QName("", "groupId"));
373 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
374 elemField.setNillable(false);
375 typeDesc.addFieldDesc(elemField);
376 elemField = new org.apache.axis.description.ElementDesc();
377 elemField.setFieldName("modifiedDate");
378 elemField.setXmlName(new javax.xml.namespace.QName("", "modifiedDate"));
379 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime"));
380 elemField.setNillable(true);
381 typeDesc.addFieldDesc(elemField);
382 elemField = new org.apache.axis.description.ElementDesc();
383 elemField.setFieldName("name");
384 elemField.setXmlName(new javax.xml.namespace.QName("", "name"));
385 elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
386 elemField.setNillable(true);
387 typeDesc.addFieldDesc(elemField);
388 elemField = new org.apache.axis.description.ElementDesc();
389 elemField.setFieldName("parentEntryId");
390 elemField.setXmlName(new javax.xml.namespace.QName("", "parentEntryId"));
391 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
392 elemField.setNillable(false);
393 typeDesc.addFieldDesc(elemField);
394 elemField = new org.apache.axis.description.ElementDesc();
395 elemField.setFieldName("primaryKey");
396 elemField.setXmlName(new javax.xml.namespace.QName("", "primaryKey"));
397 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
398 elemField.setNillable(false);
399 typeDesc.addFieldDesc(elemField);
400 elemField = new org.apache.axis.description.ElementDesc();
401 elemField.setFieldName("userId");
402 elemField.setXmlName(new javax.xml.namespace.QName("", "userId"));
403 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
404 elemField.setNillable(false);
405 typeDesc.addFieldDesc(elemField);
406 elemField = new org.apache.axis.description.ElementDesc();
407 elemField.setFieldName("userName");
408 elemField.setXmlName(new javax.xml.namespace.QName("", "userName"));
409 elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
410 elemField.setNillable(true);
411 typeDesc.addFieldDesc(elemField);
412 elemField = new org.apache.axis.description.ElementDesc();
413 elemField.setFieldName("vocabularyId");
414 elemField.setXmlName(new javax.xml.namespace.QName("", "vocabularyId"));
415 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
416 elemField.setNillable(false);
417 typeDesc.addFieldDesc(elemField);
418 }
419
420
423 public static org.apache.axis.description.TypeDesc getTypeDesc() {
424 return typeDesc;
425 }
426
427
430 public static org.apache.axis.encoding.Serializer getSerializer(
431 java.lang.String mechType,
432 java.lang.Class _javaType,
433 javax.xml.namespace.QName _xmlType) {
434 return
435 new org.apache.axis.encoding.ser.BeanSerializer(
436 _javaType, _xmlType, typeDesc);
437 }
438
439
442 public static org.apache.axis.encoding.Deserializer getDeserializer(
443 java.lang.String mechType,
444 java.lang.Class _javaType,
445 javax.xml.namespace.QName _xmlType) {
446 return
447 new org.apache.axis.encoding.ser.BeanDeserializer(
448 _javaType, _xmlType, typeDesc);
449 }
450
451 }
452