1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * The contents of this file are subject to the terms of the Liferay Enterprise
5    * Subscription License ("License"). You may not use this file except in
6    * compliance with the License. You can obtain a copy of the License by
7    * contacting Liferay, Inc. See the License for the specific language governing
8    * permissions and limitations under the License, including but not limited to
9    * distribution rights of the Software.
10   *
11   *
12   *
13   */
14  
15  package com.liferay.portlet.shopping.model;
16  
17  /**
18   * <a href="ShoppingItemPriceSoap.java.html"><b><i>View Source</i></b></a>
19   *
20   * <p>
21   * ServiceBuilder generated this class. Modifications in this class will be
22   * overwritten the next time is generated.
23   * </p>
24   *
25   * <p>
26   * This class is a wrapper for {@link ShoppingItemPrice}.
27   * </p>
28   *
29   * @author    Brian Wing Shun Chan
30   * @see       ShoppingItemPrice
31   * @generated
32   */
33  public class ShoppingItemPriceWrapper implements ShoppingItemPrice {
34      public ShoppingItemPriceWrapper(ShoppingItemPrice shoppingItemPrice) {
35          _shoppingItemPrice = shoppingItemPrice;
36      }
37  
38      public long getPrimaryKey() {
39          return _shoppingItemPrice.getPrimaryKey();
40      }
41  
42      public void setPrimaryKey(long pk) {
43          _shoppingItemPrice.setPrimaryKey(pk);
44      }
45  
46      public long getItemPriceId() {
47          return _shoppingItemPrice.getItemPriceId();
48      }
49  
50      public void setItemPriceId(long itemPriceId) {
51          _shoppingItemPrice.setItemPriceId(itemPriceId);
52      }
53  
54      public long getItemId() {
55          return _shoppingItemPrice.getItemId();
56      }
57  
58      public void setItemId(long itemId) {
59          _shoppingItemPrice.setItemId(itemId);
60      }
61  
62      public int getMinQuantity() {
63          return _shoppingItemPrice.getMinQuantity();
64      }
65  
66      public void setMinQuantity(int minQuantity) {
67          _shoppingItemPrice.setMinQuantity(minQuantity);
68      }
69  
70      public int getMaxQuantity() {
71          return _shoppingItemPrice.getMaxQuantity();
72      }
73  
74      public void setMaxQuantity(int maxQuantity) {
75          _shoppingItemPrice.setMaxQuantity(maxQuantity);
76      }
77  
78      public double getPrice() {
79          return _shoppingItemPrice.getPrice();
80      }
81  
82      public void setPrice(double price) {
83          _shoppingItemPrice.setPrice(price);
84      }
85  
86      public double getDiscount() {
87          return _shoppingItemPrice.getDiscount();
88      }
89  
90      public void setDiscount(double discount) {
91          _shoppingItemPrice.setDiscount(discount);
92      }
93  
94      public boolean getTaxable() {
95          return _shoppingItemPrice.getTaxable();
96      }
97  
98      public boolean isTaxable() {
99          return _shoppingItemPrice.isTaxable();
100     }
101 
102     public void setTaxable(boolean taxable) {
103         _shoppingItemPrice.setTaxable(taxable);
104     }
105 
106     public double getShipping() {
107         return _shoppingItemPrice.getShipping();
108     }
109 
110     public void setShipping(double shipping) {
111         _shoppingItemPrice.setShipping(shipping);
112     }
113 
114     public boolean getUseShippingFormula() {
115         return _shoppingItemPrice.getUseShippingFormula();
116     }
117 
118     public boolean isUseShippingFormula() {
119         return _shoppingItemPrice.isUseShippingFormula();
120     }
121 
122     public void setUseShippingFormula(boolean useShippingFormula) {
123         _shoppingItemPrice.setUseShippingFormula(useShippingFormula);
124     }
125 
126     public int getStatus() {
127         return _shoppingItemPrice.getStatus();
128     }
129 
130     public void setStatus(int status) {
131         _shoppingItemPrice.setStatus(status);
132     }
133 
134     public boolean isNew() {
135         return _shoppingItemPrice.isNew();
136     }
137 
138     public boolean setNew(boolean n) {
139         return _shoppingItemPrice.setNew(n);
140     }
141 
142     public boolean isCachedModel() {
143         return _shoppingItemPrice.isCachedModel();
144     }
145 
146     public void setCachedModel(boolean cachedModel) {
147         _shoppingItemPrice.setCachedModel(cachedModel);
148     }
149 
150     public boolean isEscapedModel() {
151         return _shoppingItemPrice.isEscapedModel();
152     }
153 
154     public void setEscapedModel(boolean escapedModel) {
155         _shoppingItemPrice.setEscapedModel(escapedModel);
156     }
157 
158     public java.io.Serializable getPrimaryKeyObj() {
159         return _shoppingItemPrice.getPrimaryKeyObj();
160     }
161 
162     public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
163         return _shoppingItemPrice.getExpandoBridge();
164     }
165 
166     public void setExpandoBridgeAttributes(
167         com.liferay.portal.service.ServiceContext serviceContext) {
168         _shoppingItemPrice.setExpandoBridgeAttributes(serviceContext);
169     }
170 
171     public java.lang.Object clone() {
172         return _shoppingItemPrice.clone();
173     }
174 
175     public int compareTo(
176         com.liferay.portlet.shopping.model.ShoppingItemPrice shoppingItemPrice) {
177         return _shoppingItemPrice.compareTo(shoppingItemPrice);
178     }
179 
180     public int hashCode() {
181         return _shoppingItemPrice.hashCode();
182     }
183 
184     public com.liferay.portlet.shopping.model.ShoppingItemPrice toEscapedModel() {
185         return _shoppingItemPrice.toEscapedModel();
186     }
187 
188     public java.lang.String toString() {
189         return _shoppingItemPrice.toString();
190     }
191 
192     public java.lang.String toXmlString() {
193         return _shoppingItemPrice.toXmlString();
194     }
195 
196     public ShoppingItemPrice getWrappedShoppingItemPrice() {
197         return _shoppingItemPrice;
198     }
199 
200     private ShoppingItemPrice _shoppingItemPrice;
201 }