Liferay 6.1.2-ce-ga3

com.liferay.portlet.shopping.model.impl
Class ShoppingCouponModelImpl

java.lang.Object
  extended by com.liferay.portal.model.impl.BaseModelImpl<ShoppingCoupon>
      extended by com.liferay.portlet.shopping.model.impl.ShoppingCouponModelImpl
All Implemented Interfaces:
AuditedModel, BaseModel<ShoppingCoupon>, ClassedModel, GroupedModel, ShoppingCouponModel, Serializable, Cloneable, Comparable<ShoppingCoupon>
Direct Known Subclasses:
ShoppingCouponBaseImpl

@JSON(strict=true)
public class ShoppingCouponModelImpl
extends BaseModelImpl<ShoppingCoupon>
implements ShoppingCouponModel

The base model implementation for the ShoppingCoupon service. Represents a row in the "ShoppingCoupon" database table, with each column mapped to a property of this class.

This implementation and its corresponding interface ShoppingCouponModel exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in ShoppingCouponImpl.

See Also:
ShoppingCouponImpl, ShoppingCoupon, ShoppingCouponModel, Serialized Form
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

Field Summary
static long CODE_COLUMN_BITMASK
           
static boolean COLUMN_BITMASK_ENABLED
           
static String DATA_SOURCE
           
static boolean ENTITY_CACHE_ENABLED
           
static boolean FINDER_CACHE_ENABLED
           
static long GROUPID_COLUMN_BITMASK
           
static long LOCK_EXPIRATION_TIME
           
static String ORDER_BY_JPQL
           
static String ORDER_BY_SQL
           
static String SESSION_FACTORY
           
static Object[][] TABLE_COLUMNS
           
static String TABLE_NAME
           
static String TABLE_SQL_CREATE
           
static String TABLE_SQL_DROP
           
static String TX_MANAGER
           
 
Constructor Summary
ShoppingCouponModelImpl()
           
 
Method Summary
 Object clone()
          Creates a shallow clone of this model instance.
 int compareTo(ShoppingCoupon shoppingCoupon)
           
 boolean equals(Object obj)
           
 boolean getActive()
          Returns the active of this shopping coupon.
 String getCode()
          Returns the code of this shopping coupon.
 long getColumnBitmask()
           
 long getCompanyId()
          Returns the company ID of this shopping coupon.
 long getCouponId()
          Returns the coupon ID of this shopping coupon.
 Date getCreateDate()
          Returns the create date of this shopping coupon.
 String getDescription()
          Returns the description of this shopping coupon.
 double getDiscount()
          Returns the discount of this shopping coupon.
 String getDiscountType()
          Returns the discount type of this shopping coupon.
 Date getEndDate()
          Returns the end date of this shopping coupon.
 ExpandoBridge getExpandoBridge()
          Returns the expando bridge for this model instance.
 long getGroupId()
          Returns the group ID of this shopping coupon.
 String getLimitCategories()
          Returns the limit categories of this shopping coupon.
 String getLimitSkus()
          Returns the limit skus of this shopping coupon.
 double getMinOrder()
          Returns the min order of this shopping coupon.
 Map<String,Object> getModelAttributes()
           
 Class<?> getModelClass()
           
 String getModelClassName()
           
 Date getModifiedDate()
          Returns the modified date of this shopping coupon.
 String getName()
          Returns the name of this shopping coupon.
 String getOriginalCode()
           
 long getOriginalGroupId()
           
 long getPrimaryKey()
          Returns the primary key of this shopping coupon.
 Serializable getPrimaryKeyObj()
          Returns the primary key of this model instance.
 Date getStartDate()
          Returns the start date of this shopping coupon.
 long getUserId()
          Returns the user ID of this shopping coupon.
 String getUserName()
          Returns the user name of this shopping coupon.
 String getUserUuid()
          Returns the user uuid of this shopping coupon.
 int hashCode()
           
 boolean isActive()
          Returns true if this shopping coupon is active.
 void resetOriginalValues()
          Reset all original fields to current values.
 void setActive(boolean active)
          Sets whether this shopping coupon is active.
 void setCode(String code)
          Sets the code of this shopping coupon.
 void setCompanyId(long companyId)
          Sets the company ID of this shopping coupon.
 void setCouponId(long couponId)
          Sets the coupon ID of this shopping coupon.
 void setCreateDate(Date createDate)
          Sets the create date of this shopping coupon.
 void setDescription(String description)
          Sets the description of this shopping coupon.
 void setDiscount(double discount)
          Sets the discount of this shopping coupon.
 void setDiscountType(String discountType)
          Sets the discount type of this shopping coupon.
 void setEndDate(Date endDate)
          Sets the end date of this shopping coupon.
 void setExpandoBridgeAttributes(ServiceContext serviceContext)
          Sets the expando bridge attributes for this model instance to the attributes stored in the service context.
 void setGroupId(long groupId)
          Sets the group ID of this shopping coupon.
 void setLimitCategories(String limitCategories)
          Sets the limit categories of this shopping coupon.
 void setLimitSkus(String limitSkus)
          Sets the limit skus of this shopping coupon.
 void setMinOrder(double minOrder)
          Sets the min order of this shopping coupon.
 void setModelAttributes(Map<String,Object> attributes)
           
 void setModifiedDate(Date modifiedDate)
          Sets the modified date of this shopping coupon.
 void setName(String name)
          Sets the name of this shopping coupon.
 void setPrimaryKey(long primaryKey)
          Sets the primary key of this shopping coupon.
 void setPrimaryKeyObj(Serializable primaryKeyObj)
          Sets the primary key of this model instance.
 void setStartDate(Date startDate)
          Sets the start date of this shopping coupon.
 void setUserId(long userId)
          Sets the user ID of this shopping coupon.
 void setUserName(String userName)
          Sets the user name of this shopping coupon.
 void setUserUuid(String userUuid)
          Sets the user uuid of this shopping coupon.
 CacheModel<ShoppingCoupon> toCacheModel()
          Returns a cache model object for this entity used by entity cache.
 ShoppingCoupon toEscapedModel()
          Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler.
static ShoppingCoupon toModel(ShoppingCouponSoap soapModel)
          Converts the soap model instance into a normal model instance.
static List<ShoppingCoupon> toModels(ShoppingCouponSoap[] soapModels)
          Converts the soap model instances into normal model instances.
 String toString()
           
 ShoppingCoupon toUnescapedModel()
           
 String toXmlString()
          Returns the XML representation of this model instance.
 
Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setNew
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.liferay.portlet.shopping.model.ShoppingCouponModel
isCachedModel, isEscapedModel, isNew, setCachedModel, setNew
 

Field Detail

TABLE_NAME

public static final String TABLE_NAME
See Also:
Constant Field Values

TABLE_COLUMNS

public static final Object[][] TABLE_COLUMNS

TABLE_SQL_CREATE

public static final String TABLE_SQL_CREATE
See Also:
Constant Field Values

TABLE_SQL_DROP

public static final String TABLE_SQL_DROP
See Also:
Constant Field Values

ORDER_BY_JPQL

public static final String ORDER_BY_JPQL
See Also:
Constant Field Values

ORDER_BY_SQL

public static final String ORDER_BY_SQL
See Also:
Constant Field Values

DATA_SOURCE

public static final String DATA_SOURCE
See Also:
Constant Field Values

SESSION_FACTORY

public static final String SESSION_FACTORY
See Also:
Constant Field Values

TX_MANAGER

public static final String TX_MANAGER
See Also:
Constant Field Values

ENTITY_CACHE_ENABLED

public static final boolean ENTITY_CACHE_ENABLED

FINDER_CACHE_ENABLED

public static final boolean FINDER_CACHE_ENABLED

COLUMN_BITMASK_ENABLED

public static final boolean COLUMN_BITMASK_ENABLED

CODE_COLUMN_BITMASK

public static long CODE_COLUMN_BITMASK

GROUPID_COLUMN_BITMASK

public static long GROUPID_COLUMN_BITMASK

LOCK_EXPIRATION_TIME

public static final long LOCK_EXPIRATION_TIME
Constructor Detail

ShoppingCouponModelImpl

public ShoppingCouponModelImpl()
Method Detail

toModel

public static ShoppingCoupon toModel(ShoppingCouponSoap soapModel)
Converts the soap model instance into a normal model instance.

Parameters:
soapModel - the soap model instance to convert
Returns:
the normal model instance

toModels

public static List<ShoppingCoupon> toModels(ShoppingCouponSoap[] soapModels)
Converts the soap model instances into normal model instances.

Parameters:
soapModels - the soap model instances to convert
Returns:
the normal model instances

getPrimaryKey

public long getPrimaryKey()
Description copied from interface: ShoppingCouponModel
Returns the primary key of this shopping coupon.

Specified by:
getPrimaryKey in interface ShoppingCouponModel
Returns:
the primary key of this shopping coupon

setPrimaryKey

public void setPrimaryKey(long primaryKey)
Description copied from interface: ShoppingCouponModel
Sets the primary key of this shopping coupon.

Specified by:
setPrimaryKey in interface ShoppingCouponModel
Parameters:
primaryKey - the primary key of this shopping coupon

getPrimaryKeyObj

public Serializable getPrimaryKeyObj()
Description copied from interface: BaseModel
Returns the primary key of this model instance.

Specified by:
getPrimaryKeyObj in interface BaseModel<ShoppingCoupon>
Specified by:
getPrimaryKeyObj in interface ClassedModel
Specified by:
getPrimaryKeyObj in interface ShoppingCouponModel
Returns:
the primary key of this model instance

setPrimaryKeyObj

public void setPrimaryKeyObj(Serializable primaryKeyObj)
Description copied from interface: BaseModel
Sets the primary key of this model instance.

Specified by:
setPrimaryKeyObj in interface BaseModel<ShoppingCoupon>
Specified by:
setPrimaryKeyObj in interface ClassedModel
Specified by:
setPrimaryKeyObj in interface ShoppingCouponModel
Parameters:
primaryKeyObj - the primary key of this model instance

getModelClass

public Class<?> getModelClass()
Specified by:
getModelClass in interface ClassedModel

getModelClassName

public String getModelClassName()
Specified by:
getModelClassName in interface ClassedModel

getModelAttributes

public Map<String,Object> getModelAttributes()
Specified by:
getModelAttributes in interface BaseModel<ShoppingCoupon>
Overrides:
getModelAttributes in class BaseModelImpl<ShoppingCoupon>

setModelAttributes

public void setModelAttributes(Map<String,Object> attributes)
Specified by:
setModelAttributes in interface BaseModel<ShoppingCoupon>
Overrides:
setModelAttributes in class BaseModelImpl<ShoppingCoupon>

getCouponId

@JSON
public long getCouponId()
Description copied from interface: ShoppingCouponModel
Returns the coupon ID of this shopping coupon.

Specified by:
getCouponId in interface ShoppingCouponModel
Returns:
the coupon ID of this shopping coupon

setCouponId

public void setCouponId(long couponId)
Description copied from interface: ShoppingCouponModel
Sets the coupon ID of this shopping coupon.

Specified by:
setCouponId in interface ShoppingCouponModel
Parameters:
couponId - the coupon ID of this shopping coupon

getGroupId

@JSON
public long getGroupId()
Description copied from interface: ShoppingCouponModel
Returns the group ID of this shopping coupon.

Specified by:
getGroupId in interface GroupedModel
Specified by:
getGroupId in interface ShoppingCouponModel
Returns:
the group ID of this shopping coupon

setGroupId

public void setGroupId(long groupId)
Description copied from interface: ShoppingCouponModel
Sets the group ID of this shopping coupon.

Specified by:
setGroupId in interface GroupedModel
Specified by:
setGroupId in interface ShoppingCouponModel
Parameters:
groupId - the group ID of this shopping coupon

getOriginalGroupId

public long getOriginalGroupId()

getCompanyId

@JSON
public long getCompanyId()
Description copied from interface: ShoppingCouponModel
Returns the company ID of this shopping coupon.

Specified by:
getCompanyId in interface AuditedModel
Specified by:
getCompanyId in interface ShoppingCouponModel
Returns:
the company ID of this shopping coupon

setCompanyId

public void setCompanyId(long companyId)
Description copied from interface: ShoppingCouponModel
Sets the company ID of this shopping coupon.

Specified by:
setCompanyId in interface AuditedModel
Specified by:
setCompanyId in interface ShoppingCouponModel
Parameters:
companyId - the company ID of this shopping coupon

getUserId

@JSON
public long getUserId()
Description copied from interface: ShoppingCouponModel
Returns the user ID of this shopping coupon.

Specified by:
getUserId in interface AuditedModel
Specified by:
getUserId in interface ShoppingCouponModel
Returns:
the user ID of this shopping coupon

setUserId

public void setUserId(long userId)
Description copied from interface: ShoppingCouponModel
Sets the user ID of this shopping coupon.

Specified by:
setUserId in interface AuditedModel
Specified by:
setUserId in interface ShoppingCouponModel
Parameters:
userId - the user ID of this shopping coupon

getUserUuid

public String getUserUuid()
                   throws SystemException
Description copied from interface: ShoppingCouponModel
Returns the user uuid of this shopping coupon.

Specified by:
getUserUuid in interface AuditedModel
Specified by:
getUserUuid in interface ShoppingCouponModel
Returns:
the user uuid of this shopping coupon
Throws:
SystemException - if a system exception occurred

setUserUuid

public void setUserUuid(String userUuid)
Description copied from interface: ShoppingCouponModel
Sets the user uuid of this shopping coupon.

Specified by:
setUserUuid in interface AuditedModel
Specified by:
setUserUuid in interface ShoppingCouponModel
Parameters:
userUuid - the user uuid of this shopping coupon

getUserName

@JSON
public String getUserName()
Description copied from interface: ShoppingCouponModel
Returns the user name of this shopping coupon.

Specified by:
getUserName in interface AuditedModel
Specified by:
getUserName in interface ShoppingCouponModel
Returns:
the user name of this shopping coupon

setUserName

public void setUserName(String userName)
Description copied from interface: ShoppingCouponModel
Sets the user name of this shopping coupon.

Specified by:
setUserName in interface AuditedModel
Specified by:
setUserName in interface ShoppingCouponModel
Parameters:
userName - the user name of this shopping coupon

getCreateDate

@JSON
public Date getCreateDate()
Description copied from interface: ShoppingCouponModel
Returns the create date of this shopping coupon.

Specified by:
getCreateDate in interface AuditedModel
Specified by:
getCreateDate in interface ShoppingCouponModel
Returns:
the create date of this shopping coupon

setCreateDate

public void setCreateDate(Date createDate)
Description copied from interface: ShoppingCouponModel
Sets the create date of this shopping coupon.

Specified by:
setCreateDate in interface AuditedModel
Specified by:
setCreateDate in interface ShoppingCouponModel
Parameters:
createDate - the create date of this shopping coupon

getModifiedDate

@JSON
public Date getModifiedDate()
Description copied from interface: ShoppingCouponModel
Returns the modified date of this shopping coupon.

Specified by:
getModifiedDate in interface AuditedModel
Specified by:
getModifiedDate in interface ShoppingCouponModel
Returns:
the modified date of this shopping coupon

setModifiedDate

public void setModifiedDate(Date modifiedDate)
Description copied from interface: ShoppingCouponModel
Sets the modified date of this shopping coupon.

Specified by:
setModifiedDate in interface AuditedModel
Specified by:
setModifiedDate in interface ShoppingCouponModel
Parameters:
modifiedDate - the modified date of this shopping coupon

getCode

@JSON
public String getCode()
Description copied from interface: ShoppingCouponModel
Returns the code of this shopping coupon.

Specified by:
getCode in interface ShoppingCouponModel
Returns:
the code of this shopping coupon

setCode

public void setCode(String code)
Description copied from interface: ShoppingCouponModel
Sets the code of this shopping coupon.

Specified by:
setCode in interface ShoppingCouponModel
Parameters:
code - the code of this shopping coupon

getOriginalCode

public String getOriginalCode()

getName

@JSON
public String getName()
Description copied from interface: ShoppingCouponModel
Returns the name of this shopping coupon.

Specified by:
getName in interface ShoppingCouponModel
Returns:
the name of this shopping coupon

setName

public void setName(String name)
Description copied from interface: ShoppingCouponModel
Sets the name of this shopping coupon.

Specified by:
setName in interface ShoppingCouponModel
Parameters:
name - the name of this shopping coupon

getDescription

@JSON
public String getDescription()
Description copied from interface: ShoppingCouponModel
Returns the description of this shopping coupon.

Specified by:
getDescription in interface ShoppingCouponModel
Returns:
the description of this shopping coupon

setDescription

public void setDescription(String description)
Description copied from interface: ShoppingCouponModel
Sets the description of this shopping coupon.

Specified by:
setDescription in interface ShoppingCouponModel
Parameters:
description - the description of this shopping coupon

getStartDate

@JSON
public Date getStartDate()
Description copied from interface: ShoppingCouponModel
Returns the start date of this shopping coupon.

Specified by:
getStartDate in interface ShoppingCouponModel
Returns:
the start date of this shopping coupon

setStartDate

public void setStartDate(Date startDate)
Description copied from interface: ShoppingCouponModel
Sets the start date of this shopping coupon.

Specified by:
setStartDate in interface ShoppingCouponModel
Parameters:
startDate - the start date of this shopping coupon

getEndDate

@JSON
public Date getEndDate()
Description copied from interface: ShoppingCouponModel
Returns the end date of this shopping coupon.

Specified by:
getEndDate in interface ShoppingCouponModel
Returns:
the end date of this shopping coupon

setEndDate

public void setEndDate(Date endDate)
Description copied from interface: ShoppingCouponModel
Sets the end date of this shopping coupon.

Specified by:
setEndDate in interface ShoppingCouponModel
Parameters:
endDate - the end date of this shopping coupon

getActive

@JSON
public boolean getActive()
Description copied from interface: ShoppingCouponModel
Returns the active of this shopping coupon.

Specified by:
getActive in interface ShoppingCouponModel
Returns:
the active of this shopping coupon

isActive

public boolean isActive()
Description copied from interface: ShoppingCouponModel
Returns true if this shopping coupon is active.

Specified by:
isActive in interface ShoppingCouponModel
Returns:
true if this shopping coupon is active; false otherwise

setActive

public void setActive(boolean active)
Description copied from interface: ShoppingCouponModel
Sets whether this shopping coupon is active.

Specified by:
setActive in interface ShoppingCouponModel
Parameters:
active - the active of this shopping coupon

getLimitCategories

@JSON
public String getLimitCategories()
Description copied from interface: ShoppingCouponModel
Returns the limit categories of this shopping coupon.

Specified by:
getLimitCategories in interface ShoppingCouponModel
Returns:
the limit categories of this shopping coupon

setLimitCategories

public void setLimitCategories(String limitCategories)
Description copied from interface: ShoppingCouponModel
Sets the limit categories of this shopping coupon.

Specified by:
setLimitCategories in interface ShoppingCouponModel
Parameters:
limitCategories - the limit categories of this shopping coupon

getLimitSkus

@JSON
public String getLimitSkus()
Description copied from interface: ShoppingCouponModel
Returns the limit skus of this shopping coupon.

Specified by:
getLimitSkus in interface ShoppingCouponModel
Returns:
the limit skus of this shopping coupon

setLimitSkus

public void setLimitSkus(String limitSkus)
Description copied from interface: ShoppingCouponModel
Sets the limit skus of this shopping coupon.

Specified by:
setLimitSkus in interface ShoppingCouponModel
Parameters:
limitSkus - the limit skus of this shopping coupon

getMinOrder

@JSON
public double getMinOrder()
Description copied from interface: ShoppingCouponModel
Returns the min order of this shopping coupon.

Specified by:
getMinOrder in interface ShoppingCouponModel
Returns:
the min order of this shopping coupon

setMinOrder

public void setMinOrder(double minOrder)
Description copied from interface: ShoppingCouponModel
Sets the min order of this shopping coupon.

Specified by:
setMinOrder in interface ShoppingCouponModel
Parameters:
minOrder - the min order of this shopping coupon

getDiscount

@JSON
public double getDiscount()
Description copied from interface: ShoppingCouponModel
Returns the discount of this shopping coupon.

Specified by:
getDiscount in interface ShoppingCouponModel
Returns:
the discount of this shopping coupon

setDiscount

public void setDiscount(double discount)
Description copied from interface: ShoppingCouponModel
Sets the discount of this shopping coupon.

Specified by:
setDiscount in interface ShoppingCouponModel
Parameters:
discount - the discount of this shopping coupon

getDiscountType

@JSON
public String getDiscountType()
Description copied from interface: ShoppingCouponModel
Returns the discount type of this shopping coupon.

Specified by:
getDiscountType in interface ShoppingCouponModel
Returns:
the discount type of this shopping coupon

setDiscountType

public void setDiscountType(String discountType)
Description copied from interface: ShoppingCouponModel
Sets the discount type of this shopping coupon.

Specified by:
setDiscountType in interface ShoppingCouponModel
Parameters:
discountType - the discount type of this shopping coupon

getColumnBitmask

public long getColumnBitmask()

getExpandoBridge

public ExpandoBridge getExpandoBridge()
Description copied from interface: BaseModel
Returns the expando bridge for this model instance.

Specified by:
getExpandoBridge in interface BaseModel<ShoppingCoupon>
Specified by:
getExpandoBridge in interface ClassedModel
Specified by:
getExpandoBridge in interface ShoppingCouponModel
Overrides:
getExpandoBridge in class BaseModelImpl<ShoppingCoupon>
Returns:
the expando bridge for this model instance

setExpandoBridgeAttributes

public void setExpandoBridgeAttributes(ServiceContext serviceContext)
Description copied from interface: BaseModel
Sets the expando bridge attributes for this model instance to the attributes stored in the service context.

Specified by:
setExpandoBridgeAttributes in interface BaseModel<ShoppingCoupon>
Specified by:
setExpandoBridgeAttributes in interface ShoppingCouponModel
Overrides:
setExpandoBridgeAttributes in class BaseModelImpl<ShoppingCoupon>
Parameters:
serviceContext - the service context
See Also:
ServiceContext.getExpandoBridgeAttributes( )

toEscapedModel

public ShoppingCoupon toEscapedModel()
Description copied from interface: BaseModel
Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler.

Specified by:
toEscapedModel in interface BaseModel<ShoppingCoupon>
Specified by:
toEscapedModel in interface ShoppingCouponModel
Overrides:
toEscapedModel in class BaseModelImpl<ShoppingCoupon>
Returns:
the escaped model instance
See Also:
AutoEscapeBeanHandler

toUnescapedModel

public ShoppingCoupon toUnescapedModel()
Specified by:
toUnescapedModel in interface BaseModel<ShoppingCoupon>
Specified by:
toUnescapedModel in interface ShoppingCouponModel
Overrides:
toUnescapedModel in class BaseModelImpl<ShoppingCoupon>

clone

public Object clone()
Description copied from interface: BaseModel
Creates a shallow clone of this model instance.

Specified by:
clone in interface BaseModel<ShoppingCoupon>
Specified by:
clone in interface ShoppingCouponModel
Specified by:
clone in class BaseModelImpl<ShoppingCoupon>
Returns:
the shallow clone of this model instance

compareTo

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

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

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

resetOriginalValues

public void resetOriginalValues()
Description copied from interface: BaseModel
Reset all original fields to current values.

Specified by:
resetOriginalValues in interface BaseModel<ShoppingCoupon>
Overrides:
resetOriginalValues in class BaseModelImpl<ShoppingCoupon>

toCacheModel

public CacheModel<ShoppingCoupon> toCacheModel()
Description copied from interface: BaseModel
Returns a cache model object for this entity used by entity cache.

Specified by:
toCacheModel in interface BaseModel<ShoppingCoupon>
Specified by:
toCacheModel in interface ShoppingCouponModel
Overrides:
toCacheModel in class BaseModelImpl<ShoppingCoupon>
Returns:
the cache model object

toString

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

toXmlString

public String toXmlString()
Description copied from interface: BaseModel
Returns the XML representation of this model instance.

Specified by:
toXmlString in interface BaseModel<ShoppingCoupon>
Specified by:
toXmlString in interface ShoppingCouponModel
Returns:
the XML representation of this model instance

Liferay 6.1.2-ce-ga3