1
7
8 package com.liferay.client.soap.portlet.documentlibrary.model;
9
10 public class DLFileShortcutSoap implements java.io.Serializable {
11 private long companyId;
12
13 private java.util.Calendar createDate;
14
15 private long fileShortcutId;
16
17 private long folderId;
18
19 private long groupId;
20
21 private java.util.Calendar modifiedDate;
22
23 private long primaryKey;
24
25 private long toFolderId;
26
27 private java.lang.String toName;
28
29 private long userId;
30
31 private java.lang.String userName;
32
33 private java.lang.String uuid;
34
35 public DLFileShortcutSoap() {
36 }
37
38 public DLFileShortcutSoap(
39 long companyId,
40 java.util.Calendar createDate,
41 long fileShortcutId,
42 long folderId,
43 long groupId,
44 java.util.Calendar modifiedDate,
45 long primaryKey,
46 long toFolderId,
47 java.lang.String toName,
48 long userId,
49 java.lang.String userName,
50 java.lang.String uuid) {
51 this.companyId = companyId;
52 this.createDate = createDate;
53 this.fileShortcutId = fileShortcutId;
54 this.folderId = folderId;
55 this.groupId = groupId;
56 this.modifiedDate = modifiedDate;
57 this.primaryKey = primaryKey;
58 this.toFolderId = toFolderId;
59 this.toName = toName;
60 this.userId = userId;
61 this.userName = userName;
62 this.uuid = uuid;
63 }
64
65
66
71 public long getCompanyId() {
72 return companyId;
73 }
74
75
76
81 public void setCompanyId(long companyId) {
82 this.companyId = companyId;
83 }
84
85
86
91 public java.util.Calendar getCreateDate() {
92 return createDate;
93 }
94
95
96
101 public void setCreateDate(java.util.Calendar createDate) {
102 this.createDate = createDate;
103 }
104
105
106
111 public long getFileShortcutId() {
112 return fileShortcutId;
113 }
114
115
116
121 public void setFileShortcutId(long fileShortcutId) {
122 this.fileShortcutId = fileShortcutId;
123 }
124
125
126
131 public long getFolderId() {
132 return folderId;
133 }
134
135
136
141 public void setFolderId(long folderId) {
142 this.folderId = folderId;
143 }
144
145
146
151 public long getGroupId() {
152 return groupId;
153 }
154
155
156
161 public void setGroupId(long groupId) {
162 this.groupId = groupId;
163 }
164
165
166
171 public java.util.Calendar getModifiedDate() {
172 return modifiedDate;
173 }
174
175
176
181 public void setModifiedDate(java.util.Calendar modifiedDate) {
182 this.modifiedDate = modifiedDate;
183 }
184
185
186
191 public long getPrimaryKey() {
192 return primaryKey;
193 }
194
195
196
201 public void setPrimaryKey(long primaryKey) {
202 this.primaryKey = primaryKey;
203 }
204
205
206
211 public long getToFolderId() {
212 return toFolderId;
213 }
214
215
216
221 public void setToFolderId(long toFolderId) {
222 this.toFolderId = toFolderId;
223 }
224
225
226
231 public java.lang.String getToName() {
232 return toName;
233 }
234
235
236
241 public void setToName(java.lang.String toName) {
242 this.toName = toName;
243 }
244
245
246
251 public long getUserId() {
252 return userId;
253 }
254
255
256
261 public void setUserId(long userId) {
262 this.userId = userId;
263 }
264
265
266
271 public java.lang.String getUserName() {
272 return userName;
273 }
274
275
276
281 public void setUserName(java.lang.String userName) {
282 this.userName = userName;
283 }
284
285
286
291 public java.lang.String getUuid() {
292 return uuid;
293 }
294
295
296
301 public void setUuid(java.lang.String uuid) {
302 this.uuid = uuid;
303 }
304
305 private java.lang.Object __equalsCalc = null;
306 public synchronized boolean equals(java.lang.Object obj) {
307 if (!(obj instanceof DLFileShortcutSoap)) return false;
308 DLFileShortcutSoap other = (DLFileShortcutSoap) obj;
309 if (obj == null) return false;
310 if (this == obj) return true;
311 if (__equalsCalc != null) {
312 return (__equalsCalc == obj);
313 }
314 __equalsCalc = obj;
315 boolean _equals;
316 _equals = true &&
317 this.companyId == other.getCompanyId() &&
318 ((this.createDate==null && other.getCreateDate()==null) ||
319 (this.createDate!=null &&
320 this.createDate.equals(other.getCreateDate()))) &&
321 this.fileShortcutId == other.getFileShortcutId() &&
322 this.folderId == other.getFolderId() &&
323 this.groupId == other.getGroupId() &&
324 ((this.modifiedDate==null && other.getModifiedDate()==null) ||
325 (this.modifiedDate!=null &&
326 this.modifiedDate.equals(other.getModifiedDate()))) &&
327 this.primaryKey == other.getPrimaryKey() &&
328 this.toFolderId == other.getToFolderId() &&
329 ((this.toName==null && other.getToName()==null) ||
330 (this.toName!=null &&
331 this.toName.equals(other.getToName()))) &&
332 this.userId == other.getUserId() &&
333 ((this.userName==null && other.getUserName()==null) ||
334 (this.userName!=null &&
335 this.userName.equals(other.getUserName()))) &&
336 ((this.uuid==null && other.getUuid()==null) ||
337 (this.uuid!=null &&
338 this.uuid.equals(other.getUuid())));
339 __equalsCalc = null;
340 return _equals;
341 }
342
343 private boolean __hashCodeCalc = false;
344 public synchronized int hashCode() {
345 if (__hashCodeCalc) {
346 return 0;
347 }
348 __hashCodeCalc = true;
349 int _hashCode = 1;
350 _hashCode += new Long(getCompanyId()).hashCode();
351 if (getCreateDate() != null) {
352 _hashCode += getCreateDate().hashCode();
353 }
354 _hashCode += new Long(getFileShortcutId()).hashCode();
355 _hashCode += new Long(getFolderId()).hashCode();
356 _hashCode += new Long(getGroupId()).hashCode();
357 if (getModifiedDate() != null) {
358 _hashCode += getModifiedDate().hashCode();
359 }
360 _hashCode += new Long(getPrimaryKey()).hashCode();
361 _hashCode += new Long(getToFolderId()).hashCode();
362 if (getToName() != null) {
363 _hashCode += getToName().hashCode();
364 }
365 _hashCode += new Long(getUserId()).hashCode();
366 if (getUserName() != null) {
367 _hashCode += getUserName().hashCode();
368 }
369 if (getUuid() != null) {
370 _hashCode += getUuid().hashCode();
371 }
372 __hashCodeCalc = false;
373 return _hashCode;
374 }
375
376 private static org.apache.axis.description.TypeDesc typeDesc =
378 new org.apache.axis.description.TypeDesc(DLFileShortcutSoap.class, true);
379
380 static {
381 typeDesc.setXmlType(new javax.xml.namespace.QName("http://model.documentlibrary.portlet.liferay.com", "DLFileShortcutSoap"));
382 org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
383 elemField.setFieldName("companyId");
384 elemField.setXmlName(new javax.xml.namespace.QName("", "companyId"));
385 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
386 elemField.setNillable(false);
387 typeDesc.addFieldDesc(elemField);
388 elemField = new org.apache.axis.description.ElementDesc();
389 elemField.setFieldName("createDate");
390 elemField.setXmlName(new javax.xml.namespace.QName("", "createDate"));
391 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime"));
392 elemField.setNillable(true);
393 typeDesc.addFieldDesc(elemField);
394 elemField = new org.apache.axis.description.ElementDesc();
395 elemField.setFieldName("fileShortcutId");
396 elemField.setXmlName(new javax.xml.namespace.QName("", "fileShortcutId"));
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("folderId");
402 elemField.setXmlName(new javax.xml.namespace.QName("", "folderId"));
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("groupId");
408 elemField.setXmlName(new javax.xml.namespace.QName("", "groupId"));
409 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
410 elemField.setNillable(false);
411 typeDesc.addFieldDesc(elemField);
412 elemField = new org.apache.axis.description.ElementDesc();
413 elemField.setFieldName("modifiedDate");
414 elemField.setXmlName(new javax.xml.namespace.QName("", "modifiedDate"));
415 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime"));
416 elemField.setNillable(true);
417 typeDesc.addFieldDesc(elemField);
418 elemField = new org.apache.axis.description.ElementDesc();
419 elemField.setFieldName("primaryKey");
420 elemField.setXmlName(new javax.xml.namespace.QName("", "primaryKey"));
421 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
422 elemField.setNillable(false);
423 typeDesc.addFieldDesc(elemField);
424 elemField = new org.apache.axis.description.ElementDesc();
425 elemField.setFieldName("toFolderId");
426 elemField.setXmlName(new javax.xml.namespace.QName("", "toFolderId"));
427 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
428 elemField.setNillable(false);
429 typeDesc.addFieldDesc(elemField);
430 elemField = new org.apache.axis.description.ElementDesc();
431 elemField.setFieldName("toName");
432 elemField.setXmlName(new javax.xml.namespace.QName("", "toName"));
433 elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
434 elemField.setNillable(true);
435 typeDesc.addFieldDesc(elemField);
436 elemField = new org.apache.axis.description.ElementDesc();
437 elemField.setFieldName("userId");
438 elemField.setXmlName(new javax.xml.namespace.QName("", "userId"));
439 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
440 elemField.setNillable(false);
441 typeDesc.addFieldDesc(elemField);
442 elemField = new org.apache.axis.description.ElementDesc();
443 elemField.setFieldName("userName");
444 elemField.setXmlName(new javax.xml.namespace.QName("", "userName"));
445 elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
446 elemField.setNillable(true);
447 typeDesc.addFieldDesc(elemField);
448 elemField = new org.apache.axis.description.ElementDesc();
449 elemField.setFieldName("uuid");
450 elemField.setXmlName(new javax.xml.namespace.QName("", "uuid"));
451 elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
452 elemField.setNillable(true);
453 typeDesc.addFieldDesc(elemField);
454 }
455
456
459 public static org.apache.axis.description.TypeDesc getTypeDesc() {
460 return typeDesc;
461 }
462
463
466 public static org.apache.axis.encoding.Serializer getSerializer(
467 java.lang.String mechType,
468 java.lang.Class _javaType,
469 javax.xml.namespace.QName _xmlType) {
470 return
471 new org.apache.axis.encoding.ser.BeanSerializer(
472 _javaType, _xmlType, typeDesc);
473 }
474
475
478 public static org.apache.axis.encoding.Deserializer getDeserializer(
479 java.lang.String mechType,
480 java.lang.Class _javaType,
481 javax.xml.namespace.QName _xmlType) {
482 return
483 new org.apache.axis.encoding.ser.BeanDeserializer(
484 _javaType, _xmlType, typeDesc);
485 }
486
487 }
488