public class CommerceDiscountRelWrapper extends java.lang.Object implements CommerceDiscountRel, com.liferay.portal.kernel.model.ModelWrapper<CommerceDiscountRel>
This class is a wrapper for CommerceDiscountRel.
CommerceDiscountRel,
Serialized FormCOMMERCE_DISCOUNT_REL_ID_ACCESSOR| Constructor and Description |
|---|
CommerceDiscountRelWrapper(CommerceDiscountRel commerceDiscountRel) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone() |
int |
compareTo(CommerceDiscountRel commerceDiscountRel) |
boolean |
equals(java.lang.Object object) |
java.lang.String |
getClassName()
Returns the fully qualified class name of this commerce discount rel.
|
long |
getClassNameId()
Returns the class name ID of this commerce discount rel.
|
long |
getClassPK()
Returns the class pk of this commerce discount rel.
|
CommerceDiscount |
getCommerceDiscount() |
long |
getCommerceDiscountId()
Returns the commerce discount ID of this commerce discount rel.
|
long |
getCommerceDiscountRelId()
Returns the commerce discount rel ID of this commerce discount rel.
|
long |
getCompanyId()
Returns the company ID of this commerce discount rel.
|
java.util.Date |
getCreateDate()
Returns the create date of this commerce discount rel.
|
com.liferay.expando.kernel.model.ExpandoBridge |
getExpandoBridge() |
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
java.lang.Class<?> |
getModelClass() |
java.lang.String |
getModelClassName() |
java.util.Date |
getModifiedDate()
Returns the modified date of this commerce discount rel.
|
long |
getPrimaryKey()
Returns the primary key of this commerce discount rel.
|
java.io.Serializable |
getPrimaryKeyObj() |
long |
getUserId()
Returns the user ID of this commerce discount rel.
|
java.lang.String |
getUserName()
Returns the user name of this commerce discount rel.
|
java.lang.String |
getUserUuid()
Returns the user uuid of this commerce discount rel.
|
CommerceDiscountRel |
getWrappedModel() |
int |
hashCode() |
boolean |
isCachedModel() |
boolean |
isEntityCacheEnabled() |
boolean |
isEscapedModel() |
boolean |
isFinderCacheEnabled() |
boolean |
isNew() |
void |
persist() |
void |
resetOriginalValues() |
void |
setCachedModel(boolean cachedModel) |
void |
setClassName(java.lang.String className) |
void |
setClassNameId(long classNameId)
Sets the class name ID of this commerce discount rel.
|
void |
setClassPK(long classPK)
Sets the class pk of this commerce discount rel.
|
void |
setCommerceDiscountId(long commerceDiscountId)
Sets the commerce discount ID of this commerce discount rel.
|
void |
setCommerceDiscountRelId(long commerceDiscountRelId)
Sets the commerce discount rel ID of this commerce discount rel.
|
void |
setCompanyId(long companyId)
Sets the company ID of this commerce discount rel.
|
void |
setCreateDate(java.util.Date createDate)
Sets the create date of this commerce discount rel.
|
void |
setExpandoBridgeAttributes(com.liferay.portal.kernel.model.BaseModel<?> baseModel) |
void |
setExpandoBridgeAttributes(com.liferay.expando.kernel.model.ExpandoBridge expandoBridge) |
void |
setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext) |
void |
setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes) |
void |
setModifiedDate(java.util.Date modifiedDate)
Sets the modified date of this commerce discount rel.
|
void |
setNew(boolean n) |
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this commerce discount rel.
|
void |
setPrimaryKeyObj(java.io.Serializable primaryKeyObj) |
void |
setUserId(long userId)
Sets the user ID of this commerce discount rel.
|
void |
setUserName(java.lang.String userName)
Sets the user name of this commerce discount rel.
|
void |
setUserUuid(java.lang.String userUuid)
Sets the user uuid of this commerce discount rel.
|
com.liferay.portal.kernel.model.CacheModel<CommerceDiscountRel> |
toCacheModel() |
CommerceDiscountRel |
toEscapedModel() |
java.lang.String |
toString() |
CommerceDiscountRel |
toUnescapedModel() |
java.lang.String |
toXmlString() |
public CommerceDiscountRelWrapper(CommerceDiscountRel commerceDiscountRel)
public java.lang.Class<?> getModelClass()
getModelClass in interface com.liferay.portal.kernel.model.ClassedModelpublic java.lang.String getModelClassName()
getModelClassName in interface com.liferay.portal.kernel.model.ClassedModelpublic java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<CommerceDiscountRel>public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<CommerceDiscountRel>public java.lang.Object clone()
clone in interface CommerceDiscountRelModelclone in interface com.liferay.portal.kernel.model.BaseModel<CommerceDiscountRel>clone in class java.lang.Objectpublic int compareTo(CommerceDiscountRel commerceDiscountRel)
compareTo in interface CommerceDiscountRelModelcompareTo in interface java.lang.Comparable<CommerceDiscountRel>public java.lang.String getClassName()
getClassName in interface CommerceDiscountRelModelgetClassName in interface com.liferay.portal.kernel.model.TypedModelpublic long getClassNameId()
getClassNameId in interface CommerceDiscountRelModelgetClassNameId in interface com.liferay.portal.kernel.model.TypedModelpublic long getClassPK()
getClassPK in interface CommerceDiscountRelModelgetClassPK in interface com.liferay.portal.kernel.model.AttachedModelpublic CommerceDiscount getCommerceDiscount() throws com.liferay.portal.kernel.exception.PortalException
getCommerceDiscount in interface CommerceDiscountRelcom.liferay.portal.kernel.exception.PortalExceptionpublic long getCommerceDiscountId()
getCommerceDiscountId in interface CommerceDiscountRelModelpublic long getCommerceDiscountRelId()
getCommerceDiscountRelId in interface CommerceDiscountRelModelpublic long getCompanyId()
getCompanyId in interface CommerceDiscountRelModelgetCompanyId in interface com.liferay.portal.kernel.model.AuditedModelgetCompanyId in interface com.liferay.portal.kernel.model.ShardedModelpublic java.util.Date getCreateDate()
getCreateDate in interface CommerceDiscountRelModelgetCreateDate in interface com.liferay.portal.kernel.model.AuditedModelpublic com.liferay.expando.kernel.model.ExpandoBridge getExpandoBridge()
getExpandoBridge in interface CommerceDiscountRelModelgetExpandoBridge in interface com.liferay.portal.kernel.model.BaseModel<CommerceDiscountRel>getExpandoBridge in interface com.liferay.portal.kernel.model.ClassedModelpublic java.util.Date getModifiedDate()
getModifiedDate in interface CommerceDiscountRelModelgetModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelpublic long getPrimaryKey()
getPrimaryKey in interface CommerceDiscountRelModelpublic java.io.Serializable getPrimaryKeyObj()
getPrimaryKeyObj in interface CommerceDiscountRelModelgetPrimaryKeyObj in interface com.liferay.portal.kernel.model.BaseModel<CommerceDiscountRel>getPrimaryKeyObj in interface com.liferay.portal.kernel.model.ClassedModelpublic long getUserId()
getUserId in interface CommerceDiscountRelModelgetUserId in interface com.liferay.portal.kernel.model.AuditedModelpublic java.lang.String getUserName()
getUserName in interface CommerceDiscountRelModelgetUserName in interface com.liferay.portal.kernel.model.AuditedModelpublic java.lang.String getUserUuid()
getUserUuid in interface CommerceDiscountRelModelgetUserUuid in interface com.liferay.portal.kernel.model.AuditedModelpublic int hashCode()
hashCode in interface CommerceDiscountRelModelhashCode in class java.lang.Objectpublic boolean isCachedModel()
isCachedModel in interface CommerceDiscountRelModelisCachedModel in interface com.liferay.portal.kernel.model.BaseModel<CommerceDiscountRel>public boolean isEscapedModel()
isEscapedModel in interface CommerceDiscountRelModelisEscapedModel in interface com.liferay.portal.kernel.model.BaseModel<CommerceDiscountRel>public boolean isNew()
isNew in interface CommerceDiscountRelModelisNew in interface com.liferay.portal.kernel.model.BaseModel<CommerceDiscountRel>public void persist()
persist in interface com.liferay.portal.kernel.model.PersistedModelpublic void setCachedModel(boolean cachedModel)
setCachedModel in interface CommerceDiscountRelModelsetCachedModel in interface com.liferay.portal.kernel.model.BaseModel<CommerceDiscountRel>public void setClassName(java.lang.String className)
setClassName in interface CommerceDiscountRelModelpublic void setClassNameId(long classNameId)
setClassNameId in interface CommerceDiscountRelModelsetClassNameId in interface com.liferay.portal.kernel.model.TypedModelclassNameId - the class name ID of this commerce discount relpublic void setClassPK(long classPK)
setClassPK in interface CommerceDiscountRelModelsetClassPK in interface com.liferay.portal.kernel.model.AttachedModelclassPK - the class pk of this commerce discount relpublic void setCommerceDiscountId(long commerceDiscountId)
setCommerceDiscountId in interface CommerceDiscountRelModelcommerceDiscountId - the commerce discount ID of this commerce discount relpublic void setCommerceDiscountRelId(long commerceDiscountRelId)
setCommerceDiscountRelId in interface CommerceDiscountRelModelcommerceDiscountRelId - the commerce discount rel ID of this commerce discount relpublic void setCompanyId(long companyId)
setCompanyId in interface CommerceDiscountRelModelsetCompanyId in interface com.liferay.portal.kernel.model.AuditedModelsetCompanyId in interface com.liferay.portal.kernel.model.ShardedModelcompanyId - the company ID of this commerce discount relpublic void setCreateDate(java.util.Date createDate)
setCreateDate in interface CommerceDiscountRelModelsetCreateDate in interface com.liferay.portal.kernel.model.AuditedModelcreateDate - the create date of this commerce discount relpublic void setExpandoBridgeAttributes(com.liferay.portal.kernel.model.BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface CommerceDiscountRelModelsetExpandoBridgeAttributes in interface com.liferay.portal.kernel.model.BaseModel<CommerceDiscountRel>public void setExpandoBridgeAttributes(com.liferay.expando.kernel.model.ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface CommerceDiscountRelModelsetExpandoBridgeAttributes in interface com.liferay.portal.kernel.model.BaseModel<CommerceDiscountRel>public void setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext)
setExpandoBridgeAttributes in interface CommerceDiscountRelModelsetExpandoBridgeAttributes in interface com.liferay.portal.kernel.model.BaseModel<CommerceDiscountRel>public void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate in interface CommerceDiscountRelModelsetModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelmodifiedDate - the modified date of this commerce discount relpublic void setNew(boolean n)
setNew in interface CommerceDiscountRelModelsetNew in interface com.liferay.portal.kernel.model.BaseModel<CommerceDiscountRel>public void setPrimaryKey(long primaryKey)
setPrimaryKey in interface CommerceDiscountRelModelprimaryKey - the primary key of this commerce discount relpublic void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
setPrimaryKeyObj in interface CommerceDiscountRelModelsetPrimaryKeyObj in interface com.liferay.portal.kernel.model.BaseModel<CommerceDiscountRel>setPrimaryKeyObj in interface com.liferay.portal.kernel.model.ClassedModelpublic void setUserId(long userId)
setUserId in interface CommerceDiscountRelModelsetUserId in interface com.liferay.portal.kernel.model.AuditedModeluserId - the user ID of this commerce discount relpublic void setUserName(java.lang.String userName)
setUserName in interface CommerceDiscountRelModelsetUserName in interface com.liferay.portal.kernel.model.AuditedModeluserName - the user name of this commerce discount relpublic void setUserUuid(java.lang.String userUuid)
setUserUuid in interface CommerceDiscountRelModelsetUserUuid in interface com.liferay.portal.kernel.model.AuditedModeluserUuid - the user uuid of this commerce discount relpublic com.liferay.portal.kernel.model.CacheModel<CommerceDiscountRel> toCacheModel()
toCacheModel in interface CommerceDiscountRelModeltoCacheModel in interface com.liferay.portal.kernel.model.BaseModel<CommerceDiscountRel>public CommerceDiscountRel toEscapedModel()
toEscapedModel in interface CommerceDiscountRelModeltoEscapedModel in interface com.liferay.portal.kernel.model.BaseModel<CommerceDiscountRel>public java.lang.String toString()
toString in interface CommerceDiscountRelModeltoString in class java.lang.Objectpublic CommerceDiscountRel toUnescapedModel()
toUnescapedModel in interface CommerceDiscountRelModeltoUnescapedModel in interface com.liferay.portal.kernel.model.BaseModel<CommerceDiscountRel>public java.lang.String toXmlString()
toXmlString in interface CommerceDiscountRelModeltoXmlString in interface com.liferay.portal.kernel.model.BaseModel<CommerceDiscountRel>public boolean equals(java.lang.Object object)
equals in class java.lang.Objectpublic CommerceDiscountRel getWrappedModel()
getWrappedModel in interface com.liferay.portal.kernel.model.ModelWrapper<CommerceDiscountRel>public boolean isEntityCacheEnabled()
isEntityCacheEnabled in interface com.liferay.portal.kernel.model.BaseModel<CommerceDiscountRel>public boolean isFinderCacheEnabled()
isFinderCacheEnabled in interface com.liferay.portal.kernel.model.BaseModel<CommerceDiscountRel>public void resetOriginalValues()
resetOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<CommerceDiscountRel>