1   /**
2    * DLFileShortcutSoap.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.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      /**
67       * Gets the companyId value for this DLFileShortcutSoap.
68       * 
69       * @return companyId
70       */
71      public long getCompanyId() {
72          return companyId;
73      }
74  
75  
76      /**
77       * Sets the companyId value for this DLFileShortcutSoap.
78       * 
79       * @param companyId
80       */
81      public void setCompanyId(long companyId) {
82          this.companyId = companyId;
83      }
84  
85  
86      /**
87       * Gets the createDate value for this DLFileShortcutSoap.
88       * 
89       * @return createDate
90       */
91      public java.util.Calendar getCreateDate() {
92          return createDate;
93      }
94  
95  
96      /**
97       * Sets the createDate value for this DLFileShortcutSoap.
98       * 
99       * @param createDate
100      */
101     public void setCreateDate(java.util.Calendar createDate) {
102         this.createDate = createDate;
103     }
104 
105 
106     /**
107      * Gets the fileShortcutId value for this DLFileShortcutSoap.
108      * 
109      * @return fileShortcutId
110      */
111     public long getFileShortcutId() {
112         return fileShortcutId;
113     }
114 
115 
116     /**
117      * Sets the fileShortcutId value for this DLFileShortcutSoap.
118      * 
119      * @param fileShortcutId
120      */
121     public void setFileShortcutId(long fileShortcutId) {
122         this.fileShortcutId = fileShortcutId;
123     }
124 
125 
126     /**
127      * Gets the folderId value for this DLFileShortcutSoap.
128      * 
129      * @return folderId
130      */
131     public long getFolderId() {
132         return folderId;
133     }
134 
135 
136     /**
137      * Sets the folderId value for this DLFileShortcutSoap.
138      * 
139      * @param folderId
140      */
141     public void setFolderId(long folderId) {
142         this.folderId = folderId;
143     }
144 
145 
146     /**
147      * Gets the groupId value for this DLFileShortcutSoap.
148      * 
149      * @return groupId
150      */
151     public long getGroupId() {
152         return groupId;
153     }
154 
155 
156     /**
157      * Sets the groupId value for this DLFileShortcutSoap.
158      * 
159      * @param groupId
160      */
161     public void setGroupId(long groupId) {
162         this.groupId = groupId;
163     }
164 
165 
166     /**
167      * Gets the modifiedDate value for this DLFileShortcutSoap.
168      * 
169      * @return modifiedDate
170      */
171     public java.util.Calendar getModifiedDate() {
172         return modifiedDate;
173     }
174 
175 
176     /**
177      * Sets the modifiedDate value for this DLFileShortcutSoap.
178      * 
179      * @param modifiedDate
180      */
181     public void setModifiedDate(java.util.Calendar modifiedDate) {
182         this.modifiedDate = modifiedDate;
183     }
184 
185 
186     /**
187      * Gets the primaryKey value for this DLFileShortcutSoap.
188      * 
189      * @return primaryKey
190      */
191     public long getPrimaryKey() {
192         return primaryKey;
193     }
194 
195 
196     /**
197      * Sets the primaryKey value for this DLFileShortcutSoap.
198      * 
199      * @param primaryKey
200      */
201     public void setPrimaryKey(long primaryKey) {
202         this.primaryKey = primaryKey;
203     }
204 
205 
206     /**
207      * Gets the toFolderId value for this DLFileShortcutSoap.
208      * 
209      * @return toFolderId
210      */
211     public long getToFolderId() {
212         return toFolderId;
213     }
214 
215 
216     /**
217      * Sets the toFolderId value for this DLFileShortcutSoap.
218      * 
219      * @param toFolderId
220      */
221     public void setToFolderId(long toFolderId) {
222         this.toFolderId = toFolderId;
223     }
224 
225 
226     /**
227      * Gets the toName value for this DLFileShortcutSoap.
228      * 
229      * @return toName
230      */
231     public java.lang.String getToName() {
232         return toName;
233     }
234 
235 
236     /**
237      * Sets the toName value for this DLFileShortcutSoap.
238      * 
239      * @param toName
240      */
241     public void setToName(java.lang.String toName) {
242         this.toName = toName;
243     }
244 
245 
246     /**
247      * Gets the userId value for this DLFileShortcutSoap.
248      * 
249      * @return userId
250      */
251     public long getUserId() {
252         return userId;
253     }
254 
255 
256     /**
257      * Sets the userId value for this DLFileShortcutSoap.
258      * 
259      * @param userId
260      */
261     public void setUserId(long userId) {
262         this.userId = userId;
263     }
264 
265 
266     /**
267      * Gets the userName value for this DLFileShortcutSoap.
268      * 
269      * @return userName
270      */
271     public java.lang.String getUserName() {
272         return userName;
273     }
274 
275 
276     /**
277      * Sets the userName value for this DLFileShortcutSoap.
278      * 
279      * @param userName
280      */
281     public void setUserName(java.lang.String userName) {
282         this.userName = userName;
283     }
284 
285 
286     /**
287      * Gets the uuid value for this DLFileShortcutSoap.
288      * 
289      * @return uuid
290      */
291     public java.lang.String getUuid() {
292         return uuid;
293     }
294 
295 
296     /**
297      * Sets the uuid value for this DLFileShortcutSoap.
298      * 
299      * @param uuid
300      */
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     // Type metadata
377     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     /**
457      * Return type metadata object
458      */
459     public static org.apache.axis.description.TypeDesc getTypeDesc() {
460         return typeDesc;
461     }
462 
463     /**
464      * Get Custom Serializer
465      */
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     /**
476      * Get Custom Deserializer
477      */
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