001    /**
002     * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
003     *
004     * The contents of this file are subject to the terms of the Liferay Enterprise
005     * Subscription License ("License"). You may not use this file except in
006     * compliance with the License. You can obtain a copy of the License by
007     * contacting Liferay, Inc. See the License for the specific language governing
008     * permissions and limitations under the License, including but not limited to
009     * distribution rights of the Software.
010     *
011     *
012     *
013     */
014    
015    package com.liferay.portlet.shopping.model;
016    
017    /**
018     * <p>
019     * This class is a wrapper for {@link ShoppingItemPrice}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       ShoppingItemPrice
024     * @generated
025     */
026    public class ShoppingItemPriceWrapper implements ShoppingItemPrice {
027            public ShoppingItemPriceWrapper(ShoppingItemPrice shoppingItemPrice) {
028                    _shoppingItemPrice = shoppingItemPrice;
029            }
030    
031            /**
032            * Gets the primary key of this shopping item price.
033            *
034            * @return the primary key of this shopping item price
035            */
036            public long getPrimaryKey() {
037                    return _shoppingItemPrice.getPrimaryKey();
038            }
039    
040            /**
041            * Sets the primary key of this shopping item price
042            *
043            * @param pk the primary key of this shopping item price
044            */
045            public void setPrimaryKey(long pk) {
046                    _shoppingItemPrice.setPrimaryKey(pk);
047            }
048    
049            /**
050            * Gets the item price id of this shopping item price.
051            *
052            * @return the item price id of this shopping item price
053            */
054            public long getItemPriceId() {
055                    return _shoppingItemPrice.getItemPriceId();
056            }
057    
058            /**
059            * Sets the item price id of this shopping item price.
060            *
061            * @param itemPriceId the item price id of this shopping item price
062            */
063            public void setItemPriceId(long itemPriceId) {
064                    _shoppingItemPrice.setItemPriceId(itemPriceId);
065            }
066    
067            /**
068            * Gets the item id of this shopping item price.
069            *
070            * @return the item id of this shopping item price
071            */
072            public long getItemId() {
073                    return _shoppingItemPrice.getItemId();
074            }
075    
076            /**
077            * Sets the item id of this shopping item price.
078            *
079            * @param itemId the item id of this shopping item price
080            */
081            public void setItemId(long itemId) {
082                    _shoppingItemPrice.setItemId(itemId);
083            }
084    
085            /**
086            * Gets the min quantity of this shopping item price.
087            *
088            * @return the min quantity of this shopping item price
089            */
090            public int getMinQuantity() {
091                    return _shoppingItemPrice.getMinQuantity();
092            }
093    
094            /**
095            * Sets the min quantity of this shopping item price.
096            *
097            * @param minQuantity the min quantity of this shopping item price
098            */
099            public void setMinQuantity(int minQuantity) {
100                    _shoppingItemPrice.setMinQuantity(minQuantity);
101            }
102    
103            /**
104            * Gets the max quantity of this shopping item price.
105            *
106            * @return the max quantity of this shopping item price
107            */
108            public int getMaxQuantity() {
109                    return _shoppingItemPrice.getMaxQuantity();
110            }
111    
112            /**
113            * Sets the max quantity of this shopping item price.
114            *
115            * @param maxQuantity the max quantity of this shopping item price
116            */
117            public void setMaxQuantity(int maxQuantity) {
118                    _shoppingItemPrice.setMaxQuantity(maxQuantity);
119            }
120    
121            /**
122            * Gets the price of this shopping item price.
123            *
124            * @return the price of this shopping item price
125            */
126            public double getPrice() {
127                    return _shoppingItemPrice.getPrice();
128            }
129    
130            /**
131            * Sets the price of this shopping item price.
132            *
133            * @param price the price of this shopping item price
134            */
135            public void setPrice(double price) {
136                    _shoppingItemPrice.setPrice(price);
137            }
138    
139            /**
140            * Gets the discount of this shopping item price.
141            *
142            * @return the discount of this shopping item price
143            */
144            public double getDiscount() {
145                    return _shoppingItemPrice.getDiscount();
146            }
147    
148            /**
149            * Sets the discount of this shopping item price.
150            *
151            * @param discount the discount of this shopping item price
152            */
153            public void setDiscount(double discount) {
154                    _shoppingItemPrice.setDiscount(discount);
155            }
156    
157            /**
158            * Gets the taxable of this shopping item price.
159            *
160            * @return the taxable of this shopping item price
161            */
162            public boolean getTaxable() {
163                    return _shoppingItemPrice.getTaxable();
164            }
165    
166            /**
167            * Determines whether this shopping item price is taxable.
168            *
169            * @return whether this shopping item price is taxable
170            */
171            public boolean isTaxable() {
172                    return _shoppingItemPrice.isTaxable();
173            }
174    
175            /**
176            * Sets whether this {$entity.humanName} is taxable.
177            *
178            * @param taxable the taxable of this shopping item price
179            */
180            public void setTaxable(boolean taxable) {
181                    _shoppingItemPrice.setTaxable(taxable);
182            }
183    
184            /**
185            * Gets the shipping of this shopping item price.
186            *
187            * @return the shipping of this shopping item price
188            */
189            public double getShipping() {
190                    return _shoppingItemPrice.getShipping();
191            }
192    
193            /**
194            * Sets the shipping of this shopping item price.
195            *
196            * @param shipping the shipping of this shopping item price
197            */
198            public void setShipping(double shipping) {
199                    _shoppingItemPrice.setShipping(shipping);
200            }
201    
202            /**
203            * Gets the use shipping formula of this shopping item price.
204            *
205            * @return the use shipping formula of this shopping item price
206            */
207            public boolean getUseShippingFormula() {
208                    return _shoppingItemPrice.getUseShippingFormula();
209            }
210    
211            /**
212            * Determines whether this shopping item price is use shipping formula.
213            *
214            * @return whether this shopping item price is use shipping formula
215            */
216            public boolean isUseShippingFormula() {
217                    return _shoppingItemPrice.isUseShippingFormula();
218            }
219    
220            /**
221            * Sets whether this {$entity.humanName} is use shipping formula.
222            *
223            * @param useShippingFormula the use shipping formula of this shopping item price
224            */
225            public void setUseShippingFormula(boolean useShippingFormula) {
226                    _shoppingItemPrice.setUseShippingFormula(useShippingFormula);
227            }
228    
229            /**
230            * Gets the status of this shopping item price.
231            *
232            * @return the status of this shopping item price
233            */
234            public int getStatus() {
235                    return _shoppingItemPrice.getStatus();
236            }
237    
238            /**
239            * Sets the status of this shopping item price.
240            *
241            * @param status the status of this shopping item price
242            */
243            public void setStatus(int status) {
244                    _shoppingItemPrice.setStatus(status);
245            }
246    
247            public boolean isNew() {
248                    return _shoppingItemPrice.isNew();
249            }
250    
251            public void setNew(boolean n) {
252                    _shoppingItemPrice.setNew(n);
253            }
254    
255            public boolean isCachedModel() {
256                    return _shoppingItemPrice.isCachedModel();
257            }
258    
259            public void setCachedModel(boolean cachedModel) {
260                    _shoppingItemPrice.setCachedModel(cachedModel);
261            }
262    
263            public boolean isEscapedModel() {
264                    return _shoppingItemPrice.isEscapedModel();
265            }
266    
267            public void setEscapedModel(boolean escapedModel) {
268                    _shoppingItemPrice.setEscapedModel(escapedModel);
269            }
270    
271            public java.io.Serializable getPrimaryKeyObj() {
272                    return _shoppingItemPrice.getPrimaryKeyObj();
273            }
274    
275            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
276                    return _shoppingItemPrice.getExpandoBridge();
277            }
278    
279            public void setExpandoBridgeAttributes(
280                    com.liferay.portal.service.ServiceContext serviceContext) {
281                    _shoppingItemPrice.setExpandoBridgeAttributes(serviceContext);
282            }
283    
284            public java.lang.Object clone() {
285                    return _shoppingItemPrice.clone();
286            }
287    
288            public int compareTo(
289                    com.liferay.portlet.shopping.model.ShoppingItemPrice shoppingItemPrice) {
290                    return _shoppingItemPrice.compareTo(shoppingItemPrice);
291            }
292    
293            public int hashCode() {
294                    return _shoppingItemPrice.hashCode();
295            }
296    
297            public com.liferay.portlet.shopping.model.ShoppingItemPrice toEscapedModel() {
298                    return _shoppingItemPrice.toEscapedModel();
299            }
300    
301            public java.lang.String toString() {
302                    return _shoppingItemPrice.toString();
303            }
304    
305            public java.lang.String toXmlString() {
306                    return _shoppingItemPrice.toXmlString();
307            }
308    
309            public ShoppingItemPrice getWrappedShoppingItemPrice() {
310                    return _shoppingItemPrice;
311            }
312    
313            private ShoppingItemPrice _shoppingItemPrice;
314    }