1
7
8 package com.liferay.client.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 java.util.Calendar modifiedDate;
20
21 private long primaryKey;
22
23 private long toFolderId;
24
25 private java.lang.String toName;
26
27 private long userId;
28
29 private java.lang.String userName;
30
31 private java.lang.String uuid;
32
33 public DLFileShortcutSoap() {
34 }
35
36 public DLFileShortcutSoap(
37 long companyId,
38 java.util.Calendar createDate,
39 long fileShortcutId,
40 long folderId,
41 java.util.Calendar modifiedDate,
42 long primaryKey,
43 long toFolderId,
44 java.lang.String toName,
45 long userId,
46 java.lang.String userName,
47 java.lang.String uuid) {
48 this.companyId = companyId;
49 this.createDate = createDate;
50 this.fileShortcutId = fileShortcutId;
51 this.folderId = folderId;
52 this.modifiedDate = modifiedDate;
53 this.primaryKey = primaryKey;
54 this.toFolderId = toFolderId;
55 this.toName = toName;
56 this.userId = userId;
57 this.userName = userName;
58 this.uuid = uuid;
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 getFileShortcutId() {
108 return fileShortcutId;
109 }
110
111
112
117 public void setFileShortcutId(long fileShortcutId) {
118 this.fileShortcutId = fileShortcutId;
119 }
120
121
122
127 public long getFolderId() {
128 return folderId;
129 }
130
131
132
137 public void setFolderId(long folderId) {
138 this.folderId = folderId;
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 long getPrimaryKey() {
168 return primaryKey;
169 }
170
171
172
177 public void setPrimaryKey(long primaryKey) {
178 this.primaryKey = primaryKey;
179 }
180
181
182
187 public long getToFolderId() {
188 return toFolderId;
189 }
190
191
192
197 public void setToFolderId(long toFolderId) {
198 this.toFolderId = toFolderId;
199 }
200
201
202
207 public java.lang.String getToName() {
208 return toName;
209 }
210
211
212
217 public void setToName(java.lang.String toName) {
218 this.toName = toName;
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 java.lang.String getUuid() {
268 return uuid;
269 }
270
271
272
277 public void setUuid(java.lang.String uuid) {
278 this.uuid = uuid;
279 }
280
281 private java.lang.Object __equalsCalc = null;
282 public synchronized boolean equals(java.lang.Object obj) {
283 if (!(obj instanceof DLFileShortcutSoap)) return false;
284 DLFileShortcutSoap other = (DLFileShortcutSoap) 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.fileShortcutId == other.getFileShortcutId() &&
298 this.folderId == other.getFolderId() &&
299 ((this.modifiedDate==null && other.getModifiedDate()==null) ||
300 (this.modifiedDate!=null &&
301 this.modifiedDate.equals(other.getModifiedDate()))) &&
302 this.primaryKey == other.getPrimaryKey() &&
303 this.toFolderId == other.getToFolderId() &&
304 ((this.toName==null && other.getToName()==null) ||
305 (this.toName!=null &&
306 this.toName.equals(other.getToName()))) &&
307 this.userId == other.getUserId() &&
308 ((this.userName==null && other.getUserName()==null) ||
309 (this.userName!=null &&
310 this.userName.equals(other.getUserName()))) &&
311 ((this.uuid==null && other.getUuid()==null) ||
312 (this.uuid!=null &&
313 this.uuid.equals(other.getUuid())));
314 __equalsCalc = null;
315 return _equals;
316 }
317
318 private boolean __hashCodeCalc = false;
319 public synchronized int hashCode() {
320 if (__hashCodeCalc) {
321 return 0;
322 }
323 __hashCodeCalc = true;
324 int _hashCode = 1;
325 _hashCode += new Long(getCompanyId()).hashCode();
326 if (getCreateDate() != null) {
327 _hashCode += getCreateDate().hashCode();
328 }
329 _hashCode += new Long(getFileShortcutId()).hashCode();
330 _hashCode += new Long(getFolderId()).hashCode();
331 if (getModifiedDate() != null) {
332 _hashCode += getModifiedDate().hashCode();
333 }
334 _hashCode += new Long(getPrimaryKey()).hashCode();
335 _hashCode += new Long(getToFolderId()).hashCode();
336 if (getToName() != null) {
337 _hashCode += getToName().hashCode();
338 }
339 _hashCode += new Long(getUserId()).hashCode();
340 if (getUserName() != null) {
341 _hashCode += getUserName().hashCode();
342 }
343 if (getUuid() != null) {
344 _hashCode += getUuid().hashCode();
345 }
346 __hashCodeCalc = false;
347 return _hashCode;
348 }
349
350 private static org.apache.axis.description.TypeDesc typeDesc =
352 new org.apache.axis.description.TypeDesc(DLFileShortcutSoap.class, true);
353
354 static {
355 typeDesc.setXmlType(new javax.xml.namespace.QName("http://model.documentlibrary.portlet.liferay.com", "DLFileShortcutSoap"));
356 org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
357 elemField.setFieldName("companyId");
358 elemField.setXmlName(new javax.xml.namespace.QName("", "companyId"));
359 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
360 elemField.setNillable(false);
361 typeDesc.addFieldDesc(elemField);
362 elemField = new org.apache.axis.description.ElementDesc();
363 elemField.setFieldName("createDate");
364 elemField.setXmlName(new javax.xml.namespace.QName("", "createDate"));
365 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime"));
366 elemField.setNillable(true);
367 typeDesc.addFieldDesc(elemField);
368 elemField = new org.apache.axis.description.ElementDesc();
369 elemField.setFieldName("fileShortcutId");
370 elemField.setXmlName(new javax.xml.namespace.QName("", "fileShortcutId"));
371 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
372 elemField.setNillable(false);
373 typeDesc.addFieldDesc(elemField);
374 elemField = new org.apache.axis.description.ElementDesc();
375 elemField.setFieldName("folderId");
376 elemField.setXmlName(new javax.xml.namespace.QName("", "folderId"));
377 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
378 elemField.setNillable(false);
379 typeDesc.addFieldDesc(elemField);
380 elemField = new org.apache.axis.description.ElementDesc();
381 elemField.setFieldName("modifiedDate");
382 elemField.setXmlName(new javax.xml.namespace.QName("", "modifiedDate"));
383 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime"));
384 elemField.setNillable(true);
385 typeDesc.addFieldDesc(elemField);
386 elemField = new org.apache.axis.description.ElementDesc();
387 elemField.setFieldName("primaryKey");
388 elemField.setXmlName(new javax.xml.namespace.QName("", "primaryKey"));
389 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
390 elemField.setNillable(false);
391 typeDesc.addFieldDesc(elemField);
392 elemField = new org.apache.axis.description.ElementDesc();
393 elemField.setFieldName("toFolderId");
394 elemField.setXmlName(new javax.xml.namespace.QName("", "toFolderId"));
395 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
396 elemField.setNillable(false);
397 typeDesc.addFieldDesc(elemField);
398 elemField = new org.apache.axis.description.ElementDesc();
399 elemField.setFieldName("toName");
400 elemField.setXmlName(new javax.xml.namespace.QName("", "toName"));
401 elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
402 elemField.setNillable(true);
403 typeDesc.addFieldDesc(elemField);
404 elemField = new org.apache.axis.description.ElementDesc();
405 elemField.setFieldName("userId");
406 elemField.setXmlName(new javax.xml.namespace.QName("", "userId"));
407 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
408 elemField.setNillable(false);
409 typeDesc.addFieldDesc(elemField);
410 elemField = new org.apache.axis.description.ElementDesc();
411 elemField.setFieldName("userName");
412 elemField.setXmlName(new javax.xml.namespace.QName("", "userName"));
413 elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
414 elemField.setNillable(true);
415 typeDesc.addFieldDesc(elemField);
416 elemField = new org.apache.axis.description.ElementDesc();
417 elemField.setFieldName("uuid");
418 elemField.setXmlName(new javax.xml.namespace.QName("", "uuid"));
419 elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
420 elemField.setNillable(true);
421 typeDesc.addFieldDesc(elemField);
422 }
423
424
427 public static org.apache.axis.description.TypeDesc getTypeDesc() {
428 return typeDesc;
429 }
430
431
434 public static org.apache.axis.encoding.Serializer getSerializer(
435 java.lang.String mechType,
436 java.lang.Class _javaType,
437 javax.xml.namespace.QName _xmlType) {
438 return
439 new org.apache.axis.encoding.ser.BeanSerializer(
440 _javaType, _xmlType, typeDesc);
441 }
442
443
446 public static org.apache.axis.encoding.Deserializer getDeserializer(
447 java.lang.String mechType,
448 java.lang.Class _javaType,
449 javax.xml.namespace.QName _xmlType) {
450 return
451 new org.apache.axis.encoding.ser.BeanDeserializer(
452 _javaType, _xmlType, typeDesc);
453 }
454
455 }
456