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.
|
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, toUnescapedModel, toXmlString
finalize, getClass, notify, notifyAll, wait, wait, wait
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlString
public 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 CommerceDiscountRelModel
cloneWithOriginalValues
in interface com.liferay.portal.kernel.model.BaseModel<CommerceDiscountRel>
public java.lang.String getClassName()
getClassName
in interface CommerceDiscountRelModel
getClassName
in interface com.liferay.portal.kernel.model.TypedModel
public long getClassNameId()
getClassNameId
in interface CommerceDiscountRelModel
getClassNameId
in interface com.liferay.portal.kernel.model.TypedModel
public long getClassPK()
getClassPK
in interface CommerceDiscountRelModel
getClassPK
in interface com.liferay.portal.kernel.model.AttachedModel
public CommerceDiscount getCommerceDiscount() throws com.liferay.portal.kernel.exception.PortalException
getCommerceDiscount
in interface CommerceDiscountRel
com.liferay.portal.kernel.exception.PortalException
public long getCommerceDiscountId()
getCommerceDiscountId
in interface CommerceDiscountRelModel
public long getCommerceDiscountRelId()
getCommerceDiscountRelId
in interface CommerceDiscountRelModel
public long getCompanyId()
getCompanyId
in interface CommerceDiscountRelModel
getCompanyId
in interface com.liferay.portal.kernel.model.AuditedModel
getCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
public java.util.Date getCreateDate()
getCreateDate
in interface CommerceDiscountRelModel
getCreateDate
in interface com.liferay.portal.kernel.model.AuditedModel
public java.util.Date getModifiedDate()
getModifiedDate
in interface CommerceDiscountRelModel
getModifiedDate
in interface com.liferay.portal.kernel.model.AuditedModel
public long getMvccVersion()
getMvccVersion
in interface CommerceDiscountRelModel
getMvccVersion
in interface com.liferay.portal.kernel.model.MVCCModel
public long getPrimaryKey()
getPrimaryKey
in interface CommerceDiscountRelModel
public long getUserId()
getUserId
in interface CommerceDiscountRelModel
getUserId
in interface com.liferay.portal.kernel.model.AuditedModel
public java.lang.String getUserName()
getUserName
in interface CommerceDiscountRelModel
getUserName
in interface com.liferay.portal.kernel.model.AuditedModel
public java.lang.String getUserUuid()
getUserUuid
in interface CommerceDiscountRelModel
getUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
public void persist()
persist
in interface com.liferay.portal.kernel.model.PersistedModel
public void setClassName(java.lang.String className)
setClassName
in interface CommerceDiscountRelModel
public void setClassNameId(long classNameId)
setClassNameId
in interface CommerceDiscountRelModel
setClassNameId
in interface com.liferay.portal.kernel.model.TypedModel
classNameId
- the class name ID of this commerce discount relpublic void setClassPK(long classPK)
setClassPK
in interface CommerceDiscountRelModel
setClassPK
in interface com.liferay.portal.kernel.model.AttachedModel
classPK
- the class pk of this commerce discount relpublic void setCommerceDiscountId(long commerceDiscountId)
setCommerceDiscountId
in interface CommerceDiscountRelModel
commerceDiscountId
- the commerce discount ID of this commerce discount relpublic void setCommerceDiscountRelId(long commerceDiscountRelId)
setCommerceDiscountRelId
in interface CommerceDiscountRelModel
commerceDiscountRelId
- the commerce discount rel ID of this commerce discount relpublic void setCompanyId(long companyId)
setCompanyId
in interface CommerceDiscountRelModel
setCompanyId
in interface com.liferay.portal.kernel.model.AuditedModel
setCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
companyId
- the company ID of this commerce discount relpublic void setCreateDate(java.util.Date createDate)
setCreateDate
in interface CommerceDiscountRelModel
setCreateDate
in interface com.liferay.portal.kernel.model.AuditedModel
createDate
- the create date of this commerce discount relpublic void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate
in interface CommerceDiscountRelModel
setModifiedDate
in interface com.liferay.portal.kernel.model.AuditedModel
modifiedDate
- the modified date of this commerce discount relpublic void setMvccVersion(long mvccVersion)
setMvccVersion
in interface CommerceDiscountRelModel
setMvccVersion
in interface com.liferay.portal.kernel.model.MVCCModel
mvccVersion
- the mvcc version of this commerce discount relpublic void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface CommerceDiscountRelModel
primaryKey
- the primary key of this commerce discount relpublic void setUserId(long userId)
setUserId
in interface CommerceDiscountRelModel
setUserId
in interface com.liferay.portal.kernel.model.AuditedModel
userId
- the user ID of this commerce discount relpublic void setUserName(java.lang.String userName)
setUserName
in interface CommerceDiscountRelModel
setUserName
in interface com.liferay.portal.kernel.model.AuditedModel
userName
- the user name of this commerce discount relpublic void setUserUuid(java.lang.String userUuid)
setUserUuid
in interface CommerceDiscountRelModel
setUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
userUuid
- the user uuid of this commerce discount relprotected CommerceDiscountRelWrapper wrap(CommerceDiscountRel commerceDiscountRel)
wrap
in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CommerceDiscountRel>