1   /**
2    * DLFileEntrySoap.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 DLFileEntrySoap  implements java.io.Serializable {
11      private long companyId;
12  
13      private java.util.Calendar createDate;
14  
15      private java.lang.String description;
16  
17      private java.lang.String extraSettings;
18  
19      private long fileEntryId;
20  
21      private long folderId;
22  
23      private long groupId;
24  
25      private java.util.Calendar modifiedDate;
26  
27      private java.lang.String name;
28  
29      private java.lang.String pendingVersion;
30  
31      private long primaryKey;
32  
33      private int readCount;
34  
35      private int size;
36  
37      private java.lang.String title;
38  
39      private long userId;
40  
41      private java.lang.String userName;
42  
43      private java.lang.String uuid;
44  
45      private java.lang.String version;
46  
47      private long versionUserId;
48  
49      private java.lang.String versionUserName;
50  
51      public DLFileEntrySoap() {
52      }
53  
54      public DLFileEntrySoap(
55             long companyId,
56             java.util.Calendar createDate,
57             java.lang.String description,
58             java.lang.String extraSettings,
59             long fileEntryId,
60             long folderId,
61             long groupId,
62             java.util.Calendar modifiedDate,
63             java.lang.String name,
64             java.lang.String pendingVersion,
65             long primaryKey,
66             int readCount,
67             int size,
68             java.lang.String title,
69             long userId,
70             java.lang.String userName,
71             java.lang.String uuid,
72             java.lang.String version,
73             long versionUserId,
74             java.lang.String versionUserName) {
75             this.companyId = companyId;
76             this.createDate = createDate;
77             this.description = description;
78             this.extraSettings = extraSettings;
79             this.fileEntryId = fileEntryId;
80             this.folderId = folderId;
81             this.groupId = groupId;
82             this.modifiedDate = modifiedDate;
83             this.name = name;
84             this.pendingVersion = pendingVersion;
85             this.primaryKey = primaryKey;
86             this.readCount = readCount;
87             this.size = size;
88             this.title = title;
89             this.userId = userId;
90             this.userName = userName;
91             this.uuid = uuid;
92             this.version = version;
93             this.versionUserId = versionUserId;
94             this.versionUserName = versionUserName;
95      }
96  
97  
98      /**
99       * Gets the companyId value for this DLFileEntrySoap.
100      * 
101      * @return companyId
102      */
103     public long getCompanyId() {
104         return companyId;
105     }
106 
107 
108     /**
109      * Sets the companyId value for this DLFileEntrySoap.
110      * 
111      * @param companyId
112      */
113     public void setCompanyId(long companyId) {
114         this.companyId = companyId;
115     }
116 
117 
118     /**
119      * Gets the createDate value for this DLFileEntrySoap.
120      * 
121      * @return createDate
122      */
123     public java.util.Calendar getCreateDate() {
124         return createDate;
125     }
126 
127 
128     /**
129      * Sets the createDate value for this DLFileEntrySoap.
130      * 
131      * @param createDate
132      */
133     public void setCreateDate(java.util.Calendar createDate) {
134         this.createDate = createDate;
135     }
136 
137 
138     /**
139      * Gets the description value for this DLFileEntrySoap.
140      * 
141      * @return description
142      */
143     public java.lang.String getDescription() {
144         return description;
145     }
146 
147 
148     /**
149      * Sets the description value for this DLFileEntrySoap.
150      * 
151      * @param description
152      */
153     public void setDescription(java.lang.String description) {
154         this.description = description;
155     }
156 
157 
158     /**
159      * Gets the extraSettings value for this DLFileEntrySoap.
160      * 
161      * @return extraSettings
162      */
163     public java.lang.String getExtraSettings() {
164         return extraSettings;
165     }
166 
167 
168     /**
169      * Sets the extraSettings value for this DLFileEntrySoap.
170      * 
171      * @param extraSettings
172      */
173     public void setExtraSettings(java.lang.String extraSettings) {
174         this.extraSettings = extraSettings;
175     }
176 
177 
178     /**
179      * Gets the fileEntryId value for this DLFileEntrySoap.
180      * 
181      * @return fileEntryId
182      */
183     public long getFileEntryId() {
184         return fileEntryId;
185     }
186 
187 
188     /**
189      * Sets the fileEntryId value for this DLFileEntrySoap.
190      * 
191      * @param fileEntryId
192      */
193     public void setFileEntryId(long fileEntryId) {
194         this.fileEntryId = fileEntryId;
195     }
196 
197 
198     /**
199      * Gets the folderId value for this DLFileEntrySoap.
200      * 
201      * @return folderId
202      */
203     public long getFolderId() {
204         return folderId;
205     }
206 
207 
208     /**
209      * Sets the folderId value for this DLFileEntrySoap.
210      * 
211      * @param folderId
212      */
213     public void setFolderId(long folderId) {
214         this.folderId = folderId;
215     }
216 
217 
218     /**
219      * Gets the groupId value for this DLFileEntrySoap.
220      * 
221      * @return groupId
222      */
223     public long getGroupId() {
224         return groupId;
225     }
226 
227 
228     /**
229      * Sets the groupId value for this DLFileEntrySoap.
230      * 
231      * @param groupId
232      */
233     public void setGroupId(long groupId) {
234         this.groupId = groupId;
235     }
236 
237 
238     /**
239      * Gets the modifiedDate value for this DLFileEntrySoap.
240      * 
241      * @return modifiedDate
242      */
243     public java.util.Calendar getModifiedDate() {
244         return modifiedDate;
245     }
246 
247 
248     /**
249      * Sets the modifiedDate value for this DLFileEntrySoap.
250      * 
251      * @param modifiedDate
252      */
253     public void setModifiedDate(java.util.Calendar modifiedDate) {
254         this.modifiedDate = modifiedDate;
255     }
256 
257 
258     /**
259      * Gets the name value for this DLFileEntrySoap.
260      * 
261      * @return name
262      */
263     public java.lang.String getName() {
264         return name;
265     }
266 
267 
268     /**
269      * Sets the name value for this DLFileEntrySoap.
270      * 
271      * @param name
272      */
273     public void setName(java.lang.String name) {
274         this.name = name;
275     }
276 
277 
278     /**
279      * Gets the pendingVersion value for this DLFileEntrySoap.
280      * 
281      * @return pendingVersion
282      */
283     public java.lang.String getPendingVersion() {
284         return pendingVersion;
285     }
286 
287 
288     /**
289      * Sets the pendingVersion value for this DLFileEntrySoap.
290      * 
291      * @param pendingVersion
292      */
293     public void setPendingVersion(java.lang.String pendingVersion) {
294         this.pendingVersion = pendingVersion;
295     }
296 
297 
298     /**
299      * Gets the primaryKey value for this DLFileEntrySoap.
300      * 
301      * @return primaryKey
302      */
303     public long getPrimaryKey() {
304         return primaryKey;
305     }
306 
307 
308     /**
309      * Sets the primaryKey value for this DLFileEntrySoap.
310      * 
311      * @param primaryKey
312      */
313     public void setPrimaryKey(long primaryKey) {
314         this.primaryKey = primaryKey;
315     }
316 
317 
318     /**
319      * Gets the readCount value for this DLFileEntrySoap.
320      * 
321      * @return readCount
322      */
323     public int getReadCount() {
324         return readCount;
325     }
326 
327 
328     /**
329      * Sets the readCount value for this DLFileEntrySoap.
330      * 
331      * @param readCount
332      */
333     public void setReadCount(int readCount) {
334         this.readCount = readCount;
335     }
336 
337 
338     /**
339      * Gets the size value for this DLFileEntrySoap.
340      * 
341      * @return size
342      */
343     public int getSize() {
344         return size;
345     }
346 
347 
348     /**
349      * Sets the size value for this DLFileEntrySoap.
350      * 
351      * @param size
352      */
353     public void setSize(int size) {
354         this.size = size;
355     }
356 
357 
358     /**
359      * Gets the title value for this DLFileEntrySoap.
360      * 
361      * @return title
362      */
363     public java.lang.String getTitle() {
364         return title;
365     }
366 
367 
368     /**
369      * Sets the title value for this DLFileEntrySoap.
370      * 
371      * @param title
372      */
373     public void setTitle(java.lang.String title) {
374         this.title = title;
375     }
376 
377 
378     /**
379      * Gets the userId value for this DLFileEntrySoap.
380      * 
381      * @return userId
382      */
383     public long getUserId() {
384         return userId;
385     }
386 
387 
388     /**
389      * Sets the userId value for this DLFileEntrySoap.
390      * 
391      * @param userId
392      */
393     public void setUserId(long userId) {
394         this.userId = userId;
395     }
396 
397 
398     /**
399      * Gets the userName value for this DLFileEntrySoap.
400      * 
401      * @return userName
402      */
403     public java.lang.String getUserName() {
404         return userName;
405     }
406 
407 
408     /**
409      * Sets the userName value for this DLFileEntrySoap.
410      * 
411      * @param userName
412      */
413     public void setUserName(java.lang.String userName) {
414         this.userName = userName;
415     }
416 
417 
418     /**
419      * Gets the uuid value for this DLFileEntrySoap.
420      * 
421      * @return uuid
422      */
423     public java.lang.String getUuid() {
424         return uuid;
425     }
426 
427 
428     /**
429      * Sets the uuid value for this DLFileEntrySoap.
430      * 
431      * @param uuid
432      */
433     public void setUuid(java.lang.String uuid) {
434         this.uuid = uuid;
435     }
436 
437 
438     /**
439      * Gets the version value for this DLFileEntrySoap.
440      * 
441      * @return version
442      */
443     public java.lang.String getVersion() {
444         return version;
445     }
446 
447 
448     /**
449      * Sets the version value for this DLFileEntrySoap.
450      * 
451      * @param version
452      */
453     public void setVersion(java.lang.String version) {
454         this.version = version;
455     }
456 
457 
458     /**
459      * Gets the versionUserId value for this DLFileEntrySoap.
460      * 
461      * @return versionUserId
462      */
463     public long getVersionUserId() {
464         return versionUserId;
465     }
466 
467 
468     /**
469      * Sets the versionUserId value for this DLFileEntrySoap.
470      * 
471      * @param versionUserId
472      */
473     public void setVersionUserId(long versionUserId) {
474         this.versionUserId = versionUserId;
475     }
476 
477 
478     /**
479      * Gets the versionUserName value for this DLFileEntrySoap.
480      * 
481      * @return versionUserName
482      */
483     public java.lang.String getVersionUserName() {
484         return versionUserName;
485     }
486 
487 
488     /**
489      * Sets the versionUserName value for this DLFileEntrySoap.
490      * 
491      * @param versionUserName
492      */
493     public void setVersionUserName(java.lang.String versionUserName) {
494         this.versionUserName = versionUserName;
495     }
496 
497     private java.lang.Object __equalsCalc = null;
498     public synchronized boolean equals(java.lang.Object obj) {
499         if (!(obj instanceof DLFileEntrySoap)) return false;
500         DLFileEntrySoap other = (DLFileEntrySoap) obj;
501         if (obj == null) return false;
502         if (this == obj) return true;
503         if (__equalsCalc != null) {
504             return (__equalsCalc == obj);
505         }
506         __equalsCalc = obj;
507         boolean _equals;
508         _equals = true && 
509             this.companyId == other.getCompanyId() &&
510             ((this.createDate==null && other.getCreateDate()==null) || 
511              (this.createDate!=null &&
512               this.createDate.equals(other.getCreateDate()))) &&
513             ((this.description==null && other.getDescription()==null) || 
514              (this.description!=null &&
515               this.description.equals(other.getDescription()))) &&
516             ((this.extraSettings==null && other.getExtraSettings()==null) || 
517              (this.extraSettings!=null &&
518               this.extraSettings.equals(other.getExtraSettings()))) &&
519             this.fileEntryId == other.getFileEntryId() &&
520             this.folderId == other.getFolderId() &&
521             this.groupId == other.getGroupId() &&
522             ((this.modifiedDate==null && other.getModifiedDate()==null) || 
523              (this.modifiedDate!=null &&
524               this.modifiedDate.equals(other.getModifiedDate()))) &&
525             ((this.name==null && other.getName()==null) || 
526              (this.name!=null &&
527               this.name.equals(other.getName()))) &&
528             ((this.pendingVersion==null && other.getPendingVersion()==null) || 
529              (this.pendingVersion!=null &&
530               this.pendingVersion.equals(other.getPendingVersion()))) &&
531             this.primaryKey == other.getPrimaryKey() &&
532             this.readCount == other.getReadCount() &&
533             this.size == other.getSize() &&
534             ((this.title==null && other.getTitle()==null) || 
535              (this.title!=null &&
536               this.title.equals(other.getTitle()))) &&
537             this.userId == other.getUserId() &&
538             ((this.userName==null && other.getUserName()==null) || 
539              (this.userName!=null &&
540               this.userName.equals(other.getUserName()))) &&
541             ((this.uuid==null && other.getUuid()==null) || 
542              (this.uuid!=null &&
543               this.uuid.equals(other.getUuid()))) &&
544             ((this.version==null && other.getVersion()==null) || 
545              (this.version!=null &&
546               this.version.equals(other.getVersion()))) &&
547             this.versionUserId == other.getVersionUserId() &&
548             ((this.versionUserName==null && other.getVersionUserName()==null) || 
549              (this.versionUserName!=null &&
550               this.versionUserName.equals(other.getVersionUserName())));
551         __equalsCalc = null;
552         return _equals;
553     }
554 
555     private boolean __hashCodeCalc = false;
556     public synchronized int hashCode() {
557         if (__hashCodeCalc) {
558             return 0;
559         }
560         __hashCodeCalc = true;
561         int _hashCode = 1;
562         _hashCode += new Long(getCompanyId()).hashCode();
563         if (getCreateDate() != null) {
564             _hashCode += getCreateDate().hashCode();
565         }
566         if (getDescription() != null) {
567             _hashCode += getDescription().hashCode();
568         }
569         if (getExtraSettings() != null) {
570             _hashCode += getExtraSettings().hashCode();
571         }
572         _hashCode += new Long(getFileEntryId()).hashCode();
573         _hashCode += new Long(getFolderId()).hashCode();
574         _hashCode += new Long(getGroupId()).hashCode();
575         if (getModifiedDate() != null) {
576             _hashCode += getModifiedDate().hashCode();
577         }
578         if (getName() != null) {
579             _hashCode += getName().hashCode();
580         }
581         if (getPendingVersion() != null) {
582             _hashCode += getPendingVersion().hashCode();
583         }
584         _hashCode += new Long(getPrimaryKey()).hashCode();
585         _hashCode += getReadCount();
586         _hashCode += getSize();
587         if (getTitle() != null) {
588             _hashCode += getTitle().hashCode();
589         }
590         _hashCode += new Long(getUserId()).hashCode();
591         if (getUserName() != null) {
592             _hashCode += getUserName().hashCode();
593         }
594         if (getUuid() != null) {
595             _hashCode += getUuid().hashCode();
596         }
597         if (getVersion() != null) {
598             _hashCode += getVersion().hashCode();
599         }
600         _hashCode += new Long(getVersionUserId()).hashCode();
601         if (getVersionUserName() != null) {
602             _hashCode += getVersionUserName().hashCode();
603         }
604         __hashCodeCalc = false;
605         return _hashCode;
606     }
607 
608     // Type metadata
609     private static org.apache.axis.description.TypeDesc typeDesc =
610         new org.apache.axis.description.TypeDesc(DLFileEntrySoap.class, true);
611 
612     static {
613         typeDesc.setXmlType(new javax.xml.namespace.QName("http://model.documentlibrary.portlet.liferay.com", "DLFileEntrySoap"));
614         org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
615         elemField.setFieldName("companyId");
616         elemField.setXmlName(new javax.xml.namespace.QName("", "companyId"));
617         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
618         elemField.setNillable(false);
619         typeDesc.addFieldDesc(elemField);
620         elemField = new org.apache.axis.description.ElementDesc();
621         elemField.setFieldName("createDate");
622         elemField.setXmlName(new javax.xml.namespace.QName("", "createDate"));
623         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime"));
624         elemField.setNillable(true);
625         typeDesc.addFieldDesc(elemField);
626         elemField = new org.apache.axis.description.ElementDesc();
627         elemField.setFieldName("description");
628         elemField.setXmlName(new javax.xml.namespace.QName("", "description"));
629         elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
630         elemField.setNillable(true);
631         typeDesc.addFieldDesc(elemField);
632         elemField = new org.apache.axis.description.ElementDesc();
633         elemField.setFieldName("extraSettings");
634         elemField.setXmlName(new javax.xml.namespace.QName("", "extraSettings"));
635         elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
636         elemField.setNillable(true);
637         typeDesc.addFieldDesc(elemField);
638         elemField = new org.apache.axis.description.ElementDesc();
639         elemField.setFieldName("fileEntryId");
640         elemField.setXmlName(new javax.xml.namespace.QName("", "fileEntryId"));
641         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
642         elemField.setNillable(false);
643         typeDesc.addFieldDesc(elemField);
644         elemField = new org.apache.axis.description.ElementDesc();
645         elemField.setFieldName("folderId");
646         elemField.setXmlName(new javax.xml.namespace.QName("", "folderId"));
647         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
648         elemField.setNillable(false);
649         typeDesc.addFieldDesc(elemField);
650         elemField = new org.apache.axis.description.ElementDesc();
651         elemField.setFieldName("groupId");
652         elemField.setXmlName(new javax.xml.namespace.QName("", "groupId"));
653         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
654         elemField.setNillable(false);
655         typeDesc.addFieldDesc(elemField);
656         elemField = new org.apache.axis.description.ElementDesc();
657         elemField.setFieldName("modifiedDate");
658         elemField.setXmlName(new javax.xml.namespace.QName("", "modifiedDate"));
659         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime"));
660         elemField.setNillable(true);
661         typeDesc.addFieldDesc(elemField);
662         elemField = new org.apache.axis.description.ElementDesc();
663         elemField.setFieldName("name");
664         elemField.setXmlName(new javax.xml.namespace.QName("", "name"));
665         elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
666         elemField.setNillable(true);
667         typeDesc.addFieldDesc(elemField);
668         elemField = new org.apache.axis.description.ElementDesc();
669         elemField.setFieldName("pendingVersion");
670         elemField.setXmlName(new javax.xml.namespace.QName("", "pendingVersion"));
671         elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
672         elemField.setNillable(true);
673         typeDesc.addFieldDesc(elemField);
674         elemField = new org.apache.axis.description.ElementDesc();
675         elemField.setFieldName("primaryKey");
676         elemField.setXmlName(new javax.xml.namespace.QName("", "primaryKey"));
677         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
678         elemField.setNillable(false);
679         typeDesc.addFieldDesc(elemField);
680         elemField = new org.apache.axis.description.ElementDesc();
681         elemField.setFieldName("readCount");
682         elemField.setXmlName(new javax.xml.namespace.QName("", "readCount"));
683         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"));
684         elemField.setNillable(false);
685         typeDesc.addFieldDesc(elemField);
686         elemField = new org.apache.axis.description.ElementDesc();
687         elemField.setFieldName("size");
688         elemField.setXmlName(new javax.xml.namespace.QName("", "size"));
689         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"));
690         elemField.setNillable(false);
691         typeDesc.addFieldDesc(elemField);
692         elemField = new org.apache.axis.description.ElementDesc();
693         elemField.setFieldName("title");
694         elemField.setXmlName(new javax.xml.namespace.QName("", "title"));
695         elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
696         elemField.setNillable(true);
697         typeDesc.addFieldDesc(elemField);
698         elemField = new org.apache.axis.description.ElementDesc();
699         elemField.setFieldName("userId");
700         elemField.setXmlName(new javax.xml.namespace.QName("", "userId"));
701         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
702         elemField.setNillable(false);
703         typeDesc.addFieldDesc(elemField);
704         elemField = new org.apache.axis.description.ElementDesc();
705         elemField.setFieldName("userName");
706         elemField.setXmlName(new javax.xml.namespace.QName("", "userName"));
707         elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
708         elemField.setNillable(true);
709         typeDesc.addFieldDesc(elemField);
710         elemField = new org.apache.axis.description.ElementDesc();
711         elemField.setFieldName("uuid");
712         elemField.setXmlName(new javax.xml.namespace.QName("", "uuid"));
713         elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
714         elemField.setNillable(true);
715         typeDesc.addFieldDesc(elemField);
716         elemField = new org.apache.axis.description.ElementDesc();
717         elemField.setFieldName("version");
718         elemField.setXmlName(new javax.xml.namespace.QName("", "version"));
719         elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
720         elemField.setNillable(true);
721         typeDesc.addFieldDesc(elemField);
722         elemField = new org.apache.axis.description.ElementDesc();
723         elemField.setFieldName("versionUserId");
724         elemField.setXmlName(new javax.xml.namespace.QName("", "versionUserId"));
725         elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
726         elemField.setNillable(false);
727         typeDesc.addFieldDesc(elemField);
728         elemField = new org.apache.axis.description.ElementDesc();
729         elemField.setFieldName("versionUserName");
730         elemField.setXmlName(new javax.xml.namespace.QName("", "versionUserName"));
731         elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
732         elemField.setNillable(true);
733         typeDesc.addFieldDesc(elemField);
734     }
735 
736     /**
737      * Return type metadata object
738      */
739     public static org.apache.axis.description.TypeDesc getTypeDesc() {
740         return typeDesc;
741     }
742 
743     /**
744      * Get Custom Serializer
745      */
746     public static org.apache.axis.encoding.Serializer getSerializer(
747            java.lang.String mechType, 
748            java.lang.Class _javaType,  
749            javax.xml.namespace.QName _xmlType) {
750         return 
751           new  org.apache.axis.encoding.ser.BeanSerializer(
752             _javaType, _xmlType, typeDesc);
753     }
754 
755     /**
756      * Get Custom Deserializer
757      */
758     public static org.apache.axis.encoding.Deserializer getDeserializer(
759            java.lang.String mechType, 
760            java.lang.Class _javaType,  
761            javax.xml.namespace.QName _xmlType) {
762         return 
763           new  org.apache.axis.encoding.ser.BeanDeserializer(
764             _javaType, _xmlType, typeDesc);
765     }
766 
767 }
768