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 ShoppingCoupon}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       ShoppingCoupon
024     * @generated
025     */
026    public class ShoppingCouponWrapper implements ShoppingCoupon {
027            public ShoppingCouponWrapper(ShoppingCoupon shoppingCoupon) {
028                    _shoppingCoupon = shoppingCoupon;
029            }
030    
031            public long getPrimaryKey() {
032                    return _shoppingCoupon.getPrimaryKey();
033            }
034    
035            public void setPrimaryKey(long pk) {
036                    _shoppingCoupon.setPrimaryKey(pk);
037            }
038    
039            public long getCouponId() {
040                    return _shoppingCoupon.getCouponId();
041            }
042    
043            public void setCouponId(long couponId) {
044                    _shoppingCoupon.setCouponId(couponId);
045            }
046    
047            public long getGroupId() {
048                    return _shoppingCoupon.getGroupId();
049            }
050    
051            public void setGroupId(long groupId) {
052                    _shoppingCoupon.setGroupId(groupId);
053            }
054    
055            public long getCompanyId() {
056                    return _shoppingCoupon.getCompanyId();
057            }
058    
059            public void setCompanyId(long companyId) {
060                    _shoppingCoupon.setCompanyId(companyId);
061            }
062    
063            public long getUserId() {
064                    return _shoppingCoupon.getUserId();
065            }
066    
067            public void setUserId(long userId) {
068                    _shoppingCoupon.setUserId(userId);
069            }
070    
071            public java.lang.String getUserUuid()
072                    throws com.liferay.portal.kernel.exception.SystemException {
073                    return _shoppingCoupon.getUserUuid();
074            }
075    
076            public void setUserUuid(java.lang.String userUuid) {
077                    _shoppingCoupon.setUserUuid(userUuid);
078            }
079    
080            public java.lang.String getUserName() {
081                    return _shoppingCoupon.getUserName();
082            }
083    
084            public void setUserName(java.lang.String userName) {
085                    _shoppingCoupon.setUserName(userName);
086            }
087    
088            public java.util.Date getCreateDate() {
089                    return _shoppingCoupon.getCreateDate();
090            }
091    
092            public void setCreateDate(java.util.Date createDate) {
093                    _shoppingCoupon.setCreateDate(createDate);
094            }
095    
096            public java.util.Date getModifiedDate() {
097                    return _shoppingCoupon.getModifiedDate();
098            }
099    
100            public void setModifiedDate(java.util.Date modifiedDate) {
101                    _shoppingCoupon.setModifiedDate(modifiedDate);
102            }
103    
104            public java.lang.String getCode() {
105                    return _shoppingCoupon.getCode();
106            }
107    
108            public void setCode(java.lang.String code) {
109                    _shoppingCoupon.setCode(code);
110            }
111    
112            public java.lang.String getName() {
113                    return _shoppingCoupon.getName();
114            }
115    
116            public void setName(java.lang.String name) {
117                    _shoppingCoupon.setName(name);
118            }
119    
120            public java.lang.String getDescription() {
121                    return _shoppingCoupon.getDescription();
122            }
123    
124            public void setDescription(java.lang.String description) {
125                    _shoppingCoupon.setDescription(description);
126            }
127    
128            public java.util.Date getStartDate() {
129                    return _shoppingCoupon.getStartDate();
130            }
131    
132            public void setStartDate(java.util.Date startDate) {
133                    _shoppingCoupon.setStartDate(startDate);
134            }
135    
136            public java.util.Date getEndDate() {
137                    return _shoppingCoupon.getEndDate();
138            }
139    
140            public void setEndDate(java.util.Date endDate) {
141                    _shoppingCoupon.setEndDate(endDate);
142            }
143    
144            public boolean getActive() {
145                    return _shoppingCoupon.getActive();
146            }
147    
148            public boolean isActive() {
149                    return _shoppingCoupon.isActive();
150            }
151    
152            public void setActive(boolean active) {
153                    _shoppingCoupon.setActive(active);
154            }
155    
156            public java.lang.String getLimitCategories() {
157                    return _shoppingCoupon.getLimitCategories();
158            }
159    
160            public void setLimitCategories(java.lang.String limitCategories) {
161                    _shoppingCoupon.setLimitCategories(limitCategories);
162            }
163    
164            public java.lang.String getLimitSkus() {
165                    return _shoppingCoupon.getLimitSkus();
166            }
167    
168            public void setLimitSkus(java.lang.String limitSkus) {
169                    _shoppingCoupon.setLimitSkus(limitSkus);
170            }
171    
172            public double getMinOrder() {
173                    return _shoppingCoupon.getMinOrder();
174            }
175    
176            public void setMinOrder(double minOrder) {
177                    _shoppingCoupon.setMinOrder(minOrder);
178            }
179    
180            public double getDiscount() {
181                    return _shoppingCoupon.getDiscount();
182            }
183    
184            public void setDiscount(double discount) {
185                    _shoppingCoupon.setDiscount(discount);
186            }
187    
188            public java.lang.String getDiscountType() {
189                    return _shoppingCoupon.getDiscountType();
190            }
191    
192            public void setDiscountType(java.lang.String discountType) {
193                    _shoppingCoupon.setDiscountType(discountType);
194            }
195    
196            public com.liferay.portlet.shopping.model.ShoppingCoupon toEscapedModel() {
197                    return _shoppingCoupon.toEscapedModel();
198            }
199    
200            public boolean isNew() {
201                    return _shoppingCoupon.isNew();
202            }
203    
204            public void setNew(boolean n) {
205                    _shoppingCoupon.setNew(n);
206            }
207    
208            public boolean isCachedModel() {
209                    return _shoppingCoupon.isCachedModel();
210            }
211    
212            public void setCachedModel(boolean cachedModel) {
213                    _shoppingCoupon.setCachedModel(cachedModel);
214            }
215    
216            public boolean isEscapedModel() {
217                    return _shoppingCoupon.isEscapedModel();
218            }
219    
220            public void setEscapedModel(boolean escapedModel) {
221                    _shoppingCoupon.setEscapedModel(escapedModel);
222            }
223    
224            public java.io.Serializable getPrimaryKeyObj() {
225                    return _shoppingCoupon.getPrimaryKeyObj();
226            }
227    
228            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
229                    return _shoppingCoupon.getExpandoBridge();
230            }
231    
232            public void setExpandoBridgeAttributes(
233                    com.liferay.portal.service.ServiceContext serviceContext) {
234                    _shoppingCoupon.setExpandoBridgeAttributes(serviceContext);
235            }
236    
237            public java.lang.Object clone() {
238                    return _shoppingCoupon.clone();
239            }
240    
241            public int compareTo(
242                    com.liferay.portlet.shopping.model.ShoppingCoupon shoppingCoupon) {
243                    return _shoppingCoupon.compareTo(shoppingCoupon);
244            }
245    
246            public int hashCode() {
247                    return _shoppingCoupon.hashCode();
248            }
249    
250            public java.lang.String toString() {
251                    return _shoppingCoupon.toString();
252            }
253    
254            public java.lang.String toXmlString() {
255                    return _shoppingCoupon.toXmlString();
256            }
257    
258            public boolean hasValidDateRange() {
259                    return _shoppingCoupon.hasValidDateRange();
260            }
261    
262            public boolean hasValidEndDate() {
263                    return _shoppingCoupon.hasValidEndDate();
264            }
265    
266            public boolean hasValidStartDate() {
267                    return _shoppingCoupon.hasValidStartDate();
268            }
269    
270            public ShoppingCoupon getWrappedShoppingCoupon() {
271                    return _shoppingCoupon;
272            }
273    
274            private ShoppingCoupon _shoppingCoupon;
275    }