1   /**
2    * ShoppingItemSoap.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.shopping.model;
9   
10  public class ShoppingItemSoap  implements java.io.Serializable {
11      private long categoryId;
12  
13      private long companyId;
14  
15      private java.util.Calendar createDate;
16  
17      private java.lang.String description;
18  
19      private double discount;
20  
21      private boolean featured;
22  
23      private boolean fields;
24  
25      private java.lang.String fieldsQuantities;
26  
27      private long groupId;
28  
29      private long itemId;
30  
31      private boolean largeImage;
32  
33      private long largeImageId;
34  
35      private java.lang.String largeImageURL;
36  
37      private int maxQuantity;
38  
39      private boolean mediumImage;
40  
41      private long mediumImageId;
42  
43      private java.lang.String mediumImageURL;
44  
45      private int minQuantity;
46  
47      private java.util.Calendar modifiedDate;
48  
49      private java.lang.String name;
50  
51      private double price;
52  
53      private long primaryKey;
54  
55      private java.lang.String properties;
56  
57      private boolean requiresShipping;
58  
59      private boolean sale;
60  
61      private double shipping;
62  
63      private java.lang.String sku;
64  
65      private boolean smallImage;
66  
67      private long smallImageId;
68  
69      private java.lang.String smallImageURL;
70  
71      private int stockQuantity;
72  
73      private boolean taxable;
74  
75      private boolean useShippingFormula;
76  
77      private long userId;
78  
79      private java.lang.String userName;
80  
81      public ShoppingItemSoap() {
82      }
83  
84      public ShoppingItemSoap(
85             long categoryId,
86             long companyId,
87             java.util.Calendar createDate,
88             java.lang.String description,
89             double discount,
90             boolean featured,
91             boolean fields,
92             java.lang.String fieldsQuantities,
93             long groupId,
94             long itemId,
95             boolean largeImage,
96             long largeImageId,
97             java.lang.String largeImageURL,
98             int maxQuantity,
99             boolean mediumImage,
100            long mediumImageId,
101            java.lang.String mediumImageURL,
102            int minQuantity,
103            java.util.Calendar modifiedDate,
104            java.lang.String name,
105            double price,
106            long primaryKey,
107            java.lang.String properties,
108            boolean requiresShipping,
109            boolean sale,
110            double shipping,
111            java.lang.String sku,
112            boolean smallImage,
113            long smallImageId,
114            java.lang.String smallImageURL,
115            int stockQuantity,
116            boolean taxable,
117            boolean useShippingFormula,
118            long userId,
119            java.lang.String userName) {
120            this.categoryId = categoryId;
121            this.companyId = companyId;
122            this.createDate = createDate;
123            this.description = description;
124            this.discount = discount;
125            this.featured = featured;
126            this.fields = fields;
127            this.fieldsQuantities = fieldsQuantities;
128            this.groupId = groupId;
129            this.itemId = itemId;
130            this.largeImage = largeImage;
131            this.largeImageId = largeImageId;
132            this.largeImageURL = largeImageURL;
133            this.maxQuantity = maxQuantity;
134            this.mediumImage = mediumImage;
135            this.mediumImageId = mediumImageId;
136            this.mediumImageURL = mediumImageURL;
137            this.minQuantity = minQuantity;
138            this.modifiedDate = modifiedDate;
139            this.name = name;
140            this.price = price;
141            this.primaryKey = primaryKey;
142            this.properties = properties;
143            this.requiresShipping = requiresShipping;
144            this.sale = sale;
145            this.shipping = shipping;
146            this.sku = sku;
147            this.smallImage = smallImage;
148            this.smallImageId = smallImageId;
149            this.smallImageURL = smallImageURL;
150            this.stockQuantity = stockQuantity;
151            this.taxable = taxable;
152            this.useShippingFormula = useShippingFormula;
153            this.userId = userId;
154            this.userName = userName;
155     }
156 
157 
158     /**
159      * Gets the categoryId value for this ShoppingItemSoap.
160      * 
161      * @return categoryId
162      */
163     public long getCategoryId() {
164         return categoryId;
165     }
166 
167 
168     /**
169      * Sets the categoryId value for this ShoppingItemSoap.
170      * 
171      * @param categoryId
172      */
173     public void setCategoryId(long categoryId) {
174         this.categoryId = categoryId;
175     }
176 
177 
178     /**
179      * Gets the companyId value for this ShoppingItemSoap.
180      * 
181      * @return companyId
182      */
183     public long getCompanyId() {
184         return companyId;
185     }
186 
187 
188     /**
189      * Sets the companyId value for this ShoppingItemSoap.
190      * 
191      * @param companyId
192      */
193     public void setCompanyId(long companyId) {
194         this.companyId = companyId;
195     }
196 
197 
198     /**
199      * Gets the createDate value for this ShoppingItemSoap.
200      * 
201      * @return createDate
202      */
203     public java.util.Calendar getCreateDate() {
204         return createDate;
205     }
206 
207 
208     /**
209      * Sets the createDate value for this ShoppingItemSoap.
210      * 
211      * @param createDate
212      */
213     public void setCreateDate(java.util.Calendar createDate) {
214         this.createDate = createDate;
215     }
216 
217 
218     /**
219      * Gets the description value for this ShoppingItemSoap.
220      * 
221      * @return description
222      */
223     public java.lang.String getDescription() {
224         return description;
225     }
226 
227 
228     /**
229      * Sets the description value for this ShoppingItemSoap.
230      * 
231      * @param description
232      */
233     public void setDescription(java.lang.String description) {
234         this.description = description;
235     }
236 
237 
238     /**
239      * Gets the discount value for this ShoppingItemSoap.
240      * 
241      * @return discount
242      */
243     public double getDiscount() {
244         return discount;
245     }
246 
247 
248     /**
249      * Sets the discount value for this ShoppingItemSoap.
250      * 
251      * @param discount
252      */
253     public void setDiscount(double discount) {
254         this.discount = discount;
255     }
256 
257 
258     /**
259      * Gets the featured value for this ShoppingItemSoap.
260      * 
261      * @return featured
262      */
263     public boolean isFeatured() {
264         return featured;
265     }
266 
267 
268     /**
269      * Sets the featured value for this ShoppingItemSoap.
270      * 
271      * @param featured
272      */
273     public void setFeatured(boolean featured) {
274         this.featured = featured;
275     }
276 
277 
278     /**
279      * Gets the fields value for this ShoppingItemSoap.
280      * 
281      * @return fields
282      */
283     public boolean isFields() {
284         return fields;
285     }
286 
287 
288     /**
289      * Sets the fields value for this ShoppingItemSoap.
290      * 
291      * @param fields
292      */
293     public void setFields(boolean fields) {
294         this.fields = fields;
295     }
296 
297 
298     /**
299      * Gets the fieldsQuantities value for this ShoppingItemSoap.
300      * 
301      * @return fieldsQuantities
302      */
303     public java.lang.String getFieldsQuantities() {
304         return fieldsQuantities;
305     }
306 
307 
308     /**
309      * Sets the fieldsQuantities value for this ShoppingItemSoap.
310      * 
311      * @param fieldsQuantities
312      */
313     public void setFieldsQuantities(java.lang.String fieldsQuantities) {
314         this.fieldsQuantities = fieldsQuantities;
315     }
316 
317 
318     /**
319      * Gets the groupId value for this ShoppingItemSoap.
320      * 
321      * @return groupId
322      */
323     public long getGroupId() {
324         return groupId;
325     }
326 
327 
328     /**
329      * Sets the groupId value for this ShoppingItemSoap.
330      * 
331      * @param groupId
332      */
333     public void setGroupId(long groupId) {
334         this.groupId = groupId;
335     }
336 
337 
338     /**
339      * Gets the itemId value for this ShoppingItemSoap.
340      * 
341      * @return itemId
342      */
343     public long getItemId() {
344         return itemId;
345     }
346 
347 
348     /**
349      * Sets the itemId value for this ShoppingItemSoap.
350      * 
351      * @param itemId
352      */
353     public void setItemId(long itemId) {
354         this.itemId = itemId;
355     }
356 
357 
358     /**
359      * Gets the largeImage value for this ShoppingItemSoap.
360      * 
361      * @return largeImage
362      */
363     public boolean isLargeImage() {
364         return largeImage;
365     }
366 
367 
368     /**
369      * Sets the largeImage value for this ShoppingItemSoap.
370      * 
371      * @param largeImage
372      */
373     public void setLargeImage(boolean largeImage) {
374         this.largeImage = largeImage;
375     }
376 
377 
378     /**
379      * Gets the largeImageId value for this ShoppingItemSoap.
380      * 
381      * @return largeImageId
382      */
383     public long getLargeImageId() {
384         return largeImageId;
385     }
386 
387 
388     /**
389      * Sets the largeImageId value for this ShoppingItemSoap.
390      * 
391      * @param largeImageId
392      */
393     public void setLargeImageId(long largeImageId) {
394         this.largeImageId = largeImageId;
395     }
396 
397 
398     /**
399      * Gets the largeImageURL value for this ShoppingItemSoap.
400      * 
401      * @return largeImageURL
402      */
403     public java.lang.String getLargeImageURL() {
404         return largeImageURL;
405     }
406 
407 
408     /**
409      * Sets the largeImageURL value for this ShoppingItemSoap.
410      * 
411      * @param largeImageURL
412      */
413     public void setLargeImageURL(java.lang.String largeImageURL) {
414         this.largeImageURL = largeImageURL;
415     }
416 
417 
418     /**
419      * Gets the maxQuantity value for this ShoppingItemSoap.
420      * 
421      * @return maxQuantity
422      */
423     public int getMaxQuantity() {
424         return maxQuantity;
425     }
426 
427 
428     /**
429      * Sets the maxQuantity value for this ShoppingItemSoap.
430      * 
431      * @param maxQuantity
432      */
433     public void setMaxQuantity(int maxQuantity) {
434         this.maxQuantity = maxQuantity;
435     }
436 
437 
438     /**
439      * Gets the mediumImage value for this ShoppingItemSoap.
440      * 
441      * @return mediumImage
442      */
443     public boolean isMediumImage() {
444         return mediumImage;
445     }
446 
447 
448     /**
449      * Sets the mediumImage value for this ShoppingItemSoap.
450      * 
451      * @param mediumImage
452      */
453     public void setMediumImage(boolean mediumImage) {
454         this.mediumImage = mediumImage;
455     }
456 
457 
458     /**
459      * Gets the mediumImageId value for this ShoppingItemSoap.
460      * 
461      * @return mediumImageId
462      */
463     public long getMediumImageId() {
464         return mediumImageId;
465     }
466 
467 
468     /**
469      * Sets the mediumImageId value for this ShoppingItemSoap.
470      * 
471      * @param mediumImageId
472      */
473     public void setMediumImageId(long mediumImageId) {
474         this.mediumImageId = mediumImageId;
475     }
476 
477 
478     /**
479      * Gets the mediumImageURL value for this ShoppingItemSoap.
480      * 
481      * @return mediumImageURL
482      */
483     public java.lang.String getMediumImageURL() {
484         return mediumImageURL;
485     }
486 
487 
488     /**
489      * Sets the mediumImageURL value for this ShoppingItemSoap.
490      * 
491      * @param mediumImageURL
492      */
493     public void setMediumImageURL(java.lang.String mediumImageURL) {
494         this.mediumImageURL = mediumImageURL;
495     }
496 
497 
498     /**
499      * Gets the minQuantity value for this ShoppingItemSoap.
500      * 
501      * @return minQuantity
502      */
503     public int getMinQuantity() {
504         return minQuantity;
505     }
506 
507 
508     /**
509      * Sets the minQuantity value for this ShoppingItemSoap.
510      * 
511      * @param minQuantity
512      */
513     public void setMinQuantity(int minQuantity) {
514         this.minQuantity = minQuantity;
515     }
516 
517 
518     /**
519      * Gets the modifiedDate value for this ShoppingItemSoap.
520      * 
521      * @return modifiedDate
522      */
523     public java.util.Calendar getModifiedDate() {
524         return modifiedDate;
525     }
526 
527 
528     /**
529      * Sets the modifiedDate value for this ShoppingItemSoap.
530      * 
531      * @param modifiedDate
532      */
533     public void setModifiedDate(java.util.Calendar modifiedDate) {
534         this.modifiedDate = modifiedDate;
535     }
536 
537 
538     /**
539      * Gets the name value for this ShoppingItemSoap.
540      * 
541      * @return name
542      */
543     public java.lang.String getName() {
544         return name;
545     }
546 
547 
548     /**
549      * Sets the name value for this ShoppingItemSoap.
550      * 
551      * @param name
552      */
553     public void setName(java.lang.String name) {
554         this.name = name;
555     }
556 
557 
558     /**
559      * Gets the price value for this ShoppingItemSoap.
560      * 
561      * @return price
562      */
563     public double getPrice() {
564         return price;
565     }
566 
567 
568     /**
569      * Sets the price value for this ShoppingItemSoap.
570      * 
571      * @param price
572      */
573     public void setPrice(double price) {
574         this.price = price;
575     }
576 
577 
578     /**
579      * Gets the primaryKey value for this ShoppingItemSoap.
580      * 
581      * @return primaryKey
582      */
583     public long getPrimaryKey() {
584         return primaryKey;
585     }
586 
587 
588     /**
589      * Sets the primaryKey value for this ShoppingItemSoap.
590      * 
591      * @param primaryKey
592      */
593     public void setPrimaryKey(long primaryKey) {
594         this.primaryKey = primaryKey;
595     }
596 
597 
598     /**
599      * Gets the properties value for this ShoppingItemSoap.
600      * 
601      * @return properties
602      */
603     public java.lang.String getProperties() {
604         return properties;
605     }
606 
607 
608     /**
609      * Sets the properties value for this ShoppingItemSoap.
610      * 
611      * @param properties
612      */
613     public void setProperties(java.lang.String properties) {
614         this.properties = properties;
615     }
616 
617 
618     /**
619      * Gets the requiresShipping value for this ShoppingItemSoap.
620      * 
621      * @return requiresShipping
622      */
623     public boolean isRequiresShipping() {
624         return requiresShipping;
625     }
626 
627 
628     /**
629      * Sets the requiresShipping value for this ShoppingItemSoap.
630      * 
631      * @param requiresShipping
632      */
633     public void setRequiresShipping(boolean requiresShipping) {
634         this.requiresShipping = requiresShipping;
635     }
636 
637 
638     /**
639      * Gets the sale value for this ShoppingItemSoap.
640      * 
641      * @return sale
642      */
643     public boolean isSale() {
644         return sale;
645     }
646 
647 
648     /**
649      * Sets the sale value for this ShoppingItemSoap.
650      * 
651      * @param sale
652      */
653     public void setSale(boolean sale) {
654         this.sale = sale;
655     }
656 
657 
658     /**
659      * Gets the shipping value for this ShoppingItemSoap.
660      * 
661      * @return shipping
662      */
663     public double getShipping() {
664         return shipping;
665     }
666 
667 
668     /**
669      * Sets the shipping value for this ShoppingItemSoap.
670      * 
671      * @param shipping
672      */
673     public void setShipping(double shipping) {
674         this.shipping = shipping;
675     }
676 
677 
678     /**
679      * Gets the sku value for this ShoppingItemSoap.
680      * 
681      * @return sku
682      */
683     public java.lang.String getSku() {
684         return sku;
685     }
686 
687 
688     /**
689      * Sets the sku value for this ShoppingItemSoap.
690      * 
691      * @param sku
692      */
693     public void setSku(java.lang.String sku) {
694         this.sku = sku;
695     }
696 
697 
698     /**
699      * Gets the smallImage value for this ShoppingItemSoap.
700      * 
701      * @return smallImage
702      */
703     public boolean isSmallImage() {
704         return smallImage;
705     }
706 
707 
708     /**
709      * Sets the smallImage value for this ShoppingItemSoap.
710      * 
711      * @param smallImage
712      */
713     public void setSmallImage(boolean smallImage) {
714         this.smallImage = smallImage;
715     }
716 
717 
718     /**
719      * Gets the smallImageId value for this ShoppingItemSoap.
720      * 
721      * @return smallImageId
722      */
723     public long getSmallImageId() {
724         return smallImageId;
725     }
726 
727 
728     /**
729      * Sets the smallImageId value for this ShoppingItemSoap.
730      * 
731      * @param smallImageId
732      */
733     public void setSmallImageId(long smallImageId) {
734         this.smallImageId = smallImageId;
735     }
736 
737 
738     /**
739      * Gets the smallImageURL value for this ShoppingItemSoap.
740      * 
741      * @return smallImageURL
742      */
743     public java.lang.String getSmallImageURL() {
744         return smallImageURL;
745     }
746 
747 
748     /**
749      * Sets the smallImageURL value for this ShoppingItemSoap.
750      * 
751      * @param smallImageURL
752      */
753     public void setSmallImageURL(java.lang.String smallImageURL) {
754         this.smallImageURL = smallImageURL;
755     }
756 
757 
758     /**
759      * Gets the stockQuantity value for this ShoppingItemSoap.
760      * 
761      * @return stockQuantity
762      */
763     public int getStockQuantity() {
764         return stockQuantity;
765     }
766 
767 
768     /**
769      * Sets the stockQuantity value for this ShoppingItemSoap.
770      * 
771      * @param stockQuantity
772      */
773     public void setStockQuantity(int stockQuantity) {
774         this.stockQuantity = stockQuantity;
775     }
776 
777 
778     /**
779      * Gets the taxable value for this ShoppingItemSoap.
780      * 
781      * @return taxable
782      */
783     public boolean isTaxable() {
784         return taxable;
785     }
786 
787 
788     /**
789      * Sets the taxable value for this ShoppingItemSoap.
790      * 
791      * @param taxable
792      */
793     public void setTaxable(boolean taxable) {
794         this.taxable = taxable;
795     }
796 
797 
798     /**
799      * Gets the useShippingFormula value for this ShoppingItemSoap.
800      * 
801      * @return useShippingFormula
802      */
803     public boolean isUseShippingFormula() {
804         return useShippingFormula;
805     }
806 
807 
808     /**
809      * Sets the useShippingFormula value for this ShoppingItemSoap.
810      * 
811      * @param useShippingFormula
812      */
813     public void setUseShippingFormula(boolean useShippingFormula) {
814         this.useShippingFormula = useShippingFormula;
815     }
816 
817 
818     /**
819      * Gets the userId value for this ShoppingItemSoap.
820      * 
821      * @return userId
822      */
823     public long getUserId() {
824         return userId;
825     }
826 
827 
828     /**
829      * Sets the userId value for this ShoppingItemSoap.
830      * 
831      * @param userId
832      */
833     public void setUserId(long userId) {
834         this.userId = userId;
835     }
836 
837 
838     /**
839      * Gets the userName value for this ShoppingItemSoap.
840      * 
841      * @return userName
842      */
843     public java.lang.String getUserName() {
844         return userName;
845     }
846 
847 
848     /**
849      * Sets the userName value for this ShoppingItemSoap.
850      * 
851      * @param userName
852      */
853     public void setUserName(java.lang.String userName) {
854         this.userName = userName;
855     }
856 
857     private java.lang.Object __equalsCalc = null;
858     public synchronized boolean equals(java.lang.Object obj) {
859         if (!(obj instanceof ShoppingItemSoap)) return false;
860         ShoppingItemSoap other = (ShoppingItemSoap) obj;
861         if (obj == null) return false;
862         if (this == obj) return true;
863         if (__equalsCalc != null) {
864             return (__equalsCalc == obj);
865         }
866         __equalsCalc = obj;
867         boolean _equals;
868         _equals = true && 
869             this.categoryId == other.getCategoryId() &&
870             this.companyId == other.getCompanyId() &&
871             ((this.createDate==null && other.getCreateDate()==null) || 
872              (this.createDate!=null &&
873               this.createDate.equals(other.getCreateDate()))) &&
874             ((this.description==null && other.getDescription()==null) || 
875              (this.description!=null &&
876               this.description.equals(other.getDescription()))) &&
877             this.discount == other.getDiscount() &&
878             this.featured == other.isFeatured() &&
879             this.fields == other.isFields() &&
880             ((this.fieldsQuantities==null && other.getFieldsQuantities()==null) || 
881              (this.fieldsQuantities!=null &&
882               this.fieldsQuantities.equals(other.getFieldsQuantities()))) &&
883             this.groupId == other.getGroupId() &&
884             this.itemId == other.getItemId() &&
885             this.largeImage == other.isLargeImage() &&
886             this.largeImageId == other.getLargeImageId() &&
887             ((this.largeImageURL==null && other.getLargeImageURL()==null) || 
888              (this.largeImageURL!=null &&
889               this.largeImageURL.equals(other.getLargeImageURL()))) &&
890             this.maxQuantity == other.getMaxQuantity() &&
891             this.mediumImage == other.isMediumImage() &&
892             this.mediumImageId == other.getMediumImageId() &&
893             ((this.mediumImageURL==null && other.getMediumImageURL()==null) || 
894              (this.mediumImageURL!=null &&
895               this.mediumImageURL.equals(other.getMediumImageURL()))) &&
896             this.minQuantity == other.getMinQuantity() &&
897             ((this.modifiedDate==null && other.getModifiedDate()==null) || 
898              (this.modifiedDate!=null &&
899               this.modifiedDate.equals(other.getModifiedDate()))) &&
900             ((this.name==null && other.getName()==null) || 
901              (this.name!=null &&
902               this.name.equals(other.getName()))) &&
903             this.price == other.getPrice() &&
904             this.primaryKey == other.getPrimaryKey() &&
905             ((this.properties==null && other.getProperties()==null) || 
906              (this.properties!=null &&
907               this.properties.equals(other.getProperties()))) &&
908             this.requiresShipping == other.isRequiresShipping() &&
909             this.sale == other.isSale() &&
910             this.shipping == other.getShipping() &&
911             ((this.sku==null && other.getSku()==null) || 
912              (this.sku!=null &&
913               this.sku.equals(other.getSku()))) &&
914             this.smallImage == other.isSmallImage() &&
915             this.smallImageId == other.getSmallImageId() &&
916             ((this.smallImageURL==null && other.getSmallImageURL()==null) || 
917              (this.smallImageURL!=null &&
918               this.smallImageURL.equals(other.getSmallImageURL()))) &&
919             this.stockQuantity == other.getStockQuantity() &&
920             this.taxable == other.isTaxable() &&
921             this.useShippingFormula == other.isUseShippingFormula() &&
922             this.userId == other.getUserId() &&
923             ((this.userName==null && other.getUserName()==null) || 
924              (this.userName!=null &&
925               this.userName.equals(other.getUserName())));
926         __equalsCalc = null;
927         return _equals;
928     }
929 
930     private boolean __hashCodeCalc = false;
931     public synchronized int hashCode() {
932         if (__hashCodeCalc) {
933             return 0;
934         }
935         __hashCodeCalc = true;
936         int _hashCode = 1;
937         _hashCode += new Long(getCategoryId()).hashCode();
938         _hashCode += new Long(getCompanyId()).hashCode();
939         if (getCreateDate() != null) {
940             _hashCode += getCreateDate().hashCode();
941         }
942         if (getDescription() != null) {
943             _hashCode += getDescription().hashCode();
944         }
945         _hashCode += new Double(getDiscount()).hashCode();
946         _hashCode += (isFeatured() ? Boolean.TRUE : Boolean.FALSE).hashCode();
947         _hashCode += (isFields() ? Boolean.TRUE : Boolean.FALSE).hashCode();
948         if (getFieldsQuantities() != null) {
949             _hashCode += getFieldsQuantities().hashCode();
950         }
951         _hashCode += new Long(getGroupId()).hashCode();
952         _hashCode += new Long(getItemId()).hashCode();
953         _hashCode += (isLargeImage() ? Boolean.TRUE : Boolean.FALSE).hashCode();
954         _hashCode += new Long(getLargeImageId()).hashCode();
955         if (getLargeImageURL() != null) {
956             _hashCode += getLargeImageURL().hashCode();
957         }
958         _hashCode += getMaxQuantity();
959         _hashCode += (isMediumImage() ? Boolean.TRUE : Boolean.FALSE).hashCode();
960         _hashCode += new Long(getMediumImageId()).hashCode();
961         if (getMediumImageURL() != null) {
962             _hashCode += getMediumImageURL().hashCode();
963         }
964         _hashCode += getMinQuantity();
965         if (getModifiedDate() != null) {
966             _hashCode += getModifiedDate().hashCode();
967         }
968         if (getName() != null) {
969             _hashCode += getName().hashCode();
970         }
971         _hashCode += new Double(getPrice()).hashCode();
972         _hashCode += new Long(getPrimaryKey()).hashCode();
973         if (getProperties() != null) {
974             _hashCode += getProperties().hashCode();
975         }
976         _hashCode += (isRequiresShipping() ? Boolean.TRUE : Boolean.FALSE).hashCode();
977         _hashCode += (isSale() ? Boolean.TRUE : Boolean.FALSE).hashCode();
978         _hashCode += new Double(getShipping()).hashCode();
979         if (getSku() != null) {
980             _hashCode += getSku().hashCode();
981         }
982         _hashCode += (isSmallImage() ? Boolean.TRUE : Boolean.FALSE).hashCode();
983         _hashCode += new Long(getSmallImageId()).hashCode();
984         if (getSmallImageURL() != null) {
985             _hashCode += getSmallImageURL().hashCode();
986         }
987         _hashCode += getStockQuantity();
988         _hashCode += (isTaxable() ? Boolean.TRUE : Boolean.FALSE).hashCode();
989         _hashCode += (isUseShippingFormula() ? Boolean.TRUE : Boolean.FALSE).hashCode();
990         _hashCode += new Long(getUserId()).hashCode();
991         if (getUserName() != null) {
992             _hashCode += getUserName().hashCode();
993         }
994         __hashCodeCalc = false;
995         return _hashCode;
996     }
997 
998     // Type metadata
999     private static org.apache.axis.description.TypeDesc typeDesc =
1000        new org.apache.axis.description.TypeDesc(ShoppingItemSoap.class, true);
1001
1002    static {
1003        typeDesc.setXmlType(new javax.xml.namespace.QName("http://model.shopping.portlet.liferay.com", "ShoppingItemSoap"));
1004        org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
1005        elemField.setFieldName("categoryId");
1006        elemField.setXmlName(new javax.xml.namespace.QName("", "categoryId"));
1007        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
1008        elemField.setNillable(false);
1009        typeDesc.addFieldDesc(elemField);
1010        elemField = new org.apache.axis.description.ElementDesc();
1011        elemField.setFieldName("companyId");
1012        elemField.setXmlName(new javax.xml.namespace.QName("", "companyId"));
1013        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
1014        elemField.setNillable(false);
1015        typeDesc.addFieldDesc(elemField);
1016        elemField = new org.apache.axis.description.ElementDesc();
1017        elemField.setFieldName("createDate");
1018        elemField.setXmlName(new javax.xml.namespace.QName("", "createDate"));
1019        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime"));
1020        elemField.setNillable(true);
1021        typeDesc.addFieldDesc(elemField);
1022        elemField = new org.apache.axis.description.ElementDesc();
1023        elemField.setFieldName("description");
1024        elemField.setXmlName(new javax.xml.namespace.QName("", "description"));
1025        elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
1026        elemField.setNillable(true);
1027        typeDesc.addFieldDesc(elemField);
1028        elemField = new org.apache.axis.description.ElementDesc();
1029        elemField.setFieldName("discount");
1030        elemField.setXmlName(new javax.xml.namespace.QName("", "discount"));
1031        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "double"));
1032        elemField.setNillable(false);
1033        typeDesc.addFieldDesc(elemField);
1034        elemField = new org.apache.axis.description.ElementDesc();
1035        elemField.setFieldName("featured");
1036        elemField.setXmlName(new javax.xml.namespace.QName("", "featured"));
1037        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean"));
1038        elemField.setNillable(false);
1039        typeDesc.addFieldDesc(elemField);
1040        elemField = new org.apache.axis.description.ElementDesc();
1041        elemField.setFieldName("fields");
1042        elemField.setXmlName(new javax.xml.namespace.QName("", "fields"));
1043        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean"));
1044        elemField.setNillable(false);
1045        typeDesc.addFieldDesc(elemField);
1046        elemField = new org.apache.axis.description.ElementDesc();
1047        elemField.setFieldName("fieldsQuantities");
1048        elemField.setXmlName(new javax.xml.namespace.QName("", "fieldsQuantities"));
1049        elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
1050        elemField.setNillable(true);
1051        typeDesc.addFieldDesc(elemField);
1052        elemField = new org.apache.axis.description.ElementDesc();
1053        elemField.setFieldName("groupId");
1054        elemField.setXmlName(new javax.xml.namespace.QName("", "groupId"));
1055        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
1056        elemField.setNillable(false);
1057        typeDesc.addFieldDesc(elemField);
1058        elemField = new org.apache.axis.description.ElementDesc();
1059        elemField.setFieldName("itemId");
1060        elemField.setXmlName(new javax.xml.namespace.QName("", "itemId"));
1061        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
1062        elemField.setNillable(false);
1063        typeDesc.addFieldDesc(elemField);
1064        elemField = new org.apache.axis.description.ElementDesc();
1065        elemField.setFieldName("largeImage");
1066        elemField.setXmlName(new javax.xml.namespace.QName("", "largeImage"));
1067        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean"));
1068        elemField.setNillable(false);
1069        typeDesc.addFieldDesc(elemField);
1070        elemField = new org.apache.axis.description.ElementDesc();
1071        elemField.setFieldName("largeImageId");
1072        elemField.setXmlName(new javax.xml.namespace.QName("", "largeImageId"));
1073        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
1074        elemField.setNillable(false);
1075        typeDesc.addFieldDesc(elemField);
1076        elemField = new org.apache.axis.description.ElementDesc();
1077        elemField.setFieldName("largeImageURL");
1078        elemField.setXmlName(new javax.xml.namespace.QName("", "largeImageURL"));
1079        elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
1080        elemField.setNillable(true);
1081        typeDesc.addFieldDesc(elemField);
1082        elemField = new org.apache.axis.description.ElementDesc();
1083        elemField.setFieldName("maxQuantity");
1084        elemField.setXmlName(new javax.xml.namespace.QName("", "maxQuantity"));
1085        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"));
1086        elemField.setNillable(false);
1087        typeDesc.addFieldDesc(elemField);
1088        elemField = new org.apache.axis.description.ElementDesc();
1089        elemField.setFieldName("mediumImage");
1090        elemField.setXmlName(new javax.xml.namespace.QName("", "mediumImage"));
1091        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean"));
1092        elemField.setNillable(false);
1093        typeDesc.addFieldDesc(elemField);
1094        elemField = new org.apache.axis.description.ElementDesc();
1095        elemField.setFieldName("mediumImageId");
1096        elemField.setXmlName(new javax.xml.namespace.QName("", "mediumImageId"));
1097        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
1098        elemField.setNillable(false);
1099        typeDesc.addFieldDesc(elemField);
1100        elemField = new org.apache.axis.description.ElementDesc();
1101        elemField.setFieldName("mediumImageURL");
1102        elemField.setXmlName(new javax.xml.namespace.QName("", "mediumImageURL"));
1103        elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
1104        elemField.setNillable(true);
1105        typeDesc.addFieldDesc(elemField);
1106        elemField = new org.apache.axis.description.ElementDesc();
1107        elemField.setFieldName("minQuantity");
1108        elemField.setXmlName(new javax.xml.namespace.QName("", "minQuantity"));
1109        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"));
1110        elemField.setNillable(false);
1111        typeDesc.addFieldDesc(elemField);
1112        elemField = new org.apache.axis.description.ElementDesc();
1113        elemField.setFieldName("modifiedDate");
1114        elemField.setXmlName(new javax.xml.namespace.QName("", "modifiedDate"));
1115        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime"));
1116        elemField.setNillable(true);
1117        typeDesc.addFieldDesc(elemField);
1118        elemField = new org.apache.axis.description.ElementDesc();
1119        elemField.setFieldName("name");
1120        elemField.setXmlName(new javax.xml.namespace.QName("", "name"));
1121        elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
1122        elemField.setNillable(true);
1123        typeDesc.addFieldDesc(elemField);
1124        elemField = new org.apache.axis.description.ElementDesc();
1125        elemField.setFieldName("price");
1126        elemField.setXmlName(new javax.xml.namespace.QName("", "price"));
1127        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "double"));
1128        elemField.setNillable(false);
1129        typeDesc.addFieldDesc(elemField);
1130        elemField = new org.apache.axis.description.ElementDesc();
1131        elemField.setFieldName("primaryKey");
1132        elemField.setXmlName(new javax.xml.namespace.QName("", "primaryKey"));
1133        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
1134        elemField.setNillable(false);
1135        typeDesc.addFieldDesc(elemField);
1136        elemField = new org.apache.axis.description.ElementDesc();
1137        elemField.setFieldName("properties");
1138        elemField.setXmlName(new javax.xml.namespace.QName("", "properties"));
1139        elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
1140        elemField.setNillable(true);
1141        typeDesc.addFieldDesc(elemField);
1142        elemField = new org.apache.axis.description.ElementDesc();
1143        elemField.setFieldName("requiresShipping");
1144        elemField.setXmlName(new javax.xml.namespace.QName("", "requiresShipping"));
1145        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean"));
1146        elemField.setNillable(false);
1147        typeDesc.addFieldDesc(elemField);
1148        elemField = new org.apache.axis.description.ElementDesc();
1149        elemField.setFieldName("sale");
1150        elemField.setXmlName(new javax.xml.namespace.QName("", "sale"));
1151        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean"));
1152        elemField.setNillable(false);
1153        typeDesc.addFieldDesc(elemField);
1154        elemField = new org.apache.axis.description.ElementDesc();
1155        elemField.setFieldName("shipping");
1156        elemField.setXmlName(new javax.xml.namespace.QName("", "shipping"));
1157        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "double"));
1158        elemField.setNillable(false);
1159        typeDesc.addFieldDesc(elemField);
1160        elemField = new org.apache.axis.description.ElementDesc();
1161        elemField.setFieldName("sku");
1162        elemField.setXmlName(new javax.xml.namespace.QName("", "sku"));
1163        elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
1164        elemField.setNillable(true);
1165        typeDesc.addFieldDesc(elemField);
1166        elemField = new org.apache.axis.description.ElementDesc();
1167        elemField.setFieldName("smallImage");
1168        elemField.setXmlName(new javax.xml.namespace.QName("", "smallImage"));
1169        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean"));
1170        elemField.setNillable(false);
1171        typeDesc.addFieldDesc(elemField);
1172        elemField = new org.apache.axis.description.ElementDesc();
1173        elemField.setFieldName("smallImageId");
1174        elemField.setXmlName(new javax.xml.namespace.QName("", "smallImageId"));
1175        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
1176        elemField.setNillable(false);
1177        typeDesc.addFieldDesc(elemField);
1178        elemField = new org.apache.axis.description.ElementDesc();
1179        elemField.setFieldName("smallImageURL");
1180        elemField.setXmlName(new javax.xml.namespace.QName("", "smallImageURL"));
1181        elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
1182        elemField.setNillable(true);
1183        typeDesc.addFieldDesc(elemField);
1184        elemField = new org.apache.axis.description.ElementDesc();
1185        elemField.setFieldName("stockQuantity");
1186        elemField.setXmlName(new javax.xml.namespace.QName("", "stockQuantity"));
1187        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"));
1188        elemField.setNillable(false);
1189        typeDesc.addFieldDesc(elemField);
1190        elemField = new org.apache.axis.description.ElementDesc();
1191        elemField.setFieldName("taxable");
1192        elemField.setXmlName(new javax.xml.namespace.QName("", "taxable"));
1193        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean"));
1194        elemField.setNillable(false);
1195        typeDesc.addFieldDesc(elemField);
1196        elemField = new org.apache.axis.description.ElementDesc();
1197        elemField.setFieldName("useShippingFormula");
1198        elemField.setXmlName(new javax.xml.namespace.QName("", "useShippingFormula"));
1199        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean"));
1200        elemField.setNillable(false);
1201        typeDesc.addFieldDesc(elemField);
1202        elemField = new org.apache.axis.description.ElementDesc();
1203        elemField.setFieldName("userId");
1204        elemField.setXmlName(new javax.xml.namespace.QName("", "userId"));
1205        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
1206        elemField.setNillable(false);
1207        typeDesc.addFieldDesc(elemField);
1208        elemField = new org.apache.axis.description.ElementDesc();
1209        elemField.setFieldName("userName");
1210        elemField.setXmlName(new javax.xml.namespace.QName("", "userName"));
1211        elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
1212        elemField.setNillable(true);
1213        typeDesc.addFieldDesc(elemField);
1214    }
1215
1216    /**
1217     * Return type metadata object
1218     */
1219    public static org.apache.axis.description.TypeDesc getTypeDesc() {
1220        return typeDesc;
1221    }
1222
1223    /**
1224     * Get Custom Serializer
1225     */
1226    public static org.apache.axis.encoding.Serializer getSerializer(
1227           java.lang.String mechType, 
1228           java.lang.Class _javaType,  
1229           javax.xml.namespace.QName _xmlType) {
1230        return 
1231          new  org.apache.axis.encoding.ser.BeanSerializer(
1232            _javaType, _xmlType, typeDesc);
1233    }
1234
1235    /**
1236     * Get Custom Deserializer
1237     */
1238    public static org.apache.axis.encoding.Deserializer getDeserializer(
1239           java.lang.String mechType, 
1240           java.lang.Class _javaType,  
1241           javax.xml.namespace.QName _xmlType) {
1242        return 
1243          new  org.apache.axis.encoding.ser.BeanDeserializer(
1244            _javaType, _xmlType, typeDesc);
1245    }
1246
1247}
1248