Class CommerceDiscountOrderTypeRelWrapper

java.lang.Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CommerceDiscountOrderTypeRel>
com.liferay.commerce.discount.model.CommerceDiscountOrderTypeRelWrapper
All Implemented Interfaces:
CommerceDiscountOrderTypeRel, CommerceDiscountOrderTypeRelModel, com.liferay.portal.kernel.model.AuditedModel, com.liferay.portal.kernel.model.BaseModel<CommerceDiscountOrderTypeRel>, com.liferay.portal.kernel.model.ClassedModel, com.liferay.portal.kernel.model.ModelWrapper<CommerceDiscountOrderTypeRel>, com.liferay.portal.kernel.model.MVCCModel, com.liferay.portal.kernel.model.PersistedModel, com.liferay.portal.kernel.model.ShardedModel, com.liferay.portal.kernel.model.StagedAuditedModel, com.liferay.portal.kernel.model.StagedModel, Serializable, Cloneable, Comparable<CommerceDiscountOrderTypeRel>

public class CommerceDiscountOrderTypeRelWrapper extends com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CommerceDiscountOrderTypeRel> implements CommerceDiscountOrderTypeRel, com.liferay.portal.kernel.model.ModelWrapper<CommerceDiscountOrderTypeRel>

This class is a wrapper for CommerceDiscountOrderTypeRel.

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.CommerceDiscountOrderTypeRel

    COMMERCE_DISCOUNT_ORDER_TYPE_REL_ID_ACCESSOR
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
    long
    Returns the commerce discount ID of this commerce discount order type rel.
    long
    Returns the commerce discount order type rel ID of this commerce discount order type rel.
    long
    Returns the commerce order type ID of this commerce discount order type rel.
    long
    Returns the company ID of this commerce discount order type rel.
    Returns the create date of this commerce discount order type rel.
    Returns the last publish date of this commerce discount order type rel.
     
    Returns the modified date of this commerce discount order type rel.
    long
    Returns the mvcc version of this commerce discount order type rel.
    long
    Returns the primary key of this commerce discount order type rel.
    int
    Returns the priority of this commerce discount order type rel.
    com.liferay.exportimport.kernel.lar.StagedModelType
     
    long
    Returns the user ID of this commerce discount order type rel.
    Returns the user name of this commerce discount order type rel.
    Returns the user uuid of this commerce discount order type rel.
    Returns the uuid of this commerce discount order type rel.
    void
     
    void
    setCommerceDiscountId(long commerceDiscountId)
    Sets the commerce discount ID of this commerce discount order type rel.
    void
    setCommerceDiscountOrderTypeRelId(long commerceDiscountOrderTypeRelId)
    Sets the commerce discount order type rel ID of this commerce discount order type rel.
    void
    setCommerceOrderTypeId(long commerceOrderTypeId)
    Sets the commerce order type ID of this commerce discount order type rel.
    void
    setCompanyId(long companyId)
    Sets the company ID of this commerce discount order type rel.
    void
    setCreateDate(Date createDate)
    Sets the create date of this commerce discount order type rel.
    void
    setLastPublishDate(Date lastPublishDate)
    Sets the last publish date of this commerce discount order type rel.
    void
     
    void
    setModifiedDate(Date modifiedDate)
    Sets the modified date of this commerce discount order type rel.
    void
    setMvccVersion(long mvccVersion)
    Sets the mvcc version of this commerce discount order type rel.
    void
    setPrimaryKey(long primaryKey)
    Sets the primary key of this commerce discount order type rel.
    void
    setPriority(int priority)
    Sets the priority of this commerce discount order type rel.
    void
    setUserId(long userId)
    Sets the user ID of this commerce discount order type rel.
    void
    setUserName(String userName)
    Sets the user name of this commerce discount order type rel.
    void
    setUserUuid(String userUuid)
    Sets the user uuid of this commerce discount order type rel.
    void
    Sets the uuid of this commerce discount order type rel.
     
    wrap(CommerceDiscountOrderTypeRel commerceDiscountOrderTypeRel)
     

    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

    Methods inherited from interface com.liferay.portal.kernel.model.StagedModel

    clone
  • Constructor Details

    • CommerceDiscountOrderTypeRelWrapper

      public CommerceDiscountOrderTypeRelWrapper(CommerceDiscountOrderTypeRel commerceDiscountOrderTypeRel)
  • Method Details

    • getModelAttributes

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

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

      public CommerceDiscountOrderTypeRel cloneWithOriginalValues()
      Specified by:
      cloneWithOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<CommerceDiscountOrderTypeRel>
      Specified by:
      cloneWithOriginalValues in interface CommerceDiscountOrderTypeRelModel
    • getCommerceDiscount

      public CommerceDiscount getCommerceDiscount() throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getCommerceDiscount in interface CommerceDiscountOrderTypeRel
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCommerceDiscountId

      public long getCommerceDiscountId()
      Returns the commerce discount ID of this commerce discount order type rel.
      Specified by:
      getCommerceDiscountId in interface CommerceDiscountOrderTypeRelModel
      Returns:
      the commerce discount ID of this commerce discount order type rel
    • getCommerceDiscountOrderTypeRelId

      public long getCommerceDiscountOrderTypeRelId()
      Returns the commerce discount order type rel ID of this commerce discount order type rel.
      Specified by:
      getCommerceDiscountOrderTypeRelId in interface CommerceDiscountOrderTypeRelModel
      Returns:
      the commerce discount order type rel ID of this commerce discount order type rel
    • getCommerceOrderTypeId

      public long getCommerceOrderTypeId()
      Returns the commerce order type ID of this commerce discount order type rel.
      Specified by:
      getCommerceOrderTypeId in interface CommerceDiscountOrderTypeRelModel
      Returns:
      the commerce order type ID of this commerce discount order type rel
    • getCompanyId

      public long getCompanyId()
      Returns the company ID of this commerce discount order type rel.
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getCompanyId in interface CommerceDiscountOrderTypeRelModel
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the company ID of this commerce discount order type rel
    • getCreateDate

      public Date getCreateDate()
      Returns the create date of this commerce discount order type rel.
      Specified by:
      getCreateDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getCreateDate in interface CommerceDiscountOrderTypeRelModel
      Specified by:
      getCreateDate in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the create date of this commerce discount order type rel
    • getLastPublishDate

      public Date getLastPublishDate()
      Returns the last publish date of this commerce discount order type rel.
      Specified by:
      getLastPublishDate in interface CommerceDiscountOrderTypeRelModel
      Returns:
      the last publish date of this commerce discount order type rel
    • getModifiedDate

      public Date getModifiedDate()
      Returns the modified date of this commerce discount order type rel.
      Specified by:
      getModifiedDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getModifiedDate in interface CommerceDiscountOrderTypeRelModel
      Specified by:
      getModifiedDate in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the modified date of this commerce discount order type rel
    • getMvccVersion

      public long getMvccVersion()
      Returns the mvcc version of this commerce discount order type rel.
      Specified by:
      getMvccVersion in interface CommerceDiscountOrderTypeRelModel
      Specified by:
      getMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel
      Returns:
      the mvcc version of this commerce discount order type rel
    • getPrimaryKey

      public long getPrimaryKey()
      Returns the primary key of this commerce discount order type rel.
      Specified by:
      getPrimaryKey in interface CommerceDiscountOrderTypeRelModel
      Returns:
      the primary key of this commerce discount order type rel
    • getPriority

      public int getPriority()
      Returns the priority of this commerce discount order type rel.
      Specified by:
      getPriority in interface CommerceDiscountOrderTypeRelModel
      Returns:
      the priority of this commerce discount order type rel
    • getUserId

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

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

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

      public String getUuid()
      Returns the uuid of this commerce discount order type rel.
      Specified by:
      getUuid in interface CommerceDiscountOrderTypeRelModel
      Specified by:
      getUuid in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the uuid of this commerce discount order type rel
    • persist

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

      public void setCommerceDiscountId(long commerceDiscountId)
      Sets the commerce discount ID of this commerce discount order type rel.
      Specified by:
      setCommerceDiscountId in interface CommerceDiscountOrderTypeRelModel
      Parameters:
      commerceDiscountId - the commerce discount ID of this commerce discount order type rel
    • setCommerceDiscountOrderTypeRelId

      public void setCommerceDiscountOrderTypeRelId(long commerceDiscountOrderTypeRelId)
      Sets the commerce discount order type rel ID of this commerce discount order type rel.
      Specified by:
      setCommerceDiscountOrderTypeRelId in interface CommerceDiscountOrderTypeRelModel
      Parameters:
      commerceDiscountOrderTypeRelId - the commerce discount order type rel ID of this commerce discount order type rel
    • setCommerceOrderTypeId

      public void setCommerceOrderTypeId(long commerceOrderTypeId)
      Sets the commerce order type ID of this commerce discount order type rel.
      Specified by:
      setCommerceOrderTypeId in interface CommerceDiscountOrderTypeRelModel
      Parameters:
      commerceOrderTypeId - the commerce order type ID of this commerce discount order type rel
    • setCompanyId

      public void setCompanyId(long companyId)
      Sets the company ID of this commerce discount order type rel.
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setCompanyId in interface CommerceDiscountOrderTypeRelModel
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.StagedModel
      Parameters:
      companyId - the company ID of this commerce discount order type rel
    • setCreateDate

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

      public void setLastPublishDate(Date lastPublishDate)
      Sets the last publish date of this commerce discount order type rel.
      Specified by:
      setLastPublishDate in interface CommerceDiscountOrderTypeRelModel
      Parameters:
      lastPublishDate - the last publish date of this commerce discount order type rel
    • setModifiedDate

      public void setModifiedDate(Date modifiedDate)
      Sets the modified date of this commerce discount order type rel.
      Specified by:
      setModifiedDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setModifiedDate in interface CommerceDiscountOrderTypeRelModel
      Specified by:
      setModifiedDate in interface com.liferay.portal.kernel.model.StagedModel
      Parameters:
      modifiedDate - the modified date of this commerce discount order type rel
    • setMvccVersion

      public void setMvccVersion(long mvccVersion)
      Sets the mvcc version of this commerce discount order type rel.
      Specified by:
      setMvccVersion in interface CommerceDiscountOrderTypeRelModel
      Specified by:
      setMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel
      Parameters:
      mvccVersion - the mvcc version of this commerce discount order type rel
    • setPrimaryKey

      public void setPrimaryKey(long primaryKey)
      Sets the primary key of this commerce discount order type rel.
      Specified by:
      setPrimaryKey in interface CommerceDiscountOrderTypeRelModel
      Parameters:
      primaryKey - the primary key of this commerce discount order type rel
    • setPriority

      public void setPriority(int priority)
      Sets the priority of this commerce discount order type rel.
      Specified by:
      setPriority in interface CommerceDiscountOrderTypeRelModel
      Parameters:
      priority - the priority of this commerce discount order type rel
    • setUserId

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

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

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

      public void setUuid(String uuid)
      Sets the uuid of this commerce discount order type rel.
      Specified by:
      setUuid in interface CommerceDiscountOrderTypeRelModel
      Specified by:
      setUuid in interface com.liferay.portal.kernel.model.StagedModel
      Parameters:
      uuid - the uuid of this commerce discount order type rel
    • toXmlString

      public String toXmlString()
      Specified by:
      toXmlString in interface CommerceDiscountOrderTypeRelModel
    • getStagedModelType

      public com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()
      Specified by:
      getStagedModelType in interface com.liferay.portal.kernel.model.StagedModel
    • wrap

      protected CommerceDiscountOrderTypeRelWrapper wrap(CommerceDiscountOrderTypeRel commerceDiscountOrderTypeRel)
      Specified by:
      wrap in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CommerceDiscountOrderTypeRel>