com.liferay.portlet.shopping.model
Class ShoppingCouponWrapper

java.lang.Object
  extended by com.liferay.portlet.shopping.model.ShoppingCouponWrapper
All Implemented Interfaces:
BaseModel<ShoppingCoupon>, ShoppingCoupon, ShoppingCouponModel, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<ShoppingCoupon>

public class ShoppingCouponWrapper
extends java.lang.Object
implements ShoppingCoupon

View Source

ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

This class is a wrapper for ShoppingCoupon.

Author:
Brian Wing Shun Chan
See Also:
ShoppingCoupon, Serialized Form
Generated:

Constructor Summary
ShoppingCouponWrapper(ShoppingCoupon shoppingCoupon)
           
 
Method Summary
 java.lang.Object clone()
           
 int compareTo(ShoppingCoupon shoppingCoupon)
           
 boolean getActive()
           
 java.lang.String getCode()
           
 long getCompanyId()
           
 long getCouponId()
           
 java.util.Date getCreateDate()
           
 java.lang.String getDescription()
           
 double getDiscount()
           
 java.lang.String getDiscountType()
           
 java.util.Date getEndDate()
           
 ExpandoBridge getExpandoBridge()
           
 long getGroupId()
           
 java.lang.String getLimitCategories()
           
 java.lang.String getLimitSkus()
           
 double getMinOrder()
           
 java.util.Date getModifiedDate()
           
 java.lang.String getName()
           
 long getPrimaryKey()
           
 java.io.Serializable getPrimaryKeyObj()
           
 java.util.Date getStartDate()
           
 long getUserId()
           
 java.lang.String getUserName()
           
 java.lang.String getUserUuid()
           
 ShoppingCoupon getWrappedShoppingCoupon()
           
 int hashCode()
           
 boolean hasValidDateRange()
           
 boolean hasValidEndDate()
           
 boolean hasValidStartDate()
           
 boolean isActive()
           
 boolean isCachedModel()
           
 boolean isEscapedModel()
           
 boolean isNew()
           
 void setActive(boolean active)
           
 void setCachedModel(boolean cachedModel)
           
 void setCode(java.lang.String code)
           
 void setCompanyId(long companyId)
           
 void setCouponId(long couponId)
           
 void setCreateDate(java.util.Date createDate)
           
 void setDescription(java.lang.String description)
           
 void setDiscount(double discount)
           
 void setDiscountType(java.lang.String discountType)
           
 void setEndDate(java.util.Date endDate)
           
 void setEscapedModel(boolean escapedModel)
           
 void setExpandoBridgeAttributes(ServiceContext serviceContext)
           
 void setGroupId(long groupId)
           
 void setLimitCategories(java.lang.String limitCategories)
           
 void setLimitSkus(java.lang.String limitSkus)
           
 void setMinOrder(double minOrder)
           
 void setModifiedDate(java.util.Date modifiedDate)
           
 void setName(java.lang.String name)
           
 boolean setNew(boolean n)
           
 void setPrimaryKey(long pk)
           
 void setStartDate(java.util.Date startDate)
           
 void setUserId(long userId)
           
 void setUserName(java.lang.String userName)
           
 void setUserUuid(java.lang.String userUuid)
           
 ShoppingCoupon toEscapedModel()
           
 java.lang.String toString()
           
 java.lang.String toXmlString()
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ShoppingCouponWrapper

public ShoppingCouponWrapper(ShoppingCoupon shoppingCoupon)
Method Detail

getPrimaryKey

public long getPrimaryKey()
Specified by:
getPrimaryKey in interface ShoppingCouponModel

setPrimaryKey

public void setPrimaryKey(long pk)
Specified by:
setPrimaryKey in interface ShoppingCouponModel

getCouponId

public long getCouponId()
Specified by:
getCouponId in interface ShoppingCouponModel

setCouponId

public void setCouponId(long couponId)
Specified by:
setCouponId in interface ShoppingCouponModel

getGroupId

public long getGroupId()
Specified by:
getGroupId in interface ShoppingCouponModel

setGroupId

public void setGroupId(long groupId)
Specified by:
setGroupId in interface ShoppingCouponModel

getCompanyId

public long getCompanyId()
Specified by:
getCompanyId in interface ShoppingCouponModel

setCompanyId

public void setCompanyId(long companyId)
Specified by:
setCompanyId in interface ShoppingCouponModel

getUserId

public long getUserId()
Specified by:
getUserId in interface ShoppingCouponModel

setUserId

public void setUserId(long userId)
Specified by:
setUserId in interface ShoppingCouponModel

getUserUuid

public java.lang.String getUserUuid()
                             throws com.liferay.portal.kernel.exception.SystemException
Specified by:
getUserUuid in interface ShoppingCouponModel
Throws:
com.liferay.portal.kernel.exception.SystemException

setUserUuid

public void setUserUuid(java.lang.String userUuid)
Specified by:
setUserUuid in interface ShoppingCouponModel

getUserName

public java.lang.String getUserName()
Specified by:
getUserName in interface ShoppingCouponModel

setUserName

public void setUserName(java.lang.String userName)
Specified by:
setUserName in interface ShoppingCouponModel

getCreateDate

public java.util.Date getCreateDate()
Specified by:
getCreateDate in interface ShoppingCouponModel

setCreateDate

public void setCreateDate(java.util.Date createDate)
Specified by:
setCreateDate in interface ShoppingCouponModel

getModifiedDate

public java.util.Date getModifiedDate()
Specified by:
getModifiedDate in interface ShoppingCouponModel

setModifiedDate

public void setModifiedDate(java.util.Date modifiedDate)
Specified by:
setModifiedDate in interface ShoppingCouponModel

getCode

public java.lang.String getCode()
Specified by:
getCode in interface ShoppingCouponModel

setCode

public void setCode(java.lang.String code)
Specified by:
setCode in interface ShoppingCouponModel

getName

public java.lang.String getName()
Specified by:
getName in interface ShoppingCouponModel

setName

public void setName(java.lang.String name)
Specified by:
setName in interface ShoppingCouponModel

getDescription

public java.lang.String getDescription()
Specified by:
getDescription in interface ShoppingCouponModel

setDescription

public void setDescription(java.lang.String description)
Specified by:
setDescription in interface ShoppingCouponModel

getStartDate

public java.util.Date getStartDate()
Specified by:
getStartDate in interface ShoppingCouponModel

setStartDate

public void setStartDate(java.util.Date startDate)
Specified by:
setStartDate in interface ShoppingCouponModel

getEndDate

public java.util.Date getEndDate()
Specified by:
getEndDate in interface ShoppingCouponModel

setEndDate

public void setEndDate(java.util.Date endDate)
Specified by:
setEndDate in interface ShoppingCouponModel

getActive

public boolean getActive()
Specified by:
getActive in interface ShoppingCouponModel

isActive

public boolean isActive()
Specified by:
isActive in interface ShoppingCouponModel

setActive

public void setActive(boolean active)
Specified by:
setActive in interface ShoppingCouponModel

getLimitCategories

public java.lang.String getLimitCategories()
Specified by:
getLimitCategories in interface ShoppingCouponModel

setLimitCategories

public void setLimitCategories(java.lang.String limitCategories)
Specified by:
setLimitCategories in interface ShoppingCouponModel

getLimitSkus

public java.lang.String getLimitSkus()
Specified by:
getLimitSkus in interface ShoppingCouponModel

setLimitSkus

public void setLimitSkus(java.lang.String limitSkus)
Specified by:
setLimitSkus in interface ShoppingCouponModel

getMinOrder

public double getMinOrder()
Specified by:
getMinOrder in interface ShoppingCouponModel

setMinOrder

public void setMinOrder(double minOrder)
Specified by:
setMinOrder in interface ShoppingCouponModel

getDiscount

public double getDiscount()
Specified by:
getDiscount in interface ShoppingCouponModel

setDiscount

public void setDiscount(double discount)
Specified by:
setDiscount in interface ShoppingCouponModel

getDiscountType

public java.lang.String getDiscountType()
Specified by:
getDiscountType in interface ShoppingCouponModel

setDiscountType

public void setDiscountType(java.lang.String discountType)
Specified by:
setDiscountType in interface ShoppingCouponModel

toEscapedModel

public ShoppingCoupon toEscapedModel()
Specified by:
toEscapedModel in interface ShoppingCouponModel

isNew

public boolean isNew()
Specified by:
isNew in interface BaseModel<ShoppingCoupon>
Specified by:
isNew in interface ShoppingCouponModel

setNew

public boolean setNew(boolean n)
Specified by:
setNew in interface BaseModel<ShoppingCoupon>
Specified by:
setNew in interface ShoppingCouponModel

isCachedModel

public boolean isCachedModel()
Specified by:
isCachedModel in interface BaseModel<ShoppingCoupon>
Specified by:
isCachedModel in interface ShoppingCouponModel

setCachedModel

public void setCachedModel(boolean cachedModel)
Specified by:
setCachedModel in interface BaseModel<ShoppingCoupon>
Specified by:
setCachedModel in interface ShoppingCouponModel

isEscapedModel

public boolean isEscapedModel()
Specified by:
isEscapedModel in interface BaseModel<ShoppingCoupon>
Specified by:
isEscapedModel in interface ShoppingCouponModel

setEscapedModel

public void setEscapedModel(boolean escapedModel)
Specified by:
setEscapedModel in interface BaseModel<ShoppingCoupon>
Specified by:
setEscapedModel in interface ShoppingCouponModel

getPrimaryKeyObj

public java.io.Serializable getPrimaryKeyObj()
Specified by:
getPrimaryKeyObj in interface BaseModel<ShoppingCoupon>
Specified by:
getPrimaryKeyObj in interface ShoppingCouponModel

getExpandoBridge

public ExpandoBridge getExpandoBridge()
Specified by:
getExpandoBridge in interface BaseModel<ShoppingCoupon>
Specified by:
getExpandoBridge in interface ShoppingCouponModel

setExpandoBridgeAttributes

public void setExpandoBridgeAttributes(ServiceContext serviceContext)
Specified by:
setExpandoBridgeAttributes in interface BaseModel<ShoppingCoupon>
Specified by:
setExpandoBridgeAttributes in interface ShoppingCouponModel

clone

public java.lang.Object clone()
Specified by:
clone in interface BaseModel<ShoppingCoupon>
Specified by:
clone in interface ShoppingCouponModel
Overrides:
clone in class java.lang.Object

compareTo

public int compareTo(ShoppingCoupon shoppingCoupon)
Specified by:
compareTo in interface ShoppingCouponModel
Specified by:
compareTo in interface java.lang.Comparable<ShoppingCoupon>

hashCode

public int hashCode()
Specified by:
hashCode in interface ShoppingCouponModel
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Specified by:
toString in interface ShoppingCouponModel
Overrides:
toString in class java.lang.Object

toXmlString

public java.lang.String toXmlString()
Specified by:
toXmlString in interface BaseModel<ShoppingCoupon>
Specified by:
toXmlString in interface ShoppingCouponModel

hasValidDateRange

public boolean hasValidDateRange()
Specified by:
hasValidDateRange in interface ShoppingCoupon

hasValidEndDate

public boolean hasValidEndDate()
Specified by:
hasValidEndDate in interface ShoppingCoupon

hasValidStartDate

public boolean hasValidStartDate()
Specified by:
hasValidStartDate in interface ShoppingCoupon

getWrappedShoppingCoupon

public ShoppingCoupon getWrappedShoppingCoupon()