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 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            public long getPrimaryKey() {
032                    return _shoppingOrderItem.getPrimaryKey();
033            }
034    
035            public void setPrimaryKey(long pk) {
036                    _shoppingOrderItem.setPrimaryKey(pk);
037            }
038    
039            public long getOrderItemId() {
040                    return _shoppingOrderItem.getOrderItemId();
041            }
042    
043            public void setOrderItemId(long orderItemId) {
044                    _shoppingOrderItem.setOrderItemId(orderItemId);
045            }
046    
047            public long getOrderId() {
048                    return _shoppingOrderItem.getOrderId();
049            }
050    
051            public void setOrderId(long orderId) {
052                    _shoppingOrderItem.setOrderId(orderId);
053            }
054    
055            public java.lang.String getItemId() {
056                    return _shoppingOrderItem.getItemId();
057            }
058    
059            public void setItemId(java.lang.String itemId) {
060                    _shoppingOrderItem.setItemId(itemId);
061            }
062    
063            public java.lang.String getSku() {
064                    return _shoppingOrderItem.getSku();
065            }
066    
067            public void setSku(java.lang.String sku) {
068                    _shoppingOrderItem.setSku(sku);
069            }
070    
071            public java.lang.String getName() {
072                    return _shoppingOrderItem.getName();
073            }
074    
075            public void setName(java.lang.String name) {
076                    _shoppingOrderItem.setName(name);
077            }
078    
079            public java.lang.String getDescription() {
080                    return _shoppingOrderItem.getDescription();
081            }
082    
083            public void setDescription(java.lang.String description) {
084                    _shoppingOrderItem.setDescription(description);
085            }
086    
087            public java.lang.String getProperties() {
088                    return _shoppingOrderItem.getProperties();
089            }
090    
091            public void setProperties(java.lang.String properties) {
092                    _shoppingOrderItem.setProperties(properties);
093            }
094    
095            public double getPrice() {
096                    return _shoppingOrderItem.getPrice();
097            }
098    
099            public void setPrice(double price) {
100                    _shoppingOrderItem.setPrice(price);
101            }
102    
103            public int getQuantity() {
104                    return _shoppingOrderItem.getQuantity();
105            }
106    
107            public void setQuantity(int quantity) {
108                    _shoppingOrderItem.setQuantity(quantity);
109            }
110    
111            public java.util.Date getShippedDate() {
112                    return _shoppingOrderItem.getShippedDate();
113            }
114    
115            public void setShippedDate(java.util.Date shippedDate) {
116                    _shoppingOrderItem.setShippedDate(shippedDate);
117            }
118    
119            public com.liferay.portlet.shopping.model.ShoppingOrderItem toEscapedModel() {
120                    return _shoppingOrderItem.toEscapedModel();
121            }
122    
123            public boolean isNew() {
124                    return _shoppingOrderItem.isNew();
125            }
126    
127            public void setNew(boolean n) {
128                    _shoppingOrderItem.setNew(n);
129            }
130    
131            public boolean isCachedModel() {
132                    return _shoppingOrderItem.isCachedModel();
133            }
134    
135            public void setCachedModel(boolean cachedModel) {
136                    _shoppingOrderItem.setCachedModel(cachedModel);
137            }
138    
139            public boolean isEscapedModel() {
140                    return _shoppingOrderItem.isEscapedModel();
141            }
142    
143            public void setEscapedModel(boolean escapedModel) {
144                    _shoppingOrderItem.setEscapedModel(escapedModel);
145            }
146    
147            public java.io.Serializable getPrimaryKeyObj() {
148                    return _shoppingOrderItem.getPrimaryKeyObj();
149            }
150    
151            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
152                    return _shoppingOrderItem.getExpandoBridge();
153            }
154    
155            public void setExpandoBridgeAttributes(
156                    com.liferay.portal.service.ServiceContext serviceContext) {
157                    _shoppingOrderItem.setExpandoBridgeAttributes(serviceContext);
158            }
159    
160            public java.lang.Object clone() {
161                    return _shoppingOrderItem.clone();
162            }
163    
164            public int compareTo(
165                    com.liferay.portlet.shopping.model.ShoppingOrderItem shoppingOrderItem) {
166                    return _shoppingOrderItem.compareTo(shoppingOrderItem);
167            }
168    
169            public int hashCode() {
170                    return _shoppingOrderItem.hashCode();
171            }
172    
173            public java.lang.String toString() {
174                    return _shoppingOrderItem.toString();
175            }
176    
177            public java.lang.String toXmlString() {
178                    return _shoppingOrderItem.toXmlString();
179            }
180    
181            public ShoppingOrderItem getWrappedShoppingOrderItem() {
182                    return _shoppingOrderItem;
183            }
184    
185            private ShoppingOrderItem _shoppingOrderItem;
186    }