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 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            /**
032            * Gets the primary key of this shopping coupon.
033            *
034            * @return the primary key of this shopping coupon
035            */
036            public long getPrimaryKey() {
037                    return _shoppingCoupon.getPrimaryKey();
038            }
039    
040            /**
041            * Sets the primary key of this shopping coupon
042            *
043            * @param pk the primary key of this shopping coupon
044            */
045            public void setPrimaryKey(long pk) {
046                    _shoppingCoupon.setPrimaryKey(pk);
047            }
048    
049            /**
050            * Gets the coupon id of this shopping coupon.
051            *
052            * @return the coupon id of this shopping coupon
053            */
054            public long getCouponId() {
055                    return _shoppingCoupon.getCouponId();
056            }
057    
058            /**
059            * Sets the coupon id of this shopping coupon.
060            *
061            * @param couponId the coupon id of this shopping coupon
062            */
063            public void setCouponId(long couponId) {
064                    _shoppingCoupon.setCouponId(couponId);
065            }
066    
067            /**
068            * Gets the group id of this shopping coupon.
069            *
070            * @return the group id of this shopping coupon
071            */
072            public long getGroupId() {
073                    return _shoppingCoupon.getGroupId();
074            }
075    
076            /**
077            * Sets the group id of this shopping coupon.
078            *
079            * @param groupId the group id of this shopping coupon
080            */
081            public void setGroupId(long groupId) {
082                    _shoppingCoupon.setGroupId(groupId);
083            }
084    
085            /**
086            * Gets the company id of this shopping coupon.
087            *
088            * @return the company id of this shopping coupon
089            */
090            public long getCompanyId() {
091                    return _shoppingCoupon.getCompanyId();
092            }
093    
094            /**
095            * Sets the company id of this shopping coupon.
096            *
097            * @param companyId the company id of this shopping coupon
098            */
099            public void setCompanyId(long companyId) {
100                    _shoppingCoupon.setCompanyId(companyId);
101            }
102    
103            /**
104            * Gets the user id of this shopping coupon.
105            *
106            * @return the user id of this shopping coupon
107            */
108            public long getUserId() {
109                    return _shoppingCoupon.getUserId();
110            }
111    
112            /**
113            * Sets the user id of this shopping coupon.
114            *
115            * @param userId the user id of this shopping coupon
116            */
117            public void setUserId(long userId) {
118                    _shoppingCoupon.setUserId(userId);
119            }
120    
121            /**
122            * Gets the user uuid of this shopping coupon.
123            *
124            * @return the user uuid of this shopping coupon
125            * @throws SystemException if a system exception occurred
126            */
127            public java.lang.String getUserUuid()
128                    throws com.liferay.portal.kernel.exception.SystemException {
129                    return _shoppingCoupon.getUserUuid();
130            }
131    
132            /**
133            * Sets the user uuid of this shopping coupon.
134            *
135            * @param userUuid the user uuid of this shopping coupon
136            */
137            public void setUserUuid(java.lang.String userUuid) {
138                    _shoppingCoupon.setUserUuid(userUuid);
139            }
140    
141            /**
142            * Gets the user name of this shopping coupon.
143            *
144            * @return the user name of this shopping coupon
145            */
146            public java.lang.String getUserName() {
147                    return _shoppingCoupon.getUserName();
148            }
149    
150            /**
151            * Sets the user name of this shopping coupon.
152            *
153            * @param userName the user name of this shopping coupon
154            */
155            public void setUserName(java.lang.String userName) {
156                    _shoppingCoupon.setUserName(userName);
157            }
158    
159            /**
160            * Gets the create date of this shopping coupon.
161            *
162            * @return the create date of this shopping coupon
163            */
164            public java.util.Date getCreateDate() {
165                    return _shoppingCoupon.getCreateDate();
166            }
167    
168            /**
169            * Sets the create date of this shopping coupon.
170            *
171            * @param createDate the create date of this shopping coupon
172            */
173            public void setCreateDate(java.util.Date createDate) {
174                    _shoppingCoupon.setCreateDate(createDate);
175            }
176    
177            /**
178            * Gets the modified date of this shopping coupon.
179            *
180            * @return the modified date of this shopping coupon
181            */
182            public java.util.Date getModifiedDate() {
183                    return _shoppingCoupon.getModifiedDate();
184            }
185    
186            /**
187            * Sets the modified date of this shopping coupon.
188            *
189            * @param modifiedDate the modified date of this shopping coupon
190            */
191            public void setModifiedDate(java.util.Date modifiedDate) {
192                    _shoppingCoupon.setModifiedDate(modifiedDate);
193            }
194    
195            /**
196            * Gets the code of this shopping coupon.
197            *
198            * @return the code of this shopping coupon
199            */
200            public java.lang.String getCode() {
201                    return _shoppingCoupon.getCode();
202            }
203    
204            /**
205            * Sets the code of this shopping coupon.
206            *
207            * @param code the code of this shopping coupon
208            */
209            public void setCode(java.lang.String code) {
210                    _shoppingCoupon.setCode(code);
211            }
212    
213            /**
214            * Gets the name of this shopping coupon.
215            *
216            * @return the name of this shopping coupon
217            */
218            public java.lang.String getName() {
219                    return _shoppingCoupon.getName();
220            }
221    
222            /**
223            * Sets the name of this shopping coupon.
224            *
225            * @param name the name of this shopping coupon
226            */
227            public void setName(java.lang.String name) {
228                    _shoppingCoupon.setName(name);
229            }
230    
231            /**
232            * Gets the description of this shopping coupon.
233            *
234            * @return the description of this shopping coupon
235            */
236            public java.lang.String getDescription() {
237                    return _shoppingCoupon.getDescription();
238            }
239    
240            /**
241            * Sets the description of this shopping coupon.
242            *
243            * @param description the description of this shopping coupon
244            */
245            public void setDescription(java.lang.String description) {
246                    _shoppingCoupon.setDescription(description);
247            }
248    
249            /**
250            * Gets the start date of this shopping coupon.
251            *
252            * @return the start date of this shopping coupon
253            */
254            public java.util.Date getStartDate() {
255                    return _shoppingCoupon.getStartDate();
256            }
257    
258            /**
259            * Sets the start date of this shopping coupon.
260            *
261            * @param startDate the start date of this shopping coupon
262            */
263            public void setStartDate(java.util.Date startDate) {
264                    _shoppingCoupon.setStartDate(startDate);
265            }
266    
267            /**
268            * Gets the end date of this shopping coupon.
269            *
270            * @return the end date of this shopping coupon
271            */
272            public java.util.Date getEndDate() {
273                    return _shoppingCoupon.getEndDate();
274            }
275    
276            /**
277            * Sets the end date of this shopping coupon.
278            *
279            * @param endDate the end date of this shopping coupon
280            */
281            public void setEndDate(java.util.Date endDate) {
282                    _shoppingCoupon.setEndDate(endDate);
283            }
284    
285            /**
286            * Gets the active of this shopping coupon.
287            *
288            * @return the active of this shopping coupon
289            */
290            public boolean getActive() {
291                    return _shoppingCoupon.getActive();
292            }
293    
294            /**
295            * Determines whether this shopping coupon is active.
296            *
297            * @return whether this shopping coupon is active
298            */
299            public boolean isActive() {
300                    return _shoppingCoupon.isActive();
301            }
302    
303            /**
304            * Sets whether this {$entity.humanName} is active.
305            *
306            * @param active the active of this shopping coupon
307            */
308            public void setActive(boolean active) {
309                    _shoppingCoupon.setActive(active);
310            }
311    
312            /**
313            * Gets the limit categories of this shopping coupon.
314            *
315            * @return the limit categories of this shopping coupon
316            */
317            public java.lang.String getLimitCategories() {
318                    return _shoppingCoupon.getLimitCategories();
319            }
320    
321            /**
322            * Sets the limit categories of this shopping coupon.
323            *
324            * @param limitCategories the limit categories of this shopping coupon
325            */
326            public void setLimitCategories(java.lang.String limitCategories) {
327                    _shoppingCoupon.setLimitCategories(limitCategories);
328            }
329    
330            /**
331            * Gets the limit skus of this shopping coupon.
332            *
333            * @return the limit skus of this shopping coupon
334            */
335            public java.lang.String getLimitSkus() {
336                    return _shoppingCoupon.getLimitSkus();
337            }
338    
339            /**
340            * Sets the limit skus of this shopping coupon.
341            *
342            * @param limitSkus the limit skus of this shopping coupon
343            */
344            public void setLimitSkus(java.lang.String limitSkus) {
345                    _shoppingCoupon.setLimitSkus(limitSkus);
346            }
347    
348            /**
349            * Gets the min order of this shopping coupon.
350            *
351            * @return the min order of this shopping coupon
352            */
353            public double getMinOrder() {
354                    return _shoppingCoupon.getMinOrder();
355            }
356    
357            /**
358            * Sets the min order of this shopping coupon.
359            *
360            * @param minOrder the min order of this shopping coupon
361            */
362            public void setMinOrder(double minOrder) {
363                    _shoppingCoupon.setMinOrder(minOrder);
364            }
365    
366            /**
367            * Gets the discount of this shopping coupon.
368            *
369            * @return the discount of this shopping coupon
370            */
371            public double getDiscount() {
372                    return _shoppingCoupon.getDiscount();
373            }
374    
375            /**
376            * Sets the discount of this shopping coupon.
377            *
378            * @param discount the discount of this shopping coupon
379            */
380            public void setDiscount(double discount) {
381                    _shoppingCoupon.setDiscount(discount);
382            }
383    
384            /**
385            * Gets the discount type of this shopping coupon.
386            *
387            * @return the discount type of this shopping coupon
388            */
389            public java.lang.String getDiscountType() {
390                    return _shoppingCoupon.getDiscountType();
391            }
392    
393            /**
394            * Sets the discount type of this shopping coupon.
395            *
396            * @param discountType the discount type of this shopping coupon
397            */
398            public void setDiscountType(java.lang.String discountType) {
399                    _shoppingCoupon.setDiscountType(discountType);
400            }
401    
402            public boolean isNew() {
403                    return _shoppingCoupon.isNew();
404            }
405    
406            public void setNew(boolean n) {
407                    _shoppingCoupon.setNew(n);
408            }
409    
410            public boolean isCachedModel() {
411                    return _shoppingCoupon.isCachedModel();
412            }
413    
414            public void setCachedModel(boolean cachedModel) {
415                    _shoppingCoupon.setCachedModel(cachedModel);
416            }
417    
418            public boolean isEscapedModel() {
419                    return _shoppingCoupon.isEscapedModel();
420            }
421    
422            public void setEscapedModel(boolean escapedModel) {
423                    _shoppingCoupon.setEscapedModel(escapedModel);
424            }
425    
426            public java.io.Serializable getPrimaryKeyObj() {
427                    return _shoppingCoupon.getPrimaryKeyObj();
428            }
429    
430            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
431                    return _shoppingCoupon.getExpandoBridge();
432            }
433    
434            public void setExpandoBridgeAttributes(
435                    com.liferay.portal.service.ServiceContext serviceContext) {
436                    _shoppingCoupon.setExpandoBridgeAttributes(serviceContext);
437            }
438    
439            public java.lang.Object clone() {
440                    return _shoppingCoupon.clone();
441            }
442    
443            public int compareTo(
444                    com.liferay.portlet.shopping.model.ShoppingCoupon shoppingCoupon) {
445                    return _shoppingCoupon.compareTo(shoppingCoupon);
446            }
447    
448            public int hashCode() {
449                    return _shoppingCoupon.hashCode();
450            }
451    
452            public com.liferay.portlet.shopping.model.ShoppingCoupon toEscapedModel() {
453                    return _shoppingCoupon.toEscapedModel();
454            }
455    
456            public java.lang.String toString() {
457                    return _shoppingCoupon.toString();
458            }
459    
460            public java.lang.String toXmlString() {
461                    return _shoppingCoupon.toXmlString();
462            }
463    
464            public boolean hasValidDateRange() {
465                    return _shoppingCoupon.hasValidDateRange();
466            }
467    
468            public boolean hasValidEndDate() {
469                    return _shoppingCoupon.hasValidEndDate();
470            }
471    
472            public boolean hasValidStartDate() {
473                    return _shoppingCoupon.hasValidStartDate();
474            }
475    
476            public ShoppingCoupon getWrappedShoppingCoupon() {
477                    return _shoppingCoupon;
478            }
479    
480            private ShoppingCoupon _shoppingCoupon;
481    }