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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    Returns 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
     
    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
     
    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.
     
    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

      public CommerceDiscountRelWrapper(CommerceDiscountRel commerceDiscountRel)
  • Method Details

    • getModelAttributes

      public Map<String,Object> getModelAttributes()
      Specified by:
      getModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<CommerceDiscountRel>
    • setModelAttributes

      public void setModelAttributes(Map<String,Object> attributes)
      Specified by:
      setModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<CommerceDiscountRel>
    • cloneWithOriginalValues

      public CommerceDiscountRel cloneWithOriginalValues()
      Specified by:
      cloneWithOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<CommerceDiscountRel>
      Specified by:
      cloneWithOriginalValues in interface CommerceDiscountRelModel
    • getClassName

      public String getClassName()
      Returns the fully qualified class name of this commerce discount rel.
      Specified by:
      getClassName in interface CommerceDiscountRelModel
      Specified by:
      getClassName in interface com.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 interface CommerceDiscountRelModel
      Specified by:
      getClassNameId in interface com.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 interface com.liferay.portal.kernel.model.AttachedModel
      Specified by:
      getClassPK in interface CommerceDiscountRelModel
      Returns:
      the class pk of this commerce discount rel
    • getCommerceDiscount

      public CommerceDiscount getCommerceDiscount() throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getCommerceDiscount in interface CommerceDiscountRel
      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 interface CommerceDiscountRelModel
      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 interface CommerceDiscountRelModel
      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 interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getCompanyId in interface CommerceDiscountRelModel
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
      Returns:
      the company ID of this commerce discount rel
    • getCreateDate

      public Date getCreateDate()
      Returns the create date of this commerce discount rel.
      Specified by:
      getCreateDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getCreateDate in interface CommerceDiscountRelModel
      Returns:
      the create date of this commerce discount rel
    • getModifiedDate

      public Date getModifiedDate()
      Returns the modified date of this commerce discount rel.
      Specified by:
      getModifiedDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getModifiedDate in interface CommerceDiscountRelModel
      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 interface CommerceDiscountRelModel
      Specified by:
      getMvccVersion in interface com.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 interface CommerceDiscountRelModel
      Returns:
      the primary key of this commerce discount rel
    • getTypeSettings

      public String getTypeSettings()
      Returns the type settings of this commerce discount rel.
      Specified by:
      getTypeSettings in interface CommerceDiscountRelModel
      Returns:
      the type settings of this commerce discount rel
    • getTypeSettingsUnicodeProperties

      public com.liferay.portal.kernel.util.UnicodeProperties getTypeSettingsUnicodeProperties()
      Specified by:
      getTypeSettingsUnicodeProperties in interface CommerceDiscountRel
    • getUserId

      public long getUserId()
      Returns the user ID of this commerce discount rel.
      Specified by:
      getUserId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getUserId in interface CommerceDiscountRelModel
      Returns:
      the user ID of this commerce discount rel
    • getUserName

      public String getUserName()
      Returns the user name of this commerce discount rel.
      Specified by:
      getUserName in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getUserName in interface CommerceDiscountRelModel
      Returns:
      the user name of this commerce discount rel
    • getUserUuid

      public String getUserUuid()
      Returns the user uuid of this commerce discount rel.
      Specified by:
      getUserUuid in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getUserUuid in interface CommerceDiscountRelModel
      Returns:
      the user uuid of this commerce discount rel
    • persist

      public void persist()
      Specified by:
      persist in interface com.liferay.portal.kernel.model.PersistedModel
    • setClassName

      public void setClassName(String className)
      Specified by:
      setClassName in interface CommerceDiscountRelModel
    • setClassNameId

      public void setClassNameId(long classNameId)
      Sets the class name ID of this commerce discount rel.
      Specified by:
      setClassNameId in interface CommerceDiscountRelModel
      Specified by:
      setClassNameId in interface com.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 interface com.liferay.portal.kernel.model.AttachedModel
      Specified by:
      setClassPK in interface CommerceDiscountRelModel
      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 interface CommerceDiscountRelModel
      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 interface CommerceDiscountRelModel
      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 interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setCompanyId in interface CommerceDiscountRelModel
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
      Parameters:
      companyId - the company ID of this commerce discount rel
    • setCreateDate

      public void setCreateDate(Date createDate)
      Sets the create date of this commerce discount rel.
      Specified by:
      setCreateDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setCreateDate in interface CommerceDiscountRelModel
      Parameters:
      createDate - the create date of this commerce discount rel
    • setModifiedDate

      public void setModifiedDate(Date modifiedDate)
      Sets the modified date of this commerce discount rel.
      Specified by:
      setModifiedDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setModifiedDate in interface CommerceDiscountRelModel
      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 interface CommerceDiscountRelModel
      Specified by:
      setMvccVersion in interface com.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 interface CommerceDiscountRelModel
      Parameters:
      primaryKey - the primary key of this commerce discount rel
    • setTypeSettings

      public void setTypeSettings(String typeSettings)
      Sets the type settings of this commerce discount rel.
      Specified by:
      setTypeSettings in interface CommerceDiscountRelModel
      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 interface CommerceDiscountRel
    • setUserId

      public void setUserId(long userId)
      Sets the user ID of this commerce discount rel.
      Specified by:
      setUserId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setUserId in interface CommerceDiscountRelModel
      Parameters:
      userId - the user ID of this commerce discount rel
    • setUserName

      public void setUserName(String userName)
      Sets the user name of this commerce discount rel.
      Specified by:
      setUserName in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setUserName in interface CommerceDiscountRelModel
      Parameters:
      userName - the user name of this commerce discount rel
    • setUserUuid

      public void setUserUuid(String userUuid)
      Sets the user uuid of this commerce discount rel.
      Specified by:
      setUserUuid in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setUserUuid in interface CommerceDiscountRelModel
      Parameters:
      userUuid - the user uuid of this commerce discount rel
    • toXmlString

      public String toXmlString()
      Specified by:
      toXmlString in interface CommerceDiscountRelModel
    • wrap

      protected CommerceDiscountRelWrapper wrap(CommerceDiscountRel commerceDiscountRel)
      Specified by:
      wrap in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CommerceDiscountRel>