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