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="ShoppingItemPriceSoap.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 ShoppingItemPrice}.
28   * </p>
29   *
30   * @author    Brian Wing Shun Chan
31   * @see       ShoppingItemPrice
32   * @generated
33   */
34  public class ShoppingItemPriceWrapper implements ShoppingItemPrice {
35      public ShoppingItemPriceWrapper(ShoppingItemPrice shoppingItemPrice) {
36          _shoppingItemPrice = shoppingItemPrice;
37      }
38  
39      public long getPrimaryKey() {
40          return _shoppingItemPrice.getPrimaryKey();
41      }
42  
43      public void setPrimaryKey(long pk) {
44          _shoppingItemPrice.setPrimaryKey(pk);
45      }
46  
47      public long getItemPriceId() {
48          return _shoppingItemPrice.getItemPriceId();
49      }
50  
51      public void setItemPriceId(long itemPriceId) {
52          _shoppingItemPrice.setItemPriceId(itemPriceId);
53      }
54  
55      public long getItemId() {
56          return _shoppingItemPrice.getItemId();
57      }
58  
59      public void setItemId(long itemId) {
60          _shoppingItemPrice.setItemId(itemId);
61      }
62  
63      public int getMinQuantity() {
64          return _shoppingItemPrice.getMinQuantity();
65      }
66  
67      public void setMinQuantity(int minQuantity) {
68          _shoppingItemPrice.setMinQuantity(minQuantity);
69      }
70  
71      public int getMaxQuantity() {
72          return _shoppingItemPrice.getMaxQuantity();
73      }
74  
75      public void setMaxQuantity(int maxQuantity) {
76          _shoppingItemPrice.setMaxQuantity(maxQuantity);
77      }
78  
79      public double getPrice() {
80          return _shoppingItemPrice.getPrice();
81      }
82  
83      public void setPrice(double price) {
84          _shoppingItemPrice.setPrice(price);
85      }
86  
87      public double getDiscount() {
88          return _shoppingItemPrice.getDiscount();
89      }
90  
91      public void setDiscount(double discount) {
92          _shoppingItemPrice.setDiscount(discount);
93      }
94  
95      public boolean getTaxable() {
96          return _shoppingItemPrice.getTaxable();
97      }
98  
99      public boolean isTaxable() {
100         return _shoppingItemPrice.isTaxable();
101     }
102 
103     public void setTaxable(boolean taxable) {
104         _shoppingItemPrice.setTaxable(taxable);
105     }
106 
107     public double getShipping() {
108         return _shoppingItemPrice.getShipping();
109     }
110 
111     public void setShipping(double shipping) {
112         _shoppingItemPrice.setShipping(shipping);
113     }
114 
115     public boolean getUseShippingFormula() {
116         return _shoppingItemPrice.getUseShippingFormula();
117     }
118 
119     public boolean isUseShippingFormula() {
120         return _shoppingItemPrice.isUseShippingFormula();
121     }
122 
123     public void setUseShippingFormula(boolean useShippingFormula) {
124         _shoppingItemPrice.setUseShippingFormula(useShippingFormula);
125     }
126 
127     public int getStatus() {
128         return _shoppingItemPrice.getStatus();
129     }
130 
131     public void setStatus(int status) {
132         _shoppingItemPrice.setStatus(status);
133     }
134 
135     public com.liferay.portlet.shopping.model.ShoppingItemPrice toEscapedModel() {
136         return _shoppingItemPrice.toEscapedModel();
137     }
138 
139     public boolean isNew() {
140         return _shoppingItemPrice.isNew();
141     }
142 
143     public boolean setNew(boolean n) {
144         return _shoppingItemPrice.setNew(n);
145     }
146 
147     public boolean isCachedModel() {
148         return _shoppingItemPrice.isCachedModel();
149     }
150 
151     public void setCachedModel(boolean cachedModel) {
152         _shoppingItemPrice.setCachedModel(cachedModel);
153     }
154 
155     public boolean isEscapedModel() {
156         return _shoppingItemPrice.isEscapedModel();
157     }
158 
159     public void setEscapedModel(boolean escapedModel) {
160         _shoppingItemPrice.setEscapedModel(escapedModel);
161     }
162 
163     public java.io.Serializable getPrimaryKeyObj() {
164         return _shoppingItemPrice.getPrimaryKeyObj();
165     }
166 
167     public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
168         return _shoppingItemPrice.getExpandoBridge();
169     }
170 
171     public void setExpandoBridgeAttributes(
172         com.liferay.portal.service.ServiceContext serviceContext) {
173         _shoppingItemPrice.setExpandoBridgeAttributes(serviceContext);
174     }
175 
176     public java.lang.Object clone() {
177         return _shoppingItemPrice.clone();
178     }
179 
180     public int compareTo(
181         com.liferay.portlet.shopping.model.ShoppingItemPrice shoppingItemPrice) {
182         return _shoppingItemPrice.compareTo(shoppingItemPrice);
183     }
184 
185     public int hashCode() {
186         return _shoppingItemPrice.hashCode();
187     }
188 
189     public java.lang.String toString() {
190         return _shoppingItemPrice.toString();
191     }
192 
193     public java.lang.String toXmlString() {
194         return _shoppingItemPrice.toXmlString();
195     }
196 
197     public ShoppingItemPrice getWrappedShoppingItemPrice() {
198         return _shoppingItemPrice;
199     }
200 
201     private ShoppingItemPrice _shoppingItemPrice;
202 }