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     * <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            public long getPrimaryKey() {
032                    return _shoppingItemPrice.getPrimaryKey();
033            }
034    
035            public void setPrimaryKey(long pk) {
036                    _shoppingItemPrice.setPrimaryKey(pk);
037            }
038    
039            public long getItemPriceId() {
040                    return _shoppingItemPrice.getItemPriceId();
041            }
042    
043            public void setItemPriceId(long itemPriceId) {
044                    _shoppingItemPrice.setItemPriceId(itemPriceId);
045            }
046    
047            public long getItemId() {
048                    return _shoppingItemPrice.getItemId();
049            }
050    
051            public void setItemId(long itemId) {
052                    _shoppingItemPrice.setItemId(itemId);
053            }
054    
055            public int getMinQuantity() {
056                    return _shoppingItemPrice.getMinQuantity();
057            }
058    
059            public void setMinQuantity(int minQuantity) {
060                    _shoppingItemPrice.setMinQuantity(minQuantity);
061            }
062    
063            public int getMaxQuantity() {
064                    return _shoppingItemPrice.getMaxQuantity();
065            }
066    
067            public void setMaxQuantity(int maxQuantity) {
068                    _shoppingItemPrice.setMaxQuantity(maxQuantity);
069            }
070    
071            public double getPrice() {
072                    return _shoppingItemPrice.getPrice();
073            }
074    
075            public void setPrice(double price) {
076                    _shoppingItemPrice.setPrice(price);
077            }
078    
079            public double getDiscount() {
080                    return _shoppingItemPrice.getDiscount();
081            }
082    
083            public void setDiscount(double discount) {
084                    _shoppingItemPrice.setDiscount(discount);
085            }
086    
087            public boolean getTaxable() {
088                    return _shoppingItemPrice.getTaxable();
089            }
090    
091            public boolean isTaxable() {
092                    return _shoppingItemPrice.isTaxable();
093            }
094    
095            public void setTaxable(boolean taxable) {
096                    _shoppingItemPrice.setTaxable(taxable);
097            }
098    
099            public double getShipping() {
100                    return _shoppingItemPrice.getShipping();
101            }
102    
103            public void setShipping(double shipping) {
104                    _shoppingItemPrice.setShipping(shipping);
105            }
106    
107            public boolean getUseShippingFormula() {
108                    return _shoppingItemPrice.getUseShippingFormula();
109            }
110    
111            public boolean isUseShippingFormula() {
112                    return _shoppingItemPrice.isUseShippingFormula();
113            }
114    
115            public void setUseShippingFormula(boolean useShippingFormula) {
116                    _shoppingItemPrice.setUseShippingFormula(useShippingFormula);
117            }
118    
119            public int getStatus() {
120                    return _shoppingItemPrice.getStatus();
121            }
122    
123            public void setStatus(int status) {
124                    _shoppingItemPrice.setStatus(status);
125            }
126    
127            public com.liferay.portlet.shopping.model.ShoppingItemPrice toEscapedModel() {
128                    return _shoppingItemPrice.toEscapedModel();
129            }
130    
131            public boolean isNew() {
132                    return _shoppingItemPrice.isNew();
133            }
134    
135            public void setNew(boolean n) {
136                    _shoppingItemPrice.setNew(n);
137            }
138    
139            public boolean isCachedModel() {
140                    return _shoppingItemPrice.isCachedModel();
141            }
142    
143            public void setCachedModel(boolean cachedModel) {
144                    _shoppingItemPrice.setCachedModel(cachedModel);
145            }
146    
147            public boolean isEscapedModel() {
148                    return _shoppingItemPrice.isEscapedModel();
149            }
150    
151            public void setEscapedModel(boolean escapedModel) {
152                    _shoppingItemPrice.setEscapedModel(escapedModel);
153            }
154    
155            public java.io.Serializable getPrimaryKeyObj() {
156                    return _shoppingItemPrice.getPrimaryKeyObj();
157            }
158    
159            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
160                    return _shoppingItemPrice.getExpandoBridge();
161            }
162    
163            public void setExpandoBridgeAttributes(
164                    com.liferay.portal.service.ServiceContext serviceContext) {
165                    _shoppingItemPrice.setExpandoBridgeAttributes(serviceContext);
166            }
167    
168            public java.lang.Object clone() {
169                    return _shoppingItemPrice.clone();
170            }
171    
172            public int compareTo(
173                    com.liferay.portlet.shopping.model.ShoppingItemPrice shoppingItemPrice) {
174                    return _shoppingItemPrice.compareTo(shoppingItemPrice);
175            }
176    
177            public int hashCode() {
178                    return _shoppingItemPrice.hashCode();
179            }
180    
181            public java.lang.String toString() {
182                    return _shoppingItemPrice.toString();
183            }
184    
185            public java.lang.String toXmlString() {
186                    return _shoppingItemPrice.toXmlString();
187            }
188    
189            public ShoppingItemPrice getWrappedShoppingItemPrice() {
190                    return _shoppingItemPrice;
191            }
192    
193            private ShoppingItemPrice _shoppingItemPrice;
194    }