public class CommerceDiscountRelWrapper extends com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CommerceDiscountRel> 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 |
|---|---|
CommerceDiscountRel |
cloneWithOriginalValues() |
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.
|
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
java.util.Date |
getModifiedDate()
Returns the modified date of this commerce discount rel.
|
long |
getMvccVersion()
Returns the mvcc version of this commerce discount rel.
|
long |
getPrimaryKey()
Returns the primary key of this commerce discount rel.
|
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.
|
void |
persist() |
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 |
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 |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this commerce discount rel.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this commerce discount rel.
|
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.
|
java.lang.String |
toXmlString() |
protected CommerceDiscountRelWrapper |
wrap(CommerceDiscountRel commerceDiscountRel) |
clone, compareTo, equals, getExpandoBridge, getModelClass, getModelClassName, getPrimaryKeyObj, getWrappedModel, hashCode, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toString, toUnescapedModelfinalize, getClass, notify, notifyAll, wait, wait, waitclone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModelpublic CommerceDiscountRelWrapper(CommerceDiscountRel commerceDiscountRel)
public 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 CommerceDiscountRel cloneWithOriginalValues()
cloneWithOriginalValues in interface CommerceDiscountRelModelcloneWithOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<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 java.util.Date getModifiedDate()
getModifiedDate in interface CommerceDiscountRelModelgetModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelpublic long getMvccVersion()
getMvccVersion in interface CommerceDiscountRelModelgetMvccVersion in interface com.liferay.portal.kernel.model.MVCCModelpublic long getPrimaryKey()
getPrimaryKey in interface CommerceDiscountRelModelpublic 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 void persist()
persist in interface com.liferay.portal.kernel.model.PersistedModelpublic 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 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 setMvccVersion(long mvccVersion)
setMvccVersion in interface CommerceDiscountRelModelsetMvccVersion in interface com.liferay.portal.kernel.model.MVCCModelmvccVersion - the mvcc version of this commerce discount relpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface CommerceDiscountRelModelprimaryKey - the primary key of this commerce discount relpublic 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 java.lang.String toXmlString()
toXmlString in interface CommerceDiscountRelModelprotected CommerceDiscountRelWrapper wrap(CommerceDiscountRel commerceDiscountRel)
wrap in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CommerceDiscountRel>