Class CommercePricingClassCPDefinitionRelWrapper

java.lang.Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CommercePricingClassCPDefinitionRel>
com.liferay.commerce.pricing.model.CommercePricingClassCPDefinitionRelWrapper
All Implemented Interfaces:
CommercePricingClassCPDefinitionRel, CommercePricingClassCPDefinitionRelModel, com.liferay.portal.kernel.model.AuditedModel, com.liferay.portal.kernel.model.BaseModel<CommercePricingClassCPDefinitionRel>, com.liferay.portal.kernel.model.change.tracking.CTModel<CommercePricingClassCPDefinitionRel>, com.liferay.portal.kernel.model.ClassedModel, com.liferay.portal.kernel.model.ModelWrapper<CommercePricingClassCPDefinitionRel>, com.liferay.portal.kernel.model.MVCCModel, com.liferay.portal.kernel.model.PersistedModel, com.liferay.portal.kernel.model.ShardedModel, Serializable, Cloneable, Comparable<CommercePricingClassCPDefinitionRel>

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

This class is a wrapper for CommercePricingClassCPDefinitionRel.

See Also:
Generated:
  • Constructor Details

  • Method Details

    • getModelAttributes

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

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

      public CommercePricingClassCPDefinitionRel cloneWithOriginalValues()
      Specified by:
      cloneWithOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<CommercePricingClassCPDefinitionRel>
      Specified by:
      cloneWithOriginalValues in interface CommercePricingClassCPDefinitionRelModel
    • getCommercePricingClass

      public CommercePricingClass getCommercePricingClass() throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getCommercePricingClass in interface CommercePricingClassCPDefinitionRel
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCommercePricingClassCPDefinitionRelId

      public long getCommercePricingClassCPDefinitionRelId()
      Returns the commerce pricing class cp definition rel ID of this commerce pricing class cp definition rel.
      Specified by:
      getCommercePricingClassCPDefinitionRelId in interface CommercePricingClassCPDefinitionRelModel
      Returns:
      the commerce pricing class cp definition rel ID of this commerce pricing class cp definition rel
    • getCommercePricingClassId

      public long getCommercePricingClassId()
      Returns the commerce pricing class ID of this commerce pricing class cp definition rel.
      Specified by:
      getCommercePricingClassId in interface CommercePricingClassCPDefinitionRelModel
      Returns:
      the commerce pricing class ID of this commerce pricing class cp definition rel
    • getCompanyId

      public long getCompanyId()
      Returns the company ID of this commerce pricing class cp definition rel.
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getCompanyId in interface CommercePricingClassCPDefinitionRelModel
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
      Returns:
      the company ID of this commerce pricing class cp definition rel
    • getCPDefinitionId

      public long getCPDefinitionId()
      Returns the cp definition ID of this commerce pricing class cp definition rel.
      Specified by:
      getCPDefinitionId in interface CommercePricingClassCPDefinitionRelModel
      Returns:
      the cp definition ID of this commerce pricing class cp definition rel
    • getCreateDate

      public Date getCreateDate()
      Returns the create date of this commerce pricing class cp definition rel.
      Specified by:
      getCreateDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getCreateDate in interface CommercePricingClassCPDefinitionRelModel
      Returns:
      the create date of this commerce pricing class cp definition rel
    • getCtCollectionId

      public long getCtCollectionId()
      Returns the ct collection ID of this commerce pricing class cp definition rel.
      Specified by:
      getCtCollectionId in interface CommercePricingClassCPDefinitionRelModel
      Specified by:
      getCtCollectionId in interface com.liferay.portal.kernel.model.change.tracking.CTModel<CommercePricingClassCPDefinitionRel>
      Returns:
      the ct collection ID of this commerce pricing class cp definition rel
    • getModifiedDate

      public Date getModifiedDate()
      Returns the modified date of this commerce pricing class cp definition rel.
      Specified by:
      getModifiedDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getModifiedDate in interface CommercePricingClassCPDefinitionRelModel
      Returns:
      the modified date of this commerce pricing class cp definition rel
    • getMvccVersion

      public long getMvccVersion()
      Returns the mvcc version of this commerce pricing class cp definition rel.
      Specified by:
      getMvccVersion in interface CommercePricingClassCPDefinitionRelModel
      Specified by:
      getMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel
      Returns:
      the mvcc version of this commerce pricing class cp definition rel
    • getPrimaryKey

      public long getPrimaryKey()
      Returns the primary key of this commerce pricing class cp definition rel.
      Specified by:
      getPrimaryKey in interface CommercePricingClassCPDefinitionRelModel
      Specified by:
      getPrimaryKey in interface com.liferay.portal.kernel.model.change.tracking.CTModel<CommercePricingClassCPDefinitionRel>
      Returns:
      the primary key of this commerce pricing class cp definition rel
    • getUserId

      public long getUserId()
      Returns the user ID of this commerce pricing class cp definition rel.
      Specified by:
      getUserId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getUserId in interface CommercePricingClassCPDefinitionRelModel
      Returns:
      the user ID of this commerce pricing class cp definition rel
    • getUserName

      public String getUserName()
      Returns the user name of this commerce pricing class cp definition rel.
      Specified by:
      getUserName in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getUserName in interface CommercePricingClassCPDefinitionRelModel
      Returns:
      the user name of this commerce pricing class cp definition rel
    • getUserUuid

      public String getUserUuid()
      Returns the user uuid of this commerce pricing class cp definition rel.
      Specified by:
      getUserUuid in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getUserUuid in interface CommercePricingClassCPDefinitionRelModel
      Returns:
      the user uuid of this commerce pricing class cp definition rel
    • persist

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

      public void setCommercePricingClassCPDefinitionRelId(long CommercePricingClassCPDefinitionRelId)
      Sets the commerce pricing class cp definition rel ID of this commerce pricing class cp definition rel.
      Specified by:
      setCommercePricingClassCPDefinitionRelId in interface CommercePricingClassCPDefinitionRelModel
      Parameters:
      CommercePricingClassCPDefinitionRelId - the commerce pricing class cp definition rel ID of this commerce pricing class cp definition rel
    • setCommercePricingClassId

      public void setCommercePricingClassId(long commercePricingClassId)
      Sets the commerce pricing class ID of this commerce pricing class cp definition rel.
      Specified by:
      setCommercePricingClassId in interface CommercePricingClassCPDefinitionRelModel
      Parameters:
      commercePricingClassId - the commerce pricing class ID of this commerce pricing class cp definition rel
    • setCompanyId

      public void setCompanyId(long companyId)
      Sets the company ID of this commerce pricing class cp definition rel.
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setCompanyId in interface CommercePricingClassCPDefinitionRelModel
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
      Parameters:
      companyId - the company ID of this commerce pricing class cp definition rel
    • setCPDefinitionId

      public void setCPDefinitionId(long CPDefinitionId)
      Sets the cp definition ID of this commerce pricing class cp definition rel.
      Specified by:
      setCPDefinitionId in interface CommercePricingClassCPDefinitionRelModel
      Parameters:
      CPDefinitionId - the cp definition ID of this commerce pricing class cp definition rel
    • setCreateDate

      public void setCreateDate(Date createDate)
      Sets the create date of this commerce pricing class cp definition rel.
      Specified by:
      setCreateDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setCreateDate in interface CommercePricingClassCPDefinitionRelModel
      Parameters:
      createDate - the create date of this commerce pricing class cp definition rel
    • setCtCollectionId

      public void setCtCollectionId(long ctCollectionId)
      Sets the ct collection ID of this commerce pricing class cp definition rel.
      Specified by:
      setCtCollectionId in interface CommercePricingClassCPDefinitionRelModel
      Specified by:
      setCtCollectionId in interface com.liferay.portal.kernel.model.change.tracking.CTModel<CommercePricingClassCPDefinitionRel>
      Parameters:
      ctCollectionId - the ct collection ID of this commerce pricing class cp definition rel
    • setModifiedDate

      public void setModifiedDate(Date modifiedDate)
      Sets the modified date of this commerce pricing class cp definition rel.
      Specified by:
      setModifiedDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setModifiedDate in interface CommercePricingClassCPDefinitionRelModel
      Parameters:
      modifiedDate - the modified date of this commerce pricing class cp definition rel
    • setMvccVersion

      public void setMvccVersion(long mvccVersion)
      Sets the mvcc version of this commerce pricing class cp definition rel.
      Specified by:
      setMvccVersion in interface CommercePricingClassCPDefinitionRelModel
      Specified by:
      setMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel
      Parameters:
      mvccVersion - the mvcc version of this commerce pricing class cp definition rel
    • setPrimaryKey

      public void setPrimaryKey(long primaryKey)
      Sets the primary key of this commerce pricing class cp definition rel.
      Specified by:
      setPrimaryKey in interface CommercePricingClassCPDefinitionRelModel
      Specified by:
      setPrimaryKey in interface com.liferay.portal.kernel.model.change.tracking.CTModel<CommercePricingClassCPDefinitionRel>
      Parameters:
      primaryKey - the primary key of this commerce pricing class cp definition rel
    • setUserId

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

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

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

      public String toXmlString()
      Specified by:
      toXmlString in interface CommercePricingClassCPDefinitionRelModel
    • getAttributeGetterFunctions

      public Map<String,Function<CommercePricingClassCPDefinitionRel,Object>> getAttributeGetterFunctions()
      Specified by:
      getAttributeGetterFunctions in interface com.liferay.portal.kernel.model.BaseModel<CommercePricingClassCPDefinitionRel>
    • getAttributeSetterBiConsumers

      public Map<String,BiConsumer<CommercePricingClassCPDefinitionRel,Object>> getAttributeSetterBiConsumers()
      Specified by:
      getAttributeSetterBiConsumers in interface com.liferay.portal.kernel.model.BaseModel<CommercePricingClassCPDefinitionRel>
    • wrap

      protected CommercePricingClassCPDefinitionRelWrapper wrap(CommercePricingClassCPDefinitionRel commercePricingClassCPDefinitionRel)
      Specified by:
      wrap in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CommercePricingClassCPDefinitionRel>