com.liferay.portlet.shopping.model
Class ShoppingCouponWrapper
java.lang.Object
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:
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
ShoppingCouponWrapper
public ShoppingCouponWrapper(ShoppingCoupon shoppingCoupon)
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()