Class CommerceDiscountRelWrapper
java.lang.Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CommerceDiscountRel>
com.liferay.commerce.discount.model.CommerceDiscountRelWrapper
- All Implemented Interfaces:
CommerceDiscountRel
,CommerceDiscountRelModel
,com.liferay.portal.kernel.model.AttachedModel
,com.liferay.portal.kernel.model.AuditedModel
,com.liferay.portal.kernel.model.BaseModel<CommerceDiscountRel>
,com.liferay.portal.kernel.model.ClassedModel
,com.liferay.portal.kernel.model.ModelWrapper<CommerceDiscountRel>
,com.liferay.portal.kernel.model.MVCCModel
,com.liferay.portal.kernel.model.PersistedModel
,com.liferay.portal.kernel.model.ShardedModel
,com.liferay.portal.kernel.model.TypedModel
,Serializable
,Cloneable
,Comparable<CommerceDiscountRel>
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
.
- See Also:
- Generated:
-
Field Summary
Fields inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
model
Fields inherited from interface com.liferay.commerce.discount.model.CommerceDiscountRel
COMMERCE_DISCOUNT_REL_ID_ACCESSOR
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the fully qualified class name of this commerce discount rel.long
Returns the class name ID of this commerce discount rel.long
Returns the class pk of this commerce discount rel.long
Returns the commerce discount ID of this commerce discount rel.long
Returns the commerce discount rel ID of this commerce discount rel.long
Returns the company ID of this commerce discount rel.Returns the create date of this commerce discount rel.Returns the modified date of this commerce discount rel.long
Returns the mvcc version of this commerce discount rel.long
Returns the primary key of this commerce discount rel.Returns the type settings of this commerce discount rel.com.liferay.portal.kernel.util.UnicodeProperties
long
Returns the user ID of this commerce discount rel.Returns the user name of this commerce discount rel.Returns the user uuid of this commerce discount rel.void
persist()
void
setClassName
(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
(Date createDate) Sets the create date of this commerce discount rel.void
setModelAttributes
(Map<String, Object> attributes) void
setModifiedDate
(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
setTypeSettings
(String typeSettings) Sets the type settings of this commerce discount rel.void
setTypeSettingsUnicodeProperties
(com.liferay.portal.kernel.util.UnicodeProperties typeSettingsUnicodeProperties) void
setUserId
(long userId) Sets the user ID of this commerce discount rel.void
setUserName
(String userName) Sets the user name of this commerce discount rel.void
setUserUuid
(String userUuid) Sets the user uuid of this commerce discount rel.protected CommerceDiscountRelWrapper
wrap
(CommerceDiscountRel commerceDiscountRel) Methods inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
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
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.liferay.portal.kernel.model.BaseModel
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel
Methods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassName
Methods inherited from interface java.lang.Comparable
compareTo
Methods inherited from interface com.liferay.portal.kernel.model.ModelWrapper
getWrappedModel
-
Constructor Details
-
CommerceDiscountRelWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributes
in interfacecom.liferay.portal.kernel.model.BaseModel<CommerceDiscountRel>
-
setModelAttributes
- Specified by:
setModelAttributes
in interfacecom.liferay.portal.kernel.model.BaseModel<CommerceDiscountRel>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValues
in interfacecom.liferay.portal.kernel.model.BaseModel<CommerceDiscountRel>
- Specified by:
cloneWithOriginalValues
in interfaceCommerceDiscountRelModel
-
getClassName
Returns the fully qualified class name of this commerce discount rel.- Specified by:
getClassName
in interfaceCommerceDiscountRelModel
- Specified by:
getClassName
in interfacecom.liferay.portal.kernel.model.TypedModel
- Returns:
- the fully qualified class name of this commerce discount rel
-
getClassNameId
public long getClassNameId()Returns the class name ID of this commerce discount rel.- Specified by:
getClassNameId
in interfaceCommerceDiscountRelModel
- Specified by:
getClassNameId
in interfacecom.liferay.portal.kernel.model.TypedModel
- Returns:
- the class name ID of this commerce discount rel
-
getClassPK
public long getClassPK()Returns the class pk of this commerce discount rel.- Specified by:
getClassPK
in interfacecom.liferay.portal.kernel.model.AttachedModel
- Specified by:
getClassPK
in interfaceCommerceDiscountRelModel
- Returns:
- the class pk of this commerce discount rel
-
getCommerceDiscount
public CommerceDiscount getCommerceDiscount() throws com.liferay.portal.kernel.exception.PortalException- Specified by:
getCommerceDiscount
in interfaceCommerceDiscountRel
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCommerceDiscountId
public long getCommerceDiscountId()Returns the commerce discount ID of this commerce discount rel.- Specified by:
getCommerceDiscountId
in interfaceCommerceDiscountRelModel
- Returns:
- the commerce discount ID of this commerce discount rel
-
getCommerceDiscountRelId
public long getCommerceDiscountRelId()Returns the commerce discount rel ID of this commerce discount rel.- Specified by:
getCommerceDiscountRelId
in interfaceCommerceDiscountRelModel
- Returns:
- the commerce discount rel ID of this commerce discount rel
-
getCompanyId
public long getCompanyId()Returns the company ID of this commerce discount rel.- Specified by:
getCompanyId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getCompanyId
in interfaceCommerceDiscountRelModel
- Specified by:
getCompanyId
in interfacecom.liferay.portal.kernel.model.ShardedModel
- Returns:
- the company ID of this commerce discount rel
-
getCreateDate
Returns the create date of this commerce discount rel.- Specified by:
getCreateDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getCreateDate
in interfaceCommerceDiscountRelModel
- Returns:
- the create date of this commerce discount rel
-
getModifiedDate
Returns the modified date of this commerce discount rel.- Specified by:
getModifiedDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getModifiedDate
in interfaceCommerceDiscountRelModel
- Returns:
- the modified date of this commerce discount rel
-
getMvccVersion
public long getMvccVersion()Returns the mvcc version of this commerce discount rel.- Specified by:
getMvccVersion
in interfaceCommerceDiscountRelModel
- Specified by:
getMvccVersion
in interfacecom.liferay.portal.kernel.model.MVCCModel
- Returns:
- the mvcc version of this commerce discount rel
-
getPrimaryKey
public long getPrimaryKey()Returns the primary key of this commerce discount rel.- Specified by:
getPrimaryKey
in interfaceCommerceDiscountRelModel
- Returns:
- the primary key of this commerce discount rel
-
getTypeSettings
Returns the type settings of this commerce discount rel.- Specified by:
getTypeSettings
in interfaceCommerceDiscountRelModel
- Returns:
- the type settings of this commerce discount rel
-
getTypeSettingsUnicodeProperties
public com.liferay.portal.kernel.util.UnicodeProperties getTypeSettingsUnicodeProperties()- Specified by:
getTypeSettingsUnicodeProperties
in interfaceCommerceDiscountRel
-
getUserId
public long getUserId()Returns the user ID of this commerce discount rel.- Specified by:
getUserId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getUserId
in interfaceCommerceDiscountRelModel
- Returns:
- the user ID of this commerce discount rel
-
getUserName
Returns the user name of this commerce discount rel.- Specified by:
getUserName
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getUserName
in interfaceCommerceDiscountRelModel
- Returns:
- the user name of this commerce discount rel
-
getUserUuid
Returns the user uuid of this commerce discount rel.- Specified by:
getUserUuid
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getUserUuid
in interfaceCommerceDiscountRelModel
- Returns:
- the user uuid of this commerce discount rel
-
persist
public void persist()- Specified by:
persist
in interfacecom.liferay.portal.kernel.model.PersistedModel
-
setClassName
- Specified by:
setClassName
in interfaceCommerceDiscountRelModel
-
setClassNameId
public void setClassNameId(long classNameId) Sets the class name ID of this commerce discount rel.- Specified by:
setClassNameId
in interfaceCommerceDiscountRelModel
- Specified by:
setClassNameId
in interfacecom.liferay.portal.kernel.model.TypedModel
- Parameters:
classNameId
- the class name ID of this commerce discount rel
-
setClassPK
public void setClassPK(long classPK) Sets the class pk of this commerce discount rel.- Specified by:
setClassPK
in interfacecom.liferay.portal.kernel.model.AttachedModel
- Specified by:
setClassPK
in interfaceCommerceDiscountRelModel
- Parameters:
classPK
- the class pk of this commerce discount rel
-
setCommerceDiscountId
public void setCommerceDiscountId(long commerceDiscountId) Sets the commerce discount ID of this commerce discount rel.- Specified by:
setCommerceDiscountId
in interfaceCommerceDiscountRelModel
- Parameters:
commerceDiscountId
- the commerce discount ID of this commerce discount rel
-
setCommerceDiscountRelId
public void setCommerceDiscountRelId(long commerceDiscountRelId) Sets the commerce discount rel ID of this commerce discount rel.- Specified by:
setCommerceDiscountRelId
in interfaceCommerceDiscountRelModel
- Parameters:
commerceDiscountRelId
- the commerce discount rel ID of this commerce discount rel
-
setCompanyId
public void setCompanyId(long companyId) Sets the company ID of this commerce discount rel.- Specified by:
setCompanyId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setCompanyId
in interfaceCommerceDiscountRelModel
- Specified by:
setCompanyId
in interfacecom.liferay.portal.kernel.model.ShardedModel
- Parameters:
companyId
- the company ID of this commerce discount rel
-
setCreateDate
Sets the create date of this commerce discount rel.- Specified by:
setCreateDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setCreateDate
in interfaceCommerceDiscountRelModel
- Parameters:
createDate
- the create date of this commerce discount rel
-
setModifiedDate
Sets the modified date of this commerce discount rel.- Specified by:
setModifiedDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setModifiedDate
in interfaceCommerceDiscountRelModel
- Parameters:
modifiedDate
- the modified date of this commerce discount rel
-
setMvccVersion
public void setMvccVersion(long mvccVersion) Sets the mvcc version of this commerce discount rel.- Specified by:
setMvccVersion
in interfaceCommerceDiscountRelModel
- Specified by:
setMvccVersion
in interfacecom.liferay.portal.kernel.model.MVCCModel
- Parameters:
mvccVersion
- the mvcc version of this commerce discount rel
-
setPrimaryKey
public void setPrimaryKey(long primaryKey) Sets the primary key of this commerce discount rel.- Specified by:
setPrimaryKey
in interfaceCommerceDiscountRelModel
- Parameters:
primaryKey
- the primary key of this commerce discount rel
-
setTypeSettings
Sets the type settings of this commerce discount rel.- Specified by:
setTypeSettings
in interfaceCommerceDiscountRelModel
- Parameters:
typeSettings
- the type settings of this commerce discount rel
-
setTypeSettingsUnicodeProperties
public void setTypeSettingsUnicodeProperties(com.liferay.portal.kernel.util.UnicodeProperties typeSettingsUnicodeProperties) - Specified by:
setTypeSettingsUnicodeProperties
in interfaceCommerceDiscountRel
-
setUserId
public void setUserId(long userId) Sets the user ID of this commerce discount rel.- Specified by:
setUserId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setUserId
in interfaceCommerceDiscountRelModel
- Parameters:
userId
- the user ID of this commerce discount rel
-
setUserName
Sets the user name of this commerce discount rel.- Specified by:
setUserName
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setUserName
in interfaceCommerceDiscountRelModel
- Parameters:
userName
- the user name of this commerce discount rel
-
setUserUuid
Sets the user uuid of this commerce discount rel.- Specified by:
setUserUuid
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setUserUuid
in interfaceCommerceDiscountRelModel
- Parameters:
userUuid
- the user uuid of this commerce discount rel
-
toXmlString
- Specified by:
toXmlString
in interfaceCommerceDiscountRelModel
-
wrap
- Specified by:
wrap
in classcom.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CommerceDiscountRel>
-