1   /**
2    * Copyright (c) 2000-2009 Liferay, Inc. All rights reserved.
3    *
4    * Permission is hereby granted, free of charge, to any person obtaining a copy
5    * of this software and associated documentation files (the "Software"), to deal
6    * in the Software without restriction, including without limitation the rights
7    * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8    * copies of the Software, and to permit persons to whom the Software is
9    * furnished to do so, subject to the following conditions:
10   *
11   * The above copyright notice and this permission notice shall be included in
12   * all copies or substantial portions of the Software.
13   *
14   * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15   * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16   * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17   * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18   * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19   * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20   * SOFTWARE.
21   */
22  
23  package com.liferay.portlet.shopping.model;
24  
25  
26  /**
27   * <a href="ShoppingItemPriceSoap.java.html"><b><i>View Source</i></b></a>
28   *
29   * <p>
30   * ServiceBuilder generated this class. Modifications in this class will be
31   * overwritten the next time is generated.
32   * </p>
33   *
34   * <p>
35   * This class is a wrapper for {@link ShoppingItemPrice}.
36   * </p>
37   *
38   * @author    Brian Wing Shun Chan
39   * @see       ShoppingItemPrice
40   * @generated
41   */
42  public class ShoppingItemPriceWrapper implements ShoppingItemPrice {
43      public ShoppingItemPriceWrapper(ShoppingItemPrice shoppingItemPrice) {
44          _shoppingItemPrice = shoppingItemPrice;
45      }
46  
47      public long getPrimaryKey() {
48          return _shoppingItemPrice.getPrimaryKey();
49      }
50  
51      public void setPrimaryKey(long pk) {
52          _shoppingItemPrice.setPrimaryKey(pk);
53      }
54  
55      public long getItemPriceId() {
56          return _shoppingItemPrice.getItemPriceId();
57      }
58  
59      public void setItemPriceId(long itemPriceId) {
60          _shoppingItemPrice.setItemPriceId(itemPriceId);
61      }
62  
63      public long getItemId() {
64          return _shoppingItemPrice.getItemId();
65      }
66  
67      public void setItemId(long itemId) {
68          _shoppingItemPrice.setItemId(itemId);
69      }
70  
71      public int getMinQuantity() {
72          return _shoppingItemPrice.getMinQuantity();
73      }
74  
75      public void setMinQuantity(int minQuantity) {
76          _shoppingItemPrice.setMinQuantity(minQuantity);
77      }
78  
79      public int getMaxQuantity() {
80          return _shoppingItemPrice.getMaxQuantity();
81      }
82  
83      public void setMaxQuantity(int maxQuantity) {
84          _shoppingItemPrice.setMaxQuantity(maxQuantity);
85      }
86  
87      public double getPrice() {
88          return _shoppingItemPrice.getPrice();
89      }
90  
91      public void setPrice(double price) {
92          _shoppingItemPrice.setPrice(price);
93      }
94  
95      public double getDiscount() {
96          return _shoppingItemPrice.getDiscount();
97      }
98  
99      public void setDiscount(double discount) {
100         _shoppingItemPrice.setDiscount(discount);
101     }
102 
103     public boolean getTaxable() {
104         return _shoppingItemPrice.getTaxable();
105     }
106 
107     public boolean isTaxable() {
108         return _shoppingItemPrice.isTaxable();
109     }
110 
111     public void setTaxable(boolean taxable) {
112         _shoppingItemPrice.setTaxable(taxable);
113     }
114 
115     public double getShipping() {
116         return _shoppingItemPrice.getShipping();
117     }
118 
119     public void setShipping(double shipping) {
120         _shoppingItemPrice.setShipping(shipping);
121     }
122 
123     public boolean getUseShippingFormula() {
124         return _shoppingItemPrice.getUseShippingFormula();
125     }
126 
127     public boolean isUseShippingFormula() {
128         return _shoppingItemPrice.isUseShippingFormula();
129     }
130 
131     public void setUseShippingFormula(boolean useShippingFormula) {
132         _shoppingItemPrice.setUseShippingFormula(useShippingFormula);
133     }
134 
135     public int getStatus() {
136         return _shoppingItemPrice.getStatus();
137     }
138 
139     public void setStatus(int status) {
140         _shoppingItemPrice.setStatus(status);
141     }
142 
143     public com.liferay.portlet.shopping.model.ShoppingItemPrice toEscapedModel() {
144         return _shoppingItemPrice.toEscapedModel();
145     }
146 
147     public boolean isNew() {
148         return _shoppingItemPrice.isNew();
149     }
150 
151     public boolean setNew(boolean n) {
152         return _shoppingItemPrice.setNew(n);
153     }
154 
155     public boolean isCachedModel() {
156         return _shoppingItemPrice.isCachedModel();
157     }
158 
159     public void setCachedModel(boolean cachedModel) {
160         _shoppingItemPrice.setCachedModel(cachedModel);
161     }
162 
163     public boolean isEscapedModel() {
164         return _shoppingItemPrice.isEscapedModel();
165     }
166 
167     public void setEscapedModel(boolean escapedModel) {
168         _shoppingItemPrice.setEscapedModel(escapedModel);
169     }
170 
171     public java.io.Serializable getPrimaryKeyObj() {
172         return _shoppingItemPrice.getPrimaryKeyObj();
173     }
174 
175     public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
176         return _shoppingItemPrice.getExpandoBridge();
177     }
178 
179     public void setExpandoBridgeAttributes(
180         com.liferay.portal.service.ServiceContext serviceContext) {
181         _shoppingItemPrice.setExpandoBridgeAttributes(serviceContext);
182     }
183 
184     public java.lang.Object clone() {
185         return _shoppingItemPrice.clone();
186     }
187 
188     public int compareTo(
189         com.liferay.portlet.shopping.model.ShoppingItemPrice shoppingItemPrice) {
190         return _shoppingItemPrice.compareTo(shoppingItemPrice);
191     }
192 
193     public int hashCode() {
194         return _shoppingItemPrice.hashCode();
195     }
196 
197     public java.lang.String toString() {
198         return _shoppingItemPrice.toString();
199     }
200 
201     public java.lang.String toXmlString() {
202         return _shoppingItemPrice.toXmlString();
203     }
204 
205     public ShoppingItemPrice getWrappedShoppingItemPrice() {
206         return _shoppingItemPrice;
207     }
208 
209     private ShoppingItemPrice _shoppingItemPrice;
210 }