001    /**
002     * Copyright (c) 2000-2010 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    /**
018     * <p>
019     * This class is a wrapper for {@link ShoppingItem}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       ShoppingItem
024     * @generated
025     */
026    public class ShoppingItemWrapper implements ShoppingItem {
027            public ShoppingItemWrapper(ShoppingItem shoppingItem) {
028                    _shoppingItem = shoppingItem;
029            }
030    
031            public long getPrimaryKey() {
032                    return _shoppingItem.getPrimaryKey();
033            }
034    
035            public void setPrimaryKey(long pk) {
036                    _shoppingItem.setPrimaryKey(pk);
037            }
038    
039            public long getItemId() {
040                    return _shoppingItem.getItemId();
041            }
042    
043            public void setItemId(long itemId) {
044                    _shoppingItem.setItemId(itemId);
045            }
046    
047            public long getGroupId() {
048                    return _shoppingItem.getGroupId();
049            }
050    
051            public void setGroupId(long groupId) {
052                    _shoppingItem.setGroupId(groupId);
053            }
054    
055            public long getCompanyId() {
056                    return _shoppingItem.getCompanyId();
057            }
058    
059            public void setCompanyId(long companyId) {
060                    _shoppingItem.setCompanyId(companyId);
061            }
062    
063            public long getUserId() {
064                    return _shoppingItem.getUserId();
065            }
066    
067            public void setUserId(long userId) {
068                    _shoppingItem.setUserId(userId);
069            }
070    
071            public java.lang.String getUserUuid()
072                    throws com.liferay.portal.kernel.exception.SystemException {
073                    return _shoppingItem.getUserUuid();
074            }
075    
076            public void setUserUuid(java.lang.String userUuid) {
077                    _shoppingItem.setUserUuid(userUuid);
078            }
079    
080            public java.lang.String getUserName() {
081                    return _shoppingItem.getUserName();
082            }
083    
084            public void setUserName(java.lang.String userName) {
085                    _shoppingItem.setUserName(userName);
086            }
087    
088            public java.util.Date getCreateDate() {
089                    return _shoppingItem.getCreateDate();
090            }
091    
092            public void setCreateDate(java.util.Date createDate) {
093                    _shoppingItem.setCreateDate(createDate);
094            }
095    
096            public java.util.Date getModifiedDate() {
097                    return _shoppingItem.getModifiedDate();
098            }
099    
100            public void setModifiedDate(java.util.Date modifiedDate) {
101                    _shoppingItem.setModifiedDate(modifiedDate);
102            }
103    
104            public long getCategoryId() {
105                    return _shoppingItem.getCategoryId();
106            }
107    
108            public void setCategoryId(long categoryId) {
109                    _shoppingItem.setCategoryId(categoryId);
110            }
111    
112            public java.lang.String getSku() {
113                    return _shoppingItem.getSku();
114            }
115    
116            public void setSku(java.lang.String sku) {
117                    _shoppingItem.setSku(sku);
118            }
119    
120            public java.lang.String getName() {
121                    return _shoppingItem.getName();
122            }
123    
124            public void setName(java.lang.String name) {
125                    _shoppingItem.setName(name);
126            }
127    
128            public java.lang.String getDescription() {
129                    return _shoppingItem.getDescription();
130            }
131    
132            public void setDescription(java.lang.String description) {
133                    _shoppingItem.setDescription(description);
134            }
135    
136            public java.lang.String getProperties() {
137                    return _shoppingItem.getProperties();
138            }
139    
140            public void setProperties(java.lang.String properties) {
141                    _shoppingItem.setProperties(properties);
142            }
143    
144            public boolean getFields() {
145                    return _shoppingItem.getFields();
146            }
147    
148            public boolean isFields() {
149                    return _shoppingItem.isFields();
150            }
151    
152            public void setFields(boolean fields) {
153                    _shoppingItem.setFields(fields);
154            }
155    
156            public java.lang.String getFieldsQuantities() {
157                    return _shoppingItem.getFieldsQuantities();
158            }
159    
160            public void setFieldsQuantities(java.lang.String fieldsQuantities) {
161                    _shoppingItem.setFieldsQuantities(fieldsQuantities);
162            }
163    
164            public int getMinQuantity() {
165                    return _shoppingItem.getMinQuantity();
166            }
167    
168            public void setMinQuantity(int minQuantity) {
169                    _shoppingItem.setMinQuantity(minQuantity);
170            }
171    
172            public int getMaxQuantity() {
173                    return _shoppingItem.getMaxQuantity();
174            }
175    
176            public void setMaxQuantity(int maxQuantity) {
177                    _shoppingItem.setMaxQuantity(maxQuantity);
178            }
179    
180            public double getPrice() {
181                    return _shoppingItem.getPrice();
182            }
183    
184            public void setPrice(double price) {
185                    _shoppingItem.setPrice(price);
186            }
187    
188            public double getDiscount() {
189                    return _shoppingItem.getDiscount();
190            }
191    
192            public void setDiscount(double discount) {
193                    _shoppingItem.setDiscount(discount);
194            }
195    
196            public boolean getTaxable() {
197                    return _shoppingItem.getTaxable();
198            }
199    
200            public boolean isTaxable() {
201                    return _shoppingItem.isTaxable();
202            }
203    
204            public void setTaxable(boolean taxable) {
205                    _shoppingItem.setTaxable(taxable);
206            }
207    
208            public double getShipping() {
209                    return _shoppingItem.getShipping();
210            }
211    
212            public void setShipping(double shipping) {
213                    _shoppingItem.setShipping(shipping);
214            }
215    
216            public boolean getUseShippingFormula() {
217                    return _shoppingItem.getUseShippingFormula();
218            }
219    
220            public boolean isUseShippingFormula() {
221                    return _shoppingItem.isUseShippingFormula();
222            }
223    
224            public void setUseShippingFormula(boolean useShippingFormula) {
225                    _shoppingItem.setUseShippingFormula(useShippingFormula);
226            }
227    
228            public boolean getRequiresShipping() {
229                    return _shoppingItem.getRequiresShipping();
230            }
231    
232            public boolean isRequiresShipping() {
233                    return _shoppingItem.isRequiresShipping();
234            }
235    
236            public void setRequiresShipping(boolean requiresShipping) {
237                    _shoppingItem.setRequiresShipping(requiresShipping);
238            }
239    
240            public int getStockQuantity() {
241                    return _shoppingItem.getStockQuantity();
242            }
243    
244            public void setStockQuantity(int stockQuantity) {
245                    _shoppingItem.setStockQuantity(stockQuantity);
246            }
247    
248            public boolean getFeatured() {
249                    return _shoppingItem.getFeatured();
250            }
251    
252            public boolean isFeatured() {
253                    return _shoppingItem.isFeatured();
254            }
255    
256            public void setFeatured(boolean featured) {
257                    _shoppingItem.setFeatured(featured);
258            }
259    
260            public boolean getSale() {
261                    return _shoppingItem.getSale();
262            }
263    
264            public boolean isSale() {
265                    return _shoppingItem.isSale();
266            }
267    
268            public void setSale(boolean sale) {
269                    _shoppingItem.setSale(sale);
270            }
271    
272            public boolean getSmallImage() {
273                    return _shoppingItem.getSmallImage();
274            }
275    
276            public boolean isSmallImage() {
277                    return _shoppingItem.isSmallImage();
278            }
279    
280            public void setSmallImage(boolean smallImage) {
281                    _shoppingItem.setSmallImage(smallImage);
282            }
283    
284            public long getSmallImageId() {
285                    return _shoppingItem.getSmallImageId();
286            }
287    
288            public void setSmallImageId(long smallImageId) {
289                    _shoppingItem.setSmallImageId(smallImageId);
290            }
291    
292            public java.lang.String getSmallImageURL() {
293                    return _shoppingItem.getSmallImageURL();
294            }
295    
296            public void setSmallImageURL(java.lang.String smallImageURL) {
297                    _shoppingItem.setSmallImageURL(smallImageURL);
298            }
299    
300            public boolean getMediumImage() {
301                    return _shoppingItem.getMediumImage();
302            }
303    
304            public boolean isMediumImage() {
305                    return _shoppingItem.isMediumImage();
306            }
307    
308            public void setMediumImage(boolean mediumImage) {
309                    _shoppingItem.setMediumImage(mediumImage);
310            }
311    
312            public long getMediumImageId() {
313                    return _shoppingItem.getMediumImageId();
314            }
315    
316            public void setMediumImageId(long mediumImageId) {
317                    _shoppingItem.setMediumImageId(mediumImageId);
318            }
319    
320            public java.lang.String getMediumImageURL() {
321                    return _shoppingItem.getMediumImageURL();
322            }
323    
324            public void setMediumImageURL(java.lang.String mediumImageURL) {
325                    _shoppingItem.setMediumImageURL(mediumImageURL);
326            }
327    
328            public boolean getLargeImage() {
329                    return _shoppingItem.getLargeImage();
330            }
331    
332            public boolean isLargeImage() {
333                    return _shoppingItem.isLargeImage();
334            }
335    
336            public void setLargeImage(boolean largeImage) {
337                    _shoppingItem.setLargeImage(largeImage);
338            }
339    
340            public long getLargeImageId() {
341                    return _shoppingItem.getLargeImageId();
342            }
343    
344            public void setLargeImageId(long largeImageId) {
345                    _shoppingItem.setLargeImageId(largeImageId);
346            }
347    
348            public java.lang.String getLargeImageURL() {
349                    return _shoppingItem.getLargeImageURL();
350            }
351    
352            public void setLargeImageURL(java.lang.String largeImageURL) {
353                    _shoppingItem.setLargeImageURL(largeImageURL);
354            }
355    
356            public com.liferay.portlet.shopping.model.ShoppingItem toEscapedModel() {
357                    return _shoppingItem.toEscapedModel();
358            }
359    
360            public boolean isNew() {
361                    return _shoppingItem.isNew();
362            }
363    
364            public void setNew(boolean n) {
365                    _shoppingItem.setNew(n);
366            }
367    
368            public boolean isCachedModel() {
369                    return _shoppingItem.isCachedModel();
370            }
371    
372            public void setCachedModel(boolean cachedModel) {
373                    _shoppingItem.setCachedModel(cachedModel);
374            }
375    
376            public boolean isEscapedModel() {
377                    return _shoppingItem.isEscapedModel();
378            }
379    
380            public void setEscapedModel(boolean escapedModel) {
381                    _shoppingItem.setEscapedModel(escapedModel);
382            }
383    
384            public java.io.Serializable getPrimaryKeyObj() {
385                    return _shoppingItem.getPrimaryKeyObj();
386            }
387    
388            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
389                    return _shoppingItem.getExpandoBridge();
390            }
391    
392            public void setExpandoBridgeAttributes(
393                    com.liferay.portal.service.ServiceContext serviceContext) {
394                    _shoppingItem.setExpandoBridgeAttributes(serviceContext);
395            }
396    
397            public java.lang.Object clone() {
398                    return _shoppingItem.clone();
399            }
400    
401            public int compareTo(
402                    com.liferay.portlet.shopping.model.ShoppingItem shoppingItem) {
403                    return _shoppingItem.compareTo(shoppingItem);
404            }
405    
406            public int hashCode() {
407                    return _shoppingItem.hashCode();
408            }
409    
410            public java.lang.String toString() {
411                    return _shoppingItem.toString();
412            }
413    
414            public java.lang.String toXmlString() {
415                    return _shoppingItem.toXmlString();
416            }
417    
418            public com.liferay.portlet.shopping.model.ShoppingCategory getCategory() {
419                    return _shoppingItem.getCategory();
420            }
421    
422            public java.lang.String[] getFieldsQuantitiesArray() {
423                    return _shoppingItem.getFieldsQuantitiesArray();
424            }
425    
426            public java.util.List<com.liferay.portlet.shopping.model.ShoppingItemPrice> getItemPrices()
427                    throws com.liferay.portal.kernel.exception.PortalException,
428                            com.liferay.portal.kernel.exception.SystemException {
429                    return _shoppingItem.getItemPrices();
430            }
431    
432            public void setFieldsQuantitiesArray(
433                    java.lang.String[] fieldsQuantitiesArray) {
434                    _shoppingItem.setFieldsQuantitiesArray(fieldsQuantitiesArray);
435            }
436    
437            public ShoppingItem getWrappedShoppingItem() {
438                    return _shoppingItem;
439            }
440    
441            private ShoppingItem _shoppingItem;
442    }