Class CommerceTaxFixedRateWrapper

java.lang.Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CommerceTaxFixedRate>
com.liferay.commerce.tax.engine.fixed.model.CommerceTaxFixedRateWrapper
All Implemented Interfaces:
CommerceTaxFixedRate, CommerceTaxFixedRateModel, com.liferay.portal.kernel.model.AuditedModel, com.liferay.portal.kernel.model.BaseModel<CommerceTaxFixedRate>, com.liferay.portal.kernel.model.ClassedModel, com.liferay.portal.kernel.model.GroupedModel, com.liferay.portal.kernel.model.ModelWrapper<CommerceTaxFixedRate>, com.liferay.portal.kernel.model.MVCCModel, com.liferay.portal.kernel.model.PersistedModel, com.liferay.portal.kernel.model.ShardedModel, Serializable, Cloneable, Comparable<CommerceTaxFixedRate>

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

This class is a wrapper for CommerceTaxFixedRate.

See Also:
Generated:
  • Field Summary

    Fields inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper

    model

    Fields inherited from interface com.liferay.commerce.tax.engine.fixed.model.CommerceTaxFixedRate

    COMMERCE_TAX_FIXED_RATE_ID_ACCESSOR
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    long
    Returns the commerce tax fixed rate ID of this commerce tax fixed rate.
    long
    Returns the commerce tax method ID of this commerce tax fixed rate.
    long
    Returns the company ID of this commerce tax fixed rate.
    com.liferay.commerce.product.model.CPTaxCategory
     
    long
    Returns the cp tax category ID of this commerce tax fixed rate.
    Returns the create date of this commerce tax fixed rate.
    long
    Returns the group ID of this commerce tax fixed rate.
     
    Returns the modified date of this commerce tax fixed rate.
    long
    Returns the mvcc version of this commerce tax fixed rate.
    long
    Returns the primary key of this commerce tax fixed rate.
    double
    Returns the rate of this commerce tax fixed rate.
    long
    Returns the user ID of this commerce tax fixed rate.
    Returns the user name of this commerce tax fixed rate.
    Returns the user uuid of this commerce tax fixed rate.
    void
     
    void
    setCommerceTaxFixedRateId(long commerceTaxFixedRateId)
    Sets the commerce tax fixed rate ID of this commerce tax fixed rate.
    void
    setCommerceTaxMethodId(long commerceTaxMethodId)
    Sets the commerce tax method ID of this commerce tax fixed rate.
    void
    setCompanyId(long companyId)
    Sets the company ID of this commerce tax fixed rate.
    void
    setCPTaxCategoryId(long CPTaxCategoryId)
    Sets the cp tax category ID of this commerce tax fixed rate.
    void
    setCreateDate(Date createDate)
    Sets the create date of this commerce tax fixed rate.
    void
    setGroupId(long groupId)
    Sets the group ID of this commerce tax fixed rate.
    void
     
    void
    setModifiedDate(Date modifiedDate)
    Sets the modified date of this commerce tax fixed rate.
    void
    setMvccVersion(long mvccVersion)
    Sets the mvcc version of this commerce tax fixed rate.
    void
    setPrimaryKey(long primaryKey)
    Sets the primary key of this commerce tax fixed rate.
    void
    setRate(double rate)
    Sets the rate of this commerce tax fixed rate.
    void
    setUserId(long userId)
    Sets the user ID of this commerce tax fixed rate.
    void
    setUserName(String userName)
    Sets the user name of this commerce tax fixed rate.
    void
    setUserUuid(String userUuid)
    Sets the user uuid of this commerce tax fixed rate.
     
    wrap(CommerceTaxFixedRate commerceTaxFixedRate)
     

    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

    • CommerceTaxFixedRateWrapper

      public CommerceTaxFixedRateWrapper(CommerceTaxFixedRate commerceTaxFixedRate)
  • Method Details

    • getModelAttributes

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

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

      public CommerceTaxFixedRate cloneWithOriginalValues()
      Specified by:
      cloneWithOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<CommerceTaxFixedRate>
      Specified by:
      cloneWithOriginalValues in interface CommerceTaxFixedRateModel
    • getCommerceTaxFixedRateId

      public long getCommerceTaxFixedRateId()
      Returns the commerce tax fixed rate ID of this commerce tax fixed rate.
      Specified by:
      getCommerceTaxFixedRateId in interface CommerceTaxFixedRateModel
      Returns:
      the commerce tax fixed rate ID of this commerce tax fixed rate
    • getCommerceTaxMethodId

      public long getCommerceTaxMethodId()
      Returns the commerce tax method ID of this commerce tax fixed rate.
      Specified by:
      getCommerceTaxMethodId in interface CommerceTaxFixedRateModel
      Returns:
      the commerce tax method ID of this commerce tax fixed rate
    • getCompanyId

      public long getCompanyId()
      Returns the company ID of this commerce tax fixed rate.
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getCompanyId in interface CommerceTaxFixedRateModel
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
      Returns:
      the company ID of this commerce tax fixed rate
    • getCPTaxCategory

      public com.liferay.commerce.product.model.CPTaxCategory getCPTaxCategory() throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getCPTaxCategory in interface CommerceTaxFixedRate
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCPTaxCategoryId

      public long getCPTaxCategoryId()
      Returns the cp tax category ID of this commerce tax fixed rate.
      Specified by:
      getCPTaxCategoryId in interface CommerceTaxFixedRateModel
      Returns:
      the cp tax category ID of this commerce tax fixed rate
    • getCreateDate

      public Date getCreateDate()
      Returns the create date of this commerce tax fixed rate.
      Specified by:
      getCreateDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getCreateDate in interface CommerceTaxFixedRateModel
      Returns:
      the create date of this commerce tax fixed rate
    • getGroupId

      public long getGroupId()
      Returns the group ID of this commerce tax fixed rate.
      Specified by:
      getGroupId in interface CommerceTaxFixedRateModel
      Specified by:
      getGroupId in interface com.liferay.portal.kernel.model.GroupedModel
      Returns:
      the group ID of this commerce tax fixed rate
    • getModifiedDate

      public Date getModifiedDate()
      Returns the modified date of this commerce tax fixed rate.
      Specified by:
      getModifiedDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getModifiedDate in interface CommerceTaxFixedRateModel
      Returns:
      the modified date of this commerce tax fixed rate
    • getMvccVersion

      public long getMvccVersion()
      Returns the mvcc version of this commerce tax fixed rate.
      Specified by:
      getMvccVersion in interface CommerceTaxFixedRateModel
      Specified by:
      getMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel
      Returns:
      the mvcc version of this commerce tax fixed rate
    • getPrimaryKey

      public long getPrimaryKey()
      Returns the primary key of this commerce tax fixed rate.
      Specified by:
      getPrimaryKey in interface CommerceTaxFixedRateModel
      Returns:
      the primary key of this commerce tax fixed rate
    • getRate

      public double getRate()
      Returns the rate of this commerce tax fixed rate.
      Specified by:
      getRate in interface CommerceTaxFixedRateModel
      Returns:
      the rate of this commerce tax fixed rate
    • getUserId

      public long getUserId()
      Returns the user ID of this commerce tax fixed rate.
      Specified by:
      getUserId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getUserId in interface CommerceTaxFixedRateModel
      Returns:
      the user ID of this commerce tax fixed rate
    • getUserName

      public String getUserName()
      Returns the user name of this commerce tax fixed rate.
      Specified by:
      getUserName in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getUserName in interface CommerceTaxFixedRateModel
      Returns:
      the user name of this commerce tax fixed rate
    • getUserUuid

      public String getUserUuid()
      Returns the user uuid of this commerce tax fixed rate.
      Specified by:
      getUserUuid in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getUserUuid in interface CommerceTaxFixedRateModel
      Returns:
      the user uuid of this commerce tax fixed rate
    • persist

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

      public void setCommerceTaxFixedRateId(long commerceTaxFixedRateId)
      Sets the commerce tax fixed rate ID of this commerce tax fixed rate.
      Specified by:
      setCommerceTaxFixedRateId in interface CommerceTaxFixedRateModel
      Parameters:
      commerceTaxFixedRateId - the commerce tax fixed rate ID of this commerce tax fixed rate
    • setCommerceTaxMethodId

      public void setCommerceTaxMethodId(long commerceTaxMethodId)
      Sets the commerce tax method ID of this commerce tax fixed rate.
      Specified by:
      setCommerceTaxMethodId in interface CommerceTaxFixedRateModel
      Parameters:
      commerceTaxMethodId - the commerce tax method ID of this commerce tax fixed rate
    • setCompanyId

      public void setCompanyId(long companyId)
      Sets the company ID of this commerce tax fixed rate.
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setCompanyId in interface CommerceTaxFixedRateModel
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
      Parameters:
      companyId - the company ID of this commerce tax fixed rate
    • setCPTaxCategoryId

      public void setCPTaxCategoryId(long CPTaxCategoryId)
      Sets the cp tax category ID of this commerce tax fixed rate.
      Specified by:
      setCPTaxCategoryId in interface CommerceTaxFixedRateModel
      Parameters:
      CPTaxCategoryId - the cp tax category ID of this commerce tax fixed rate
    • setCreateDate

      public void setCreateDate(Date createDate)
      Sets the create date of this commerce tax fixed rate.
      Specified by:
      setCreateDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setCreateDate in interface CommerceTaxFixedRateModel
      Parameters:
      createDate - the create date of this commerce tax fixed rate
    • setGroupId

      public void setGroupId(long groupId)
      Sets the group ID of this commerce tax fixed rate.
      Specified by:
      setGroupId in interface CommerceTaxFixedRateModel
      Specified by:
      setGroupId in interface com.liferay.portal.kernel.model.GroupedModel
      Parameters:
      groupId - the group ID of this commerce tax fixed rate
    • setModifiedDate

      public void setModifiedDate(Date modifiedDate)
      Sets the modified date of this commerce tax fixed rate.
      Specified by:
      setModifiedDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setModifiedDate in interface CommerceTaxFixedRateModel
      Parameters:
      modifiedDate - the modified date of this commerce tax fixed rate
    • setMvccVersion

      public void setMvccVersion(long mvccVersion)
      Sets the mvcc version of this commerce tax fixed rate.
      Specified by:
      setMvccVersion in interface CommerceTaxFixedRateModel
      Specified by:
      setMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel
      Parameters:
      mvccVersion - the mvcc version of this commerce tax fixed rate
    • setPrimaryKey

      public void setPrimaryKey(long primaryKey)
      Sets the primary key of this commerce tax fixed rate.
      Specified by:
      setPrimaryKey in interface CommerceTaxFixedRateModel
      Parameters:
      primaryKey - the primary key of this commerce tax fixed rate
    • setRate

      public void setRate(double rate)
      Sets the rate of this commerce tax fixed rate.
      Specified by:
      setRate in interface CommerceTaxFixedRateModel
      Parameters:
      rate - the rate of this commerce tax fixed rate
    • setUserId

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

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

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

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

      protected CommerceTaxFixedRateWrapper wrap(CommerceTaxFixedRate commerceTaxFixedRate)
      Specified by:
      wrap in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CommerceTaxFixedRate>