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