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