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 ShoppingOrderItem}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       ShoppingOrderItem
024     * @generated
025     */
026    public class ShoppingOrderItemWrapper implements ShoppingOrderItem {
027            public ShoppingOrderItemWrapper(ShoppingOrderItem shoppingOrderItem) {
028                    _shoppingOrderItem = shoppingOrderItem;
029            }
030    
031            /**
032            * Gets the primary key of this shopping order item.
033            *
034            * @return the primary key of this shopping order item
035            */
036            public long getPrimaryKey() {
037                    return _shoppingOrderItem.getPrimaryKey();
038            }
039    
040            /**
041            * Sets the primary key of this shopping order item
042            *
043            * @param pk the primary key of this shopping order item
044            */
045            public void setPrimaryKey(long pk) {
046                    _shoppingOrderItem.setPrimaryKey(pk);
047            }
048    
049            /**
050            * Gets the order item id of this shopping order item.
051            *
052            * @return the order item id of this shopping order item
053            */
054            public long getOrderItemId() {
055                    return _shoppingOrderItem.getOrderItemId();
056            }
057    
058            /**
059            * Sets the order item id of this shopping order item.
060            *
061            * @param orderItemId the order item id of this shopping order item
062            */
063            public void setOrderItemId(long orderItemId) {
064                    _shoppingOrderItem.setOrderItemId(orderItemId);
065            }
066    
067            /**
068            * Gets the order id of this shopping order item.
069            *
070            * @return the order id of this shopping order item
071            */
072            public long getOrderId() {
073                    return _shoppingOrderItem.getOrderId();
074            }
075    
076            /**
077            * Sets the order id of this shopping order item.
078            *
079            * @param orderId the order id of this shopping order item
080            */
081            public void setOrderId(long orderId) {
082                    _shoppingOrderItem.setOrderId(orderId);
083            }
084    
085            /**
086            * Gets the item id of this shopping order item.
087            *
088            * @return the item id of this shopping order item
089            */
090            public java.lang.String getItemId() {
091                    return _shoppingOrderItem.getItemId();
092            }
093    
094            /**
095            * Sets the item id of this shopping order item.
096            *
097            * @param itemId the item id of this shopping order item
098            */
099            public void setItemId(java.lang.String itemId) {
100                    _shoppingOrderItem.setItemId(itemId);
101            }
102    
103            /**
104            * Gets the sku of this shopping order item.
105            *
106            * @return the sku of this shopping order item
107            */
108            public java.lang.String getSku() {
109                    return _shoppingOrderItem.getSku();
110            }
111    
112            /**
113            * Sets the sku of this shopping order item.
114            *
115            * @param sku the sku of this shopping order item
116            */
117            public void setSku(java.lang.String sku) {
118                    _shoppingOrderItem.setSku(sku);
119            }
120    
121            /**
122            * Gets the name of this shopping order item.
123            *
124            * @return the name of this shopping order item
125            */
126            public java.lang.String getName() {
127                    return _shoppingOrderItem.getName();
128            }
129    
130            /**
131            * Sets the name of this shopping order item.
132            *
133            * @param name the name of this shopping order item
134            */
135            public void setName(java.lang.String name) {
136                    _shoppingOrderItem.setName(name);
137            }
138    
139            /**
140            * Gets the description of this shopping order item.
141            *
142            * @return the description of this shopping order item
143            */
144            public java.lang.String getDescription() {
145                    return _shoppingOrderItem.getDescription();
146            }
147    
148            /**
149            * Sets the description of this shopping order item.
150            *
151            * @param description the description of this shopping order item
152            */
153            public void setDescription(java.lang.String description) {
154                    _shoppingOrderItem.setDescription(description);
155            }
156    
157            /**
158            * Gets the properties of this shopping order item.
159            *
160            * @return the properties of this shopping order item
161            */
162            public java.lang.String getProperties() {
163                    return _shoppingOrderItem.getProperties();
164            }
165    
166            /**
167            * Sets the properties of this shopping order item.
168            *
169            * @param properties the properties of this shopping order item
170            */
171            public void setProperties(java.lang.String properties) {
172                    _shoppingOrderItem.setProperties(properties);
173            }
174    
175            /**
176            * Gets the price of this shopping order item.
177            *
178            * @return the price of this shopping order item
179            */
180            public double getPrice() {
181                    return _shoppingOrderItem.getPrice();
182            }
183    
184            /**
185            * Sets the price of this shopping order item.
186            *
187            * @param price the price of this shopping order item
188            */
189            public void setPrice(double price) {
190                    _shoppingOrderItem.setPrice(price);
191            }
192    
193            /**
194            * Gets the quantity of this shopping order item.
195            *
196            * @return the quantity of this shopping order item
197            */
198            public int getQuantity() {
199                    return _shoppingOrderItem.getQuantity();
200            }
201    
202            /**
203            * Sets the quantity of this shopping order item.
204            *
205            * @param quantity the quantity of this shopping order item
206            */
207            public void setQuantity(int quantity) {
208                    _shoppingOrderItem.setQuantity(quantity);
209            }
210    
211            /**
212            * Gets the shipped date of this shopping order item.
213            *
214            * @return the shipped date of this shopping order item
215            */
216            public java.util.Date getShippedDate() {
217                    return _shoppingOrderItem.getShippedDate();
218            }
219    
220            /**
221            * Sets the shipped date of this shopping order item.
222            *
223            * @param shippedDate the shipped date of this shopping order item
224            */
225            public void setShippedDate(java.util.Date shippedDate) {
226                    _shoppingOrderItem.setShippedDate(shippedDate);
227            }
228    
229            public boolean isNew() {
230                    return _shoppingOrderItem.isNew();
231            }
232    
233            public void setNew(boolean n) {
234                    _shoppingOrderItem.setNew(n);
235            }
236    
237            public boolean isCachedModel() {
238                    return _shoppingOrderItem.isCachedModel();
239            }
240    
241            public void setCachedModel(boolean cachedModel) {
242                    _shoppingOrderItem.setCachedModel(cachedModel);
243            }
244    
245            public boolean isEscapedModel() {
246                    return _shoppingOrderItem.isEscapedModel();
247            }
248    
249            public void setEscapedModel(boolean escapedModel) {
250                    _shoppingOrderItem.setEscapedModel(escapedModel);
251            }
252    
253            public java.io.Serializable getPrimaryKeyObj() {
254                    return _shoppingOrderItem.getPrimaryKeyObj();
255            }
256    
257            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
258                    return _shoppingOrderItem.getExpandoBridge();
259            }
260    
261            public void setExpandoBridgeAttributes(
262                    com.liferay.portal.service.ServiceContext serviceContext) {
263                    _shoppingOrderItem.setExpandoBridgeAttributes(serviceContext);
264            }
265    
266            public java.lang.Object clone() {
267                    return _shoppingOrderItem.clone();
268            }
269    
270            public int compareTo(
271                    com.liferay.portlet.shopping.model.ShoppingOrderItem shoppingOrderItem) {
272                    return _shoppingOrderItem.compareTo(shoppingOrderItem);
273            }
274    
275            public int hashCode() {
276                    return _shoppingOrderItem.hashCode();
277            }
278    
279            public com.liferay.portlet.shopping.model.ShoppingOrderItem toEscapedModel() {
280                    return _shoppingOrderItem.toEscapedModel();
281            }
282    
283            public java.lang.String toString() {
284                    return _shoppingOrderItem.toString();
285            }
286    
287            public java.lang.String toXmlString() {
288                    return _shoppingOrderItem.toXmlString();
289            }
290    
291            public ShoppingOrderItem getWrappedShoppingOrderItem() {
292                    return _shoppingOrderItem;
293            }
294    
295            private ShoppingOrderItem _shoppingOrderItem;
296    }