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