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