1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * This library is free software; you can redistribute it and/or modify it under
5    * the terms of the GNU Lesser General Public License as published by the Free
6    * Software Foundation; either version 2.1 of the License, or (at your option)
7    * any later version.
8    *
9    * This library is distributed in the hope that it will be useful, but WITHOUT
10   * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11   * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
12   * details.
13   */
14  
15  package com.liferay.portlet.shopping.model;
16  
17  
18  /**
19   * <a href="ShoppingItemSoap.java.html"><b><i>View Source</i></b></a>
20   *
21   * <p>
22   * ServiceBuilder generated this class. Modifications in this class will be
23   * overwritten the next time is generated.
24   * </p>
25   *
26   * <p>
27   * This class is a wrapper for {@link ShoppingItem}.
28   * </p>
29   *
30   * @author    Brian Wing Shun Chan
31   * @see       ShoppingItem
32   * @generated
33   */
34  public class ShoppingItemWrapper implements ShoppingItem {
35      public ShoppingItemWrapper(ShoppingItem shoppingItem) {
36          _shoppingItem = shoppingItem;
37      }
38  
39      public long getPrimaryKey() {
40          return _shoppingItem.getPrimaryKey();
41      }
42  
43      public void setPrimaryKey(long pk) {
44          _shoppingItem.setPrimaryKey(pk);
45      }
46  
47      public long getItemId() {
48          return _shoppingItem.getItemId();
49      }
50  
51      public void setItemId(long itemId) {
52          _shoppingItem.setItemId(itemId);
53      }
54  
55      public long getGroupId() {
56          return _shoppingItem.getGroupId();
57      }
58  
59      public void setGroupId(long groupId) {
60          _shoppingItem.setGroupId(groupId);
61      }
62  
63      public long getCompanyId() {
64          return _shoppingItem.getCompanyId();
65      }
66  
67      public void setCompanyId(long companyId) {
68          _shoppingItem.setCompanyId(companyId);
69      }
70  
71      public long getUserId() {
72          return _shoppingItem.getUserId();
73      }
74  
75      public void setUserId(long userId) {
76          _shoppingItem.setUserId(userId);
77      }
78  
79      public java.lang.String getUserUuid()
80          throws com.liferay.portal.kernel.exception.SystemException {
81          return _shoppingItem.getUserUuid();
82      }
83  
84      public void setUserUuid(java.lang.String userUuid) {
85          _shoppingItem.setUserUuid(userUuid);
86      }
87  
88      public java.lang.String getUserName() {
89          return _shoppingItem.getUserName();
90      }
91  
92      public void setUserName(java.lang.String userName) {
93          _shoppingItem.setUserName(userName);
94      }
95  
96      public java.util.Date getCreateDate() {
97          return _shoppingItem.getCreateDate();
98      }
99  
100     public void setCreateDate(java.util.Date createDate) {
101         _shoppingItem.setCreateDate(createDate);
102     }
103 
104     public java.util.Date getModifiedDate() {
105         return _shoppingItem.getModifiedDate();
106     }
107 
108     public void setModifiedDate(java.util.Date modifiedDate) {
109         _shoppingItem.setModifiedDate(modifiedDate);
110     }
111 
112     public long getCategoryId() {
113         return _shoppingItem.getCategoryId();
114     }
115 
116     public void setCategoryId(long categoryId) {
117         _shoppingItem.setCategoryId(categoryId);
118     }
119 
120     public java.lang.String getSku() {
121         return _shoppingItem.getSku();
122     }
123 
124     public void setSku(java.lang.String sku) {
125         _shoppingItem.setSku(sku);
126     }
127 
128     public java.lang.String getName() {
129         return _shoppingItem.getName();
130     }
131 
132     public void setName(java.lang.String name) {
133         _shoppingItem.setName(name);
134     }
135 
136     public java.lang.String getDescription() {
137         return _shoppingItem.getDescription();
138     }
139 
140     public void setDescription(java.lang.String description) {
141         _shoppingItem.setDescription(description);
142     }
143 
144     public java.lang.String getProperties() {
145         return _shoppingItem.getProperties();
146     }
147 
148     public void setProperties(java.lang.String properties) {
149         _shoppingItem.setProperties(properties);
150     }
151 
152     public boolean getFields() {
153         return _shoppingItem.getFields();
154     }
155 
156     public boolean isFields() {
157         return _shoppingItem.isFields();
158     }
159 
160     public void setFields(boolean fields) {
161         _shoppingItem.setFields(fields);
162     }
163 
164     public java.lang.String getFieldsQuantities() {
165         return _shoppingItem.getFieldsQuantities();
166     }
167 
168     public void setFieldsQuantities(java.lang.String fieldsQuantities) {
169         _shoppingItem.setFieldsQuantities(fieldsQuantities);
170     }
171 
172     public int getMinQuantity() {
173         return _shoppingItem.getMinQuantity();
174     }
175 
176     public void setMinQuantity(int minQuantity) {
177         _shoppingItem.setMinQuantity(minQuantity);
178     }
179 
180     public int getMaxQuantity() {
181         return _shoppingItem.getMaxQuantity();
182     }
183 
184     public void setMaxQuantity(int maxQuantity) {
185         _shoppingItem.setMaxQuantity(maxQuantity);
186     }
187 
188     public double getPrice() {
189         return _shoppingItem.getPrice();
190     }
191 
192     public void setPrice(double price) {
193         _shoppingItem.setPrice(price);
194     }
195 
196     public double getDiscount() {
197         return _shoppingItem.getDiscount();
198     }
199 
200     public void setDiscount(double discount) {
201         _shoppingItem.setDiscount(discount);
202     }
203 
204     public boolean getTaxable() {
205         return _shoppingItem.getTaxable();
206     }
207 
208     public boolean isTaxable() {
209         return _shoppingItem.isTaxable();
210     }
211 
212     public void setTaxable(boolean taxable) {
213         _shoppingItem.setTaxable(taxable);
214     }
215 
216     public double getShipping() {
217         return _shoppingItem.getShipping();
218     }
219 
220     public void setShipping(double shipping) {
221         _shoppingItem.setShipping(shipping);
222     }
223 
224     public boolean getUseShippingFormula() {
225         return _shoppingItem.getUseShippingFormula();
226     }
227 
228     public boolean isUseShippingFormula() {
229         return _shoppingItem.isUseShippingFormula();
230     }
231 
232     public void setUseShippingFormula(boolean useShippingFormula) {
233         _shoppingItem.setUseShippingFormula(useShippingFormula);
234     }
235 
236     public boolean getRequiresShipping() {
237         return _shoppingItem.getRequiresShipping();
238     }
239 
240     public boolean isRequiresShipping() {
241         return _shoppingItem.isRequiresShipping();
242     }
243 
244     public void setRequiresShipping(boolean requiresShipping) {
245         _shoppingItem.setRequiresShipping(requiresShipping);
246     }
247 
248     public int getStockQuantity() {
249         return _shoppingItem.getStockQuantity();
250     }
251 
252     public void setStockQuantity(int stockQuantity) {
253         _shoppingItem.setStockQuantity(stockQuantity);
254     }
255 
256     public boolean getFeatured() {
257         return _shoppingItem.getFeatured();
258     }
259 
260     public boolean isFeatured() {
261         return _shoppingItem.isFeatured();
262     }
263 
264     public void setFeatured(boolean featured) {
265         _shoppingItem.setFeatured(featured);
266     }
267 
268     public boolean getSale() {
269         return _shoppingItem.getSale();
270     }
271 
272     public boolean isSale() {
273         return _shoppingItem.isSale();
274     }
275 
276     public void setSale(boolean sale) {
277         _shoppingItem.setSale(sale);
278     }
279 
280     public boolean getSmallImage() {
281         return _shoppingItem.getSmallImage();
282     }
283 
284     public boolean isSmallImage() {
285         return _shoppingItem.isSmallImage();
286     }
287 
288     public void setSmallImage(boolean smallImage) {
289         _shoppingItem.setSmallImage(smallImage);
290     }
291 
292     public long getSmallImageId() {
293         return _shoppingItem.getSmallImageId();
294     }
295 
296     public void setSmallImageId(long smallImageId) {
297         _shoppingItem.setSmallImageId(smallImageId);
298     }
299 
300     public java.lang.String getSmallImageURL() {
301         return _shoppingItem.getSmallImageURL();
302     }
303 
304     public void setSmallImageURL(java.lang.String smallImageURL) {
305         _shoppingItem.setSmallImageURL(smallImageURL);
306     }
307 
308     public boolean getMediumImage() {
309         return _shoppingItem.getMediumImage();
310     }
311 
312     public boolean isMediumImage() {
313         return _shoppingItem.isMediumImage();
314     }
315 
316     public void setMediumImage(boolean mediumImage) {
317         _shoppingItem.setMediumImage(mediumImage);
318     }
319 
320     public long getMediumImageId() {
321         return _shoppingItem.getMediumImageId();
322     }
323 
324     public void setMediumImageId(long mediumImageId) {
325         _shoppingItem.setMediumImageId(mediumImageId);
326     }
327 
328     public java.lang.String getMediumImageURL() {
329         return _shoppingItem.getMediumImageURL();
330     }
331 
332     public void setMediumImageURL(java.lang.String mediumImageURL) {
333         _shoppingItem.setMediumImageURL(mediumImageURL);
334     }
335 
336     public boolean getLargeImage() {
337         return _shoppingItem.getLargeImage();
338     }
339 
340     public boolean isLargeImage() {
341         return _shoppingItem.isLargeImage();
342     }
343 
344     public void setLargeImage(boolean largeImage) {
345         _shoppingItem.setLargeImage(largeImage);
346     }
347 
348     public long getLargeImageId() {
349         return _shoppingItem.getLargeImageId();
350     }
351 
352     public void setLargeImageId(long largeImageId) {
353         _shoppingItem.setLargeImageId(largeImageId);
354     }
355 
356     public java.lang.String getLargeImageURL() {
357         return _shoppingItem.getLargeImageURL();
358     }
359 
360     public void setLargeImageURL(java.lang.String largeImageURL) {
361         _shoppingItem.setLargeImageURL(largeImageURL);
362     }
363 
364     public com.liferay.portlet.shopping.model.ShoppingItem toEscapedModel() {
365         return _shoppingItem.toEscapedModel();
366     }
367 
368     public boolean isNew() {
369         return _shoppingItem.isNew();
370     }
371 
372     public boolean setNew(boolean n) {
373         return _shoppingItem.setNew(n);
374     }
375 
376     public boolean isCachedModel() {
377         return _shoppingItem.isCachedModel();
378     }
379 
380     public void setCachedModel(boolean cachedModel) {
381         _shoppingItem.setCachedModel(cachedModel);
382     }
383 
384     public boolean isEscapedModel() {
385         return _shoppingItem.isEscapedModel();
386     }
387 
388     public void setEscapedModel(boolean escapedModel) {
389         _shoppingItem.setEscapedModel(escapedModel);
390     }
391 
392     public java.io.Serializable getPrimaryKeyObj() {
393         return _shoppingItem.getPrimaryKeyObj();
394     }
395 
396     public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
397         return _shoppingItem.getExpandoBridge();
398     }
399 
400     public void setExpandoBridgeAttributes(
401         com.liferay.portal.service.ServiceContext serviceContext) {
402         _shoppingItem.setExpandoBridgeAttributes(serviceContext);
403     }
404 
405     public java.lang.Object clone() {
406         return _shoppingItem.clone();
407     }
408 
409     public int compareTo(
410         com.liferay.portlet.shopping.model.ShoppingItem shoppingItem) {
411         return _shoppingItem.compareTo(shoppingItem);
412     }
413 
414     public int hashCode() {
415         return _shoppingItem.hashCode();
416     }
417 
418     public java.lang.String toString() {
419         return _shoppingItem.toString();
420     }
421 
422     public java.lang.String toXmlString() {
423         return _shoppingItem.toXmlString();
424     }
425 
426     public com.liferay.portlet.shopping.model.ShoppingCategory getCategory() {
427         return _shoppingItem.getCategory();
428     }
429 
430     public java.lang.String[] getFieldsQuantitiesArray() {
431         return _shoppingItem.getFieldsQuantitiesArray();
432     }
433 
434     public java.util.List<com.liferay.portlet.shopping.model.ShoppingItemPrice> getItemPrices()
435         throws com.liferay.portal.kernel.exception.PortalException,
436             com.liferay.portal.kernel.exception.SystemException {
437         return _shoppingItem.getItemPrices();
438     }
439 
440     public void setFieldsQuantitiesArray(
441         java.lang.String[] fieldsQuantitiesArray) {
442         _shoppingItem.setFieldsQuantitiesArray(fieldsQuantitiesArray);
443     }
444 
445     public ShoppingItem getWrappedShoppingItem() {
446         return _shoppingItem;
447     }
448 
449     private ShoppingItem _shoppingItem;
450 }