001    /**
002     * Copyright (c) 2000-2012 Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
014    
015    package com.liferay.portlet.shopping.model;
016    
017    import com.liferay.portal.model.ModelWrapper;
018    
019    import java.util.Date;
020    import java.util.HashMap;
021    import java.util.Map;
022    
023    /**
024     * <p>
025     * This class is a wrapper for {@link ShoppingItem}.
026     * </p>
027     *
028     * @author    Brian Wing Shun Chan
029     * @see       ShoppingItem
030     * @generated
031     */
032    public class ShoppingItemWrapper implements ShoppingItem,
033            ModelWrapper<ShoppingItem> {
034            public ShoppingItemWrapper(ShoppingItem shoppingItem) {
035                    _shoppingItem = shoppingItem;
036            }
037    
038            public Class<?> getModelClass() {
039                    return ShoppingItem.class;
040            }
041    
042            public String getModelClassName() {
043                    return ShoppingItem.class.getName();
044            }
045    
046            public Map<String, Object> getModelAttributes() {
047                    Map<String, Object> attributes = new HashMap<String, Object>();
048    
049                    attributes.put("itemId", getItemId());
050                    attributes.put("groupId", getGroupId());
051                    attributes.put("companyId", getCompanyId());
052                    attributes.put("userId", getUserId());
053                    attributes.put("userName", getUserName());
054                    attributes.put("createDate", getCreateDate());
055                    attributes.put("modifiedDate", getModifiedDate());
056                    attributes.put("categoryId", getCategoryId());
057                    attributes.put("sku", getSku());
058                    attributes.put("name", getName());
059                    attributes.put("description", getDescription());
060                    attributes.put("properties", getProperties());
061                    attributes.put("fields", getFields());
062                    attributes.put("fieldsQuantities", getFieldsQuantities());
063                    attributes.put("minQuantity", getMinQuantity());
064                    attributes.put("maxQuantity", getMaxQuantity());
065                    attributes.put("price", getPrice());
066                    attributes.put("discount", getDiscount());
067                    attributes.put("taxable", getTaxable());
068                    attributes.put("shipping", getShipping());
069                    attributes.put("useShippingFormula", getUseShippingFormula());
070                    attributes.put("requiresShipping", getRequiresShipping());
071                    attributes.put("stockQuantity", getStockQuantity());
072                    attributes.put("featured", getFeatured());
073                    attributes.put("sale", getSale());
074                    attributes.put("smallImage", getSmallImage());
075                    attributes.put("smallImageId", getSmallImageId());
076                    attributes.put("smallImageURL", getSmallImageURL());
077                    attributes.put("mediumImage", getMediumImage());
078                    attributes.put("mediumImageId", getMediumImageId());
079                    attributes.put("mediumImageURL", getMediumImageURL());
080                    attributes.put("largeImage", getLargeImage());
081                    attributes.put("largeImageId", getLargeImageId());
082                    attributes.put("largeImageURL", getLargeImageURL());
083    
084                    return attributes;
085            }
086    
087            public void setModelAttributes(Map<String, Object> attributes) {
088                    Long itemId = (Long)attributes.get("itemId");
089    
090                    if (itemId != null) {
091                            setItemId(itemId);
092                    }
093    
094                    Long groupId = (Long)attributes.get("groupId");
095    
096                    if (groupId != null) {
097                            setGroupId(groupId);
098                    }
099    
100                    Long companyId = (Long)attributes.get("companyId");
101    
102                    if (companyId != null) {
103                            setCompanyId(companyId);
104                    }
105    
106                    Long userId = (Long)attributes.get("userId");
107    
108                    if (userId != null) {
109                            setUserId(userId);
110                    }
111    
112                    String userName = (String)attributes.get("userName");
113    
114                    if (userName != null) {
115                            setUserName(userName);
116                    }
117    
118                    Date createDate = (Date)attributes.get("createDate");
119    
120                    if (createDate != null) {
121                            setCreateDate(createDate);
122                    }
123    
124                    Date modifiedDate = (Date)attributes.get("modifiedDate");
125    
126                    if (modifiedDate != null) {
127                            setModifiedDate(modifiedDate);
128                    }
129    
130                    Long categoryId = (Long)attributes.get("categoryId");
131    
132                    if (categoryId != null) {
133                            setCategoryId(categoryId);
134                    }
135    
136                    String sku = (String)attributes.get("sku");
137    
138                    if (sku != null) {
139                            setSku(sku);
140                    }
141    
142                    String name = (String)attributes.get("name");
143    
144                    if (name != null) {
145                            setName(name);
146                    }
147    
148                    String description = (String)attributes.get("description");
149    
150                    if (description != null) {
151                            setDescription(description);
152                    }
153    
154                    String properties = (String)attributes.get("properties");
155    
156                    if (properties != null) {
157                            setProperties(properties);
158                    }
159    
160                    Boolean fields = (Boolean)attributes.get("fields");
161    
162                    if (fields != null) {
163                            setFields(fields);
164                    }
165    
166                    String fieldsQuantities = (String)attributes.get("fieldsQuantities");
167    
168                    if (fieldsQuantities != null) {
169                            setFieldsQuantities(fieldsQuantities);
170                    }
171    
172                    Integer minQuantity = (Integer)attributes.get("minQuantity");
173    
174                    if (minQuantity != null) {
175                            setMinQuantity(minQuantity);
176                    }
177    
178                    Integer maxQuantity = (Integer)attributes.get("maxQuantity");
179    
180                    if (maxQuantity != null) {
181                            setMaxQuantity(maxQuantity);
182                    }
183    
184                    Double price = (Double)attributes.get("price");
185    
186                    if (price != null) {
187                            setPrice(price);
188                    }
189    
190                    Double discount = (Double)attributes.get("discount");
191    
192                    if (discount != null) {
193                            setDiscount(discount);
194                    }
195    
196                    Boolean taxable = (Boolean)attributes.get("taxable");
197    
198                    if (taxable != null) {
199                            setTaxable(taxable);
200                    }
201    
202                    Double shipping = (Double)attributes.get("shipping");
203    
204                    if (shipping != null) {
205                            setShipping(shipping);
206                    }
207    
208                    Boolean useShippingFormula = (Boolean)attributes.get(
209                                    "useShippingFormula");
210    
211                    if (useShippingFormula != null) {
212                            setUseShippingFormula(useShippingFormula);
213                    }
214    
215                    Boolean requiresShipping = (Boolean)attributes.get("requiresShipping");
216    
217                    if (requiresShipping != null) {
218                            setRequiresShipping(requiresShipping);
219                    }
220    
221                    Integer stockQuantity = (Integer)attributes.get("stockQuantity");
222    
223                    if (stockQuantity != null) {
224                            setStockQuantity(stockQuantity);
225                    }
226    
227                    Boolean featured = (Boolean)attributes.get("featured");
228    
229                    if (featured != null) {
230                            setFeatured(featured);
231                    }
232    
233                    Boolean sale = (Boolean)attributes.get("sale");
234    
235                    if (sale != null) {
236                            setSale(sale);
237                    }
238    
239                    Boolean smallImage = (Boolean)attributes.get("smallImage");
240    
241                    if (smallImage != null) {
242                            setSmallImage(smallImage);
243                    }
244    
245                    Long smallImageId = (Long)attributes.get("smallImageId");
246    
247                    if (smallImageId != null) {
248                            setSmallImageId(smallImageId);
249                    }
250    
251                    String smallImageURL = (String)attributes.get("smallImageURL");
252    
253                    if (smallImageURL != null) {
254                            setSmallImageURL(smallImageURL);
255                    }
256    
257                    Boolean mediumImage = (Boolean)attributes.get("mediumImage");
258    
259                    if (mediumImage != null) {
260                            setMediumImage(mediumImage);
261                    }
262    
263                    Long mediumImageId = (Long)attributes.get("mediumImageId");
264    
265                    if (mediumImageId != null) {
266                            setMediumImageId(mediumImageId);
267                    }
268    
269                    String mediumImageURL = (String)attributes.get("mediumImageURL");
270    
271                    if (mediumImageURL != null) {
272                            setMediumImageURL(mediumImageURL);
273                    }
274    
275                    Boolean largeImage = (Boolean)attributes.get("largeImage");
276    
277                    if (largeImage != null) {
278                            setLargeImage(largeImage);
279                    }
280    
281                    Long largeImageId = (Long)attributes.get("largeImageId");
282    
283                    if (largeImageId != null) {
284                            setLargeImageId(largeImageId);
285                    }
286    
287                    String largeImageURL = (String)attributes.get("largeImageURL");
288    
289                    if (largeImageURL != null) {
290                            setLargeImageURL(largeImageURL);
291                    }
292            }
293    
294            /**
295            * Returns the primary key of this shopping item.
296            *
297            * @return the primary key of this shopping item
298            */
299            public long getPrimaryKey() {
300                    return _shoppingItem.getPrimaryKey();
301            }
302    
303            /**
304            * Sets the primary key of this shopping item.
305            *
306            * @param primaryKey the primary key of this shopping item
307            */
308            public void setPrimaryKey(long primaryKey) {
309                    _shoppingItem.setPrimaryKey(primaryKey);
310            }
311    
312            /**
313            * Returns the item ID of this shopping item.
314            *
315            * @return the item ID of this shopping item
316            */
317            public long getItemId() {
318                    return _shoppingItem.getItemId();
319            }
320    
321            /**
322            * Sets the item ID of this shopping item.
323            *
324            * @param itemId the item ID of this shopping item
325            */
326            public void setItemId(long itemId) {
327                    _shoppingItem.setItemId(itemId);
328            }
329    
330            /**
331            * Returns the group ID of this shopping item.
332            *
333            * @return the group ID of this shopping item
334            */
335            public long getGroupId() {
336                    return _shoppingItem.getGroupId();
337            }
338    
339            /**
340            * Sets the group ID of this shopping item.
341            *
342            * @param groupId the group ID of this shopping item
343            */
344            public void setGroupId(long groupId) {
345                    _shoppingItem.setGroupId(groupId);
346            }
347    
348            /**
349            * Returns the company ID of this shopping item.
350            *
351            * @return the company ID of this shopping item
352            */
353            public long getCompanyId() {
354                    return _shoppingItem.getCompanyId();
355            }
356    
357            /**
358            * Sets the company ID of this shopping item.
359            *
360            * @param companyId the company ID of this shopping item
361            */
362            public void setCompanyId(long companyId) {
363                    _shoppingItem.setCompanyId(companyId);
364            }
365    
366            /**
367            * Returns the user ID of this shopping item.
368            *
369            * @return the user ID of this shopping item
370            */
371            public long getUserId() {
372                    return _shoppingItem.getUserId();
373            }
374    
375            /**
376            * Sets the user ID of this shopping item.
377            *
378            * @param userId the user ID of this shopping item
379            */
380            public void setUserId(long userId) {
381                    _shoppingItem.setUserId(userId);
382            }
383    
384            /**
385            * Returns the user uuid of this shopping item.
386            *
387            * @return the user uuid of this shopping item
388            * @throws SystemException if a system exception occurred
389            */
390            public java.lang.String getUserUuid()
391                    throws com.liferay.portal.kernel.exception.SystemException {
392                    return _shoppingItem.getUserUuid();
393            }
394    
395            /**
396            * Sets the user uuid of this shopping item.
397            *
398            * @param userUuid the user uuid of this shopping item
399            */
400            public void setUserUuid(java.lang.String userUuid) {
401                    _shoppingItem.setUserUuid(userUuid);
402            }
403    
404            /**
405            * Returns the user name of this shopping item.
406            *
407            * @return the user name of this shopping item
408            */
409            public java.lang.String getUserName() {
410                    return _shoppingItem.getUserName();
411            }
412    
413            /**
414            * Sets the user name of this shopping item.
415            *
416            * @param userName the user name of this shopping item
417            */
418            public void setUserName(java.lang.String userName) {
419                    _shoppingItem.setUserName(userName);
420            }
421    
422            /**
423            * Returns the create date of this shopping item.
424            *
425            * @return the create date of this shopping item
426            */
427            public java.util.Date getCreateDate() {
428                    return _shoppingItem.getCreateDate();
429            }
430    
431            /**
432            * Sets the create date of this shopping item.
433            *
434            * @param createDate the create date of this shopping item
435            */
436            public void setCreateDate(java.util.Date createDate) {
437                    _shoppingItem.setCreateDate(createDate);
438            }
439    
440            /**
441            * Returns the modified date of this shopping item.
442            *
443            * @return the modified date of this shopping item
444            */
445            public java.util.Date getModifiedDate() {
446                    return _shoppingItem.getModifiedDate();
447            }
448    
449            /**
450            * Sets the modified date of this shopping item.
451            *
452            * @param modifiedDate the modified date of this shopping item
453            */
454            public void setModifiedDate(java.util.Date modifiedDate) {
455                    _shoppingItem.setModifiedDate(modifiedDate);
456            }
457    
458            /**
459            * Returns the category ID of this shopping item.
460            *
461            * @return the category ID of this shopping item
462            */
463            public long getCategoryId() {
464                    return _shoppingItem.getCategoryId();
465            }
466    
467            /**
468            * Sets the category ID of this shopping item.
469            *
470            * @param categoryId the category ID of this shopping item
471            */
472            public void setCategoryId(long categoryId) {
473                    _shoppingItem.setCategoryId(categoryId);
474            }
475    
476            /**
477            * Returns the sku of this shopping item.
478            *
479            * @return the sku of this shopping item
480            */
481            public java.lang.String getSku() {
482                    return _shoppingItem.getSku();
483            }
484    
485            /**
486            * Sets the sku of this shopping item.
487            *
488            * @param sku the sku of this shopping item
489            */
490            public void setSku(java.lang.String sku) {
491                    _shoppingItem.setSku(sku);
492            }
493    
494            /**
495            * Returns the name of this shopping item.
496            *
497            * @return the name of this shopping item
498            */
499            public java.lang.String getName() {
500                    return _shoppingItem.getName();
501            }
502    
503            /**
504            * Sets the name of this shopping item.
505            *
506            * @param name the name of this shopping item
507            */
508            public void setName(java.lang.String name) {
509                    _shoppingItem.setName(name);
510            }
511    
512            /**
513            * Returns the description of this shopping item.
514            *
515            * @return the description of this shopping item
516            */
517            public java.lang.String getDescription() {
518                    return _shoppingItem.getDescription();
519            }
520    
521            /**
522            * Sets the description of this shopping item.
523            *
524            * @param description the description of this shopping item
525            */
526            public void setDescription(java.lang.String description) {
527                    _shoppingItem.setDescription(description);
528            }
529    
530            /**
531            * Returns the properties of this shopping item.
532            *
533            * @return the properties of this shopping item
534            */
535            public java.lang.String getProperties() {
536                    return _shoppingItem.getProperties();
537            }
538    
539            /**
540            * Sets the properties of this shopping item.
541            *
542            * @param properties the properties of this shopping item
543            */
544            public void setProperties(java.lang.String properties) {
545                    _shoppingItem.setProperties(properties);
546            }
547    
548            /**
549            * Returns the fields of this shopping item.
550            *
551            * @return the fields of this shopping item
552            */
553            public boolean getFields() {
554                    return _shoppingItem.getFields();
555            }
556    
557            /**
558            * Returns <code>true</code> if this shopping item is fields.
559            *
560            * @return <code>true</code> if this shopping item is fields; <code>false</code> otherwise
561            */
562            public boolean isFields() {
563                    return _shoppingItem.isFields();
564            }
565    
566            /**
567            * Sets whether this shopping item is fields.
568            *
569            * @param fields the fields of this shopping item
570            */
571            public void setFields(boolean fields) {
572                    _shoppingItem.setFields(fields);
573            }
574    
575            /**
576            * Returns the fields quantities of this shopping item.
577            *
578            * @return the fields quantities of this shopping item
579            */
580            public java.lang.String getFieldsQuantities() {
581                    return _shoppingItem.getFieldsQuantities();
582            }
583    
584            /**
585            * Sets the fields quantities of this shopping item.
586            *
587            * @param fieldsQuantities the fields quantities of this shopping item
588            */
589            public void setFieldsQuantities(java.lang.String fieldsQuantities) {
590                    _shoppingItem.setFieldsQuantities(fieldsQuantities);
591            }
592    
593            /**
594            * Returns the min quantity of this shopping item.
595            *
596            * @return the min quantity of this shopping item
597            */
598            public int getMinQuantity() {
599                    return _shoppingItem.getMinQuantity();
600            }
601    
602            /**
603            * Sets the min quantity of this shopping item.
604            *
605            * @param minQuantity the min quantity of this shopping item
606            */
607            public void setMinQuantity(int minQuantity) {
608                    _shoppingItem.setMinQuantity(minQuantity);
609            }
610    
611            /**
612            * Returns the max quantity of this shopping item.
613            *
614            * @return the max quantity of this shopping item
615            */
616            public int getMaxQuantity() {
617                    return _shoppingItem.getMaxQuantity();
618            }
619    
620            /**
621            * Sets the max quantity of this shopping item.
622            *
623            * @param maxQuantity the max quantity of this shopping item
624            */
625            public void setMaxQuantity(int maxQuantity) {
626                    _shoppingItem.setMaxQuantity(maxQuantity);
627            }
628    
629            /**
630            * Returns the price of this shopping item.
631            *
632            * @return the price of this shopping item
633            */
634            public double getPrice() {
635                    return _shoppingItem.getPrice();
636            }
637    
638            /**
639            * Sets the price of this shopping item.
640            *
641            * @param price the price of this shopping item
642            */
643            public void setPrice(double price) {
644                    _shoppingItem.setPrice(price);
645            }
646    
647            /**
648            * Returns the discount of this shopping item.
649            *
650            * @return the discount of this shopping item
651            */
652            public double getDiscount() {
653                    return _shoppingItem.getDiscount();
654            }
655    
656            /**
657            * Sets the discount of this shopping item.
658            *
659            * @param discount the discount of this shopping item
660            */
661            public void setDiscount(double discount) {
662                    _shoppingItem.setDiscount(discount);
663            }
664    
665            /**
666            * Returns the taxable of this shopping item.
667            *
668            * @return the taxable of this shopping item
669            */
670            public boolean getTaxable() {
671                    return _shoppingItem.getTaxable();
672            }
673    
674            /**
675            * Returns <code>true</code> if this shopping item is taxable.
676            *
677            * @return <code>true</code> if this shopping item is taxable; <code>false</code> otherwise
678            */
679            public boolean isTaxable() {
680                    return _shoppingItem.isTaxable();
681            }
682    
683            /**
684            * Sets whether this shopping item is taxable.
685            *
686            * @param taxable the taxable of this shopping item
687            */
688            public void setTaxable(boolean taxable) {
689                    _shoppingItem.setTaxable(taxable);
690            }
691    
692            /**
693            * Returns the shipping of this shopping item.
694            *
695            * @return the shipping of this shopping item
696            */
697            public double getShipping() {
698                    return _shoppingItem.getShipping();
699            }
700    
701            /**
702            * Sets the shipping of this shopping item.
703            *
704            * @param shipping the shipping of this shopping item
705            */
706            public void setShipping(double shipping) {
707                    _shoppingItem.setShipping(shipping);
708            }
709    
710            /**
711            * Returns the use shipping formula of this shopping item.
712            *
713            * @return the use shipping formula of this shopping item
714            */
715            public boolean getUseShippingFormula() {
716                    return _shoppingItem.getUseShippingFormula();
717            }
718    
719            /**
720            * Returns <code>true</code> if this shopping item is use shipping formula.
721            *
722            * @return <code>true</code> if this shopping item is use shipping formula; <code>false</code> otherwise
723            */
724            public boolean isUseShippingFormula() {
725                    return _shoppingItem.isUseShippingFormula();
726            }
727    
728            /**
729            * Sets whether this shopping item is use shipping formula.
730            *
731            * @param useShippingFormula the use shipping formula of this shopping item
732            */
733            public void setUseShippingFormula(boolean useShippingFormula) {
734                    _shoppingItem.setUseShippingFormula(useShippingFormula);
735            }
736    
737            /**
738            * Returns the requires shipping of this shopping item.
739            *
740            * @return the requires shipping of this shopping item
741            */
742            public boolean getRequiresShipping() {
743                    return _shoppingItem.getRequiresShipping();
744            }
745    
746            /**
747            * Returns <code>true</code> if this shopping item is requires shipping.
748            *
749            * @return <code>true</code> if this shopping item is requires shipping; <code>false</code> otherwise
750            */
751            public boolean isRequiresShipping() {
752                    return _shoppingItem.isRequiresShipping();
753            }
754    
755            /**
756            * Sets whether this shopping item is requires shipping.
757            *
758            * @param requiresShipping the requires shipping of this shopping item
759            */
760            public void setRequiresShipping(boolean requiresShipping) {
761                    _shoppingItem.setRequiresShipping(requiresShipping);
762            }
763    
764            /**
765            * Returns the stock quantity of this shopping item.
766            *
767            * @return the stock quantity of this shopping item
768            */
769            public int getStockQuantity() {
770                    return _shoppingItem.getStockQuantity();
771            }
772    
773            /**
774            * Sets the stock quantity of this shopping item.
775            *
776            * @param stockQuantity the stock quantity of this shopping item
777            */
778            public void setStockQuantity(int stockQuantity) {
779                    _shoppingItem.setStockQuantity(stockQuantity);
780            }
781    
782            /**
783            * Returns the featured of this shopping item.
784            *
785            * @return the featured of this shopping item
786            */
787            public boolean getFeatured() {
788                    return _shoppingItem.getFeatured();
789            }
790    
791            /**
792            * Returns <code>true</code> if this shopping item is featured.
793            *
794            * @return <code>true</code> if this shopping item is featured; <code>false</code> otherwise
795            */
796            public boolean isFeatured() {
797                    return _shoppingItem.isFeatured();
798            }
799    
800            /**
801            * Sets whether this shopping item is featured.
802            *
803            * @param featured the featured of this shopping item
804            */
805            public void setFeatured(boolean featured) {
806                    _shoppingItem.setFeatured(featured);
807            }
808    
809            /**
810            * Returns the sale of this shopping item.
811            *
812            * @return the sale of this shopping item
813            */
814            public boolean getSale() {
815                    return _shoppingItem.getSale();
816            }
817    
818            /**
819            * Returns <code>true</code> if this shopping item is sale.
820            *
821            * @return <code>true</code> if this shopping item is sale; <code>false</code> otherwise
822            */
823            public boolean isSale() {
824                    return _shoppingItem.isSale();
825            }
826    
827            /**
828            * Sets whether this shopping item is sale.
829            *
830            * @param sale the sale of this shopping item
831            */
832            public void setSale(boolean sale) {
833                    _shoppingItem.setSale(sale);
834            }
835    
836            /**
837            * Returns the small image of this shopping item.
838            *
839            * @return the small image of this shopping item
840            */
841            public boolean getSmallImage() {
842                    return _shoppingItem.getSmallImage();
843            }
844    
845            /**
846            * Returns <code>true</code> if this shopping item is small image.
847            *
848            * @return <code>true</code> if this shopping item is small image; <code>false</code> otherwise
849            */
850            public boolean isSmallImage() {
851                    return _shoppingItem.isSmallImage();
852            }
853    
854            /**
855            * Sets whether this shopping item is small image.
856            *
857            * @param smallImage the small image of this shopping item
858            */
859            public void setSmallImage(boolean smallImage) {
860                    _shoppingItem.setSmallImage(smallImage);
861            }
862    
863            /**
864            * Returns the small image ID of this shopping item.
865            *
866            * @return the small image ID of this shopping item
867            */
868            public long getSmallImageId() {
869                    return _shoppingItem.getSmallImageId();
870            }
871    
872            /**
873            * Sets the small image ID of this shopping item.
874            *
875            * @param smallImageId the small image ID of this shopping item
876            */
877            public void setSmallImageId(long smallImageId) {
878                    _shoppingItem.setSmallImageId(smallImageId);
879            }
880    
881            /**
882            * Returns the small image u r l of this shopping item.
883            *
884            * @return the small image u r l of this shopping item
885            */
886            public java.lang.String getSmallImageURL() {
887                    return _shoppingItem.getSmallImageURL();
888            }
889    
890            /**
891            * Sets the small image u r l of this shopping item.
892            *
893            * @param smallImageURL the small image u r l of this shopping item
894            */
895            public void setSmallImageURL(java.lang.String smallImageURL) {
896                    _shoppingItem.setSmallImageURL(smallImageURL);
897            }
898    
899            /**
900            * Returns the medium image of this shopping item.
901            *
902            * @return the medium image of this shopping item
903            */
904            public boolean getMediumImage() {
905                    return _shoppingItem.getMediumImage();
906            }
907    
908            /**
909            * Returns <code>true</code> if this shopping item is medium image.
910            *
911            * @return <code>true</code> if this shopping item is medium image; <code>false</code> otherwise
912            */
913            public boolean isMediumImage() {
914                    return _shoppingItem.isMediumImage();
915            }
916    
917            /**
918            * Sets whether this shopping item is medium image.
919            *
920            * @param mediumImage the medium image of this shopping item
921            */
922            public void setMediumImage(boolean mediumImage) {
923                    _shoppingItem.setMediumImage(mediumImage);
924            }
925    
926            /**
927            * Returns the medium image ID of this shopping item.
928            *
929            * @return the medium image ID of this shopping item
930            */
931            public long getMediumImageId() {
932                    return _shoppingItem.getMediumImageId();
933            }
934    
935            /**
936            * Sets the medium image ID of this shopping item.
937            *
938            * @param mediumImageId the medium image ID of this shopping item
939            */
940            public void setMediumImageId(long mediumImageId) {
941                    _shoppingItem.setMediumImageId(mediumImageId);
942            }
943    
944            /**
945            * Returns the medium image u r l of this shopping item.
946            *
947            * @return the medium image u r l of this shopping item
948            */
949            public java.lang.String getMediumImageURL() {
950                    return _shoppingItem.getMediumImageURL();
951            }
952    
953            /**
954            * Sets the medium image u r l of this shopping item.
955            *
956            * @param mediumImageURL the medium image u r l of this shopping item
957            */
958            public void setMediumImageURL(java.lang.String mediumImageURL) {
959                    _shoppingItem.setMediumImageURL(mediumImageURL);
960            }
961    
962            /**
963            * Returns the large image of this shopping item.
964            *
965            * @return the large image of this shopping item
966            */
967            public boolean getLargeImage() {
968                    return _shoppingItem.getLargeImage();
969            }
970    
971            /**
972            * Returns <code>true</code> if this shopping item is large image.
973            *
974            * @return <code>true</code> if this shopping item is large image; <code>false</code> otherwise
975            */
976            public boolean isLargeImage() {
977                    return _shoppingItem.isLargeImage();
978            }
979    
980            /**
981            * Sets whether this shopping item is large image.
982            *
983            * @param largeImage the large image of this shopping item
984            */
985            public void setLargeImage(boolean largeImage) {
986                    _shoppingItem.setLargeImage(largeImage);
987            }
988    
989            /**
990            * Returns the large image ID of this shopping item.
991            *
992            * @return the large image ID of this shopping item
993            */
994            public long getLargeImageId() {
995                    return _shoppingItem.getLargeImageId();
996            }
997    
998            /**
999            * Sets the large image ID of this shopping item.
1000            *
1001            * @param largeImageId the large image ID of this shopping item
1002            */
1003            public void setLargeImageId(long largeImageId) {
1004                    _shoppingItem.setLargeImageId(largeImageId);
1005            }
1006    
1007            /**
1008            * Returns the large image u r l of this shopping item.
1009            *
1010            * @return the large image u r l of this shopping item
1011            */
1012            public java.lang.String getLargeImageURL() {
1013                    return _shoppingItem.getLargeImageURL();
1014            }
1015    
1016            /**
1017            * Sets the large image u r l of this shopping item.
1018            *
1019            * @param largeImageURL the large image u r l of this shopping item
1020            */
1021            public void setLargeImageURL(java.lang.String largeImageURL) {
1022                    _shoppingItem.setLargeImageURL(largeImageURL);
1023            }
1024    
1025            public boolean isNew() {
1026                    return _shoppingItem.isNew();
1027            }
1028    
1029            public void setNew(boolean n) {
1030                    _shoppingItem.setNew(n);
1031            }
1032    
1033            public boolean isCachedModel() {
1034                    return _shoppingItem.isCachedModel();
1035            }
1036    
1037            public void setCachedModel(boolean cachedModel) {
1038                    _shoppingItem.setCachedModel(cachedModel);
1039            }
1040    
1041            public boolean isEscapedModel() {
1042                    return _shoppingItem.isEscapedModel();
1043            }
1044    
1045            public java.io.Serializable getPrimaryKeyObj() {
1046                    return _shoppingItem.getPrimaryKeyObj();
1047            }
1048    
1049            public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
1050                    _shoppingItem.setPrimaryKeyObj(primaryKeyObj);
1051            }
1052    
1053            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
1054                    return _shoppingItem.getExpandoBridge();
1055            }
1056    
1057            public void setExpandoBridgeAttributes(
1058                    com.liferay.portal.service.ServiceContext serviceContext) {
1059                    _shoppingItem.setExpandoBridgeAttributes(serviceContext);
1060            }
1061    
1062            @Override
1063            public java.lang.Object clone() {
1064                    return new ShoppingItemWrapper((ShoppingItem)_shoppingItem.clone());
1065            }
1066    
1067            public int compareTo(
1068                    com.liferay.portlet.shopping.model.ShoppingItem shoppingItem) {
1069                    return _shoppingItem.compareTo(shoppingItem);
1070            }
1071    
1072            @Override
1073            public int hashCode() {
1074                    return _shoppingItem.hashCode();
1075            }
1076    
1077            public com.liferay.portal.model.CacheModel<com.liferay.portlet.shopping.model.ShoppingItem> toCacheModel() {
1078                    return _shoppingItem.toCacheModel();
1079            }
1080    
1081            public com.liferay.portlet.shopping.model.ShoppingItem toEscapedModel() {
1082                    return new ShoppingItemWrapper(_shoppingItem.toEscapedModel());
1083            }
1084    
1085            public com.liferay.portlet.shopping.model.ShoppingItem toUnescapedModel() {
1086                    return new ShoppingItemWrapper(_shoppingItem.toUnescapedModel());
1087            }
1088    
1089            @Override
1090            public java.lang.String toString() {
1091                    return _shoppingItem.toString();
1092            }
1093    
1094            public java.lang.String toXmlString() {
1095                    return _shoppingItem.toXmlString();
1096            }
1097    
1098            public void persist()
1099                    throws com.liferay.portal.kernel.exception.SystemException {
1100                    _shoppingItem.persist();
1101            }
1102    
1103            public com.liferay.portlet.shopping.model.ShoppingCategory getCategory() {
1104                    return _shoppingItem.getCategory();
1105            }
1106    
1107            public java.lang.String[] getFieldsQuantitiesArray() {
1108                    return _shoppingItem.getFieldsQuantitiesArray();
1109            }
1110    
1111            public java.util.List<com.liferay.portlet.shopping.model.ShoppingItemPrice> getItemPrices()
1112                    throws com.liferay.portal.kernel.exception.PortalException,
1113                            com.liferay.portal.kernel.exception.SystemException {
1114                    return _shoppingItem.getItemPrices();
1115            }
1116    
1117            public void setFieldsQuantitiesArray(
1118                    java.lang.String[] fieldsQuantitiesArray) {
1119                    _shoppingItem.setFieldsQuantitiesArray(fieldsQuantitiesArray);
1120            }
1121    
1122            /**
1123             * @deprecated Renamed to {@link #getWrappedModel}
1124             */
1125            public ShoppingItem getWrappedShoppingItem() {
1126                    return _shoppingItem;
1127            }
1128    
1129            public ShoppingItem getWrappedModel() {
1130                    return _shoppingItem;
1131            }
1132    
1133            public void resetOriginalValues() {
1134                    _shoppingItem.resetOriginalValues();
1135            }
1136    
1137            private ShoppingItem _shoppingItem;
1138    }