Class CPInstanceUnitOfMeasureWrapper
java.lang.Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CPInstanceUnitOfMeasure>
com.liferay.commerce.product.model.CPInstanceUnitOfMeasureWrapper
- All Implemented Interfaces:
CPInstanceUnitOfMeasure
,CPInstanceUnitOfMeasureModel
,com.liferay.portal.kernel.model.AuditedModel
,com.liferay.portal.kernel.model.BaseModel<CPInstanceUnitOfMeasure>
,com.liferay.portal.kernel.model.change.tracking.CTModel<CPInstanceUnitOfMeasure>
,com.liferay.portal.kernel.model.ClassedModel
,com.liferay.portal.kernel.model.LocalizedModel
,com.liferay.portal.kernel.model.ModelWrapper<CPInstanceUnitOfMeasure>
,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<CPInstanceUnitOfMeasure>
public class CPInstanceUnitOfMeasureWrapper
extends com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CPInstanceUnitOfMeasure>
implements CPInstanceUnitOfMeasure, com.liferay.portal.kernel.model.ModelWrapper<CPInstanceUnitOfMeasure>
This class is a wrapper for CPInstanceUnitOfMeasure
.
- See Also:
- Generated:
-
Field Summary
Fields inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
model
Fields inherited from interface com.liferay.commerce.product.model.CPInstanceUnitOfMeasure
CP_INSTANCE_UNIT_OF_MEASURE_ID_ACCESSOR
-
Constructor Summary
ConstructorsConstructorDescriptionCPInstanceUnitOfMeasureWrapper
(CPInstanceUnitOfMeasure cpInstanceUnitOfMeasure) -
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns the active of this cp instance unit of measure.String[]
long
Returns the company ID of this cp instance unit of measure.long
Returns the cp instance ID of this cp instance unit of measure.long
Returns the cp instance unit of measure ID of this cp instance unit of measure.Returns the create date of this cp instance unit of measure.long
Returns the ct collection ID of this cp instance unit of measure.Returns the incremental order quantity of this cp instance unit of measure.getKey()
Returns the key of this cp instance unit of measure.Returns the modified date of this cp instance unit of measure.long
Returns the mvcc version of this cp instance unit of measure.getName()
Returns the name of this cp instance unit of measure.Returns the localized name of this cp instance unit of measure in the language.Returns the localized name of this cp instance unit of measure in the language, optionally using the default language if no localization exists for the requested language.Returns the localized name of this cp instance unit of measure in the language.Returns the localized name of this cp instance unit of measure in the language, optionally using the default language if no localization exists for the requested language.Returns a map of the locales and localized names of this cp instance unit of measure.int
Returns the precision of this cp instance unit of measure.Returns the pricing quantity of this cp instance unit of measure.boolean
Returns the primary of this cp instance unit of measure.long
Returns the primary key of this cp instance unit of measure.double
Returns the priority of this cp instance unit of measure.getRate()
Returns the rate of this cp instance unit of measure.getSku()
Returns the sku of this cp instance unit of measure.com.liferay.exportimport.kernel.lar.StagedModelType
long
Returns the user ID of this cp instance unit of measure.Returns the user name of this cp instance unit of measure.Returns the user uuid of this cp instance unit of measure.getUuid()
Returns the uuid of this cp instance unit of measure.boolean
isActive()
Returnstrue
if this cp instance unit of measure is active.boolean
Returnstrue
if this cp instance unit of measure is primary.void
persist()
void
void
prepareLocalizedFieldsForImport
(Locale defaultImportLocale) void
setActive
(boolean active) Sets whether this cp instance unit of measure is active.void
setCompanyId
(long companyId) Sets the company ID of this cp instance unit of measure.void
setCPInstanceId
(long CPInstanceId) Sets the cp instance ID of this cp instance unit of measure.void
setCPInstanceUnitOfMeasureId
(long CPInstanceUnitOfMeasureId) Sets the cp instance unit of measure ID of this cp instance unit of measure.void
setCreateDate
(Date createDate) Sets the create date of this cp instance unit of measure.void
setCtCollectionId
(long ctCollectionId) Sets the ct collection ID of this cp instance unit of measure.void
setIncrementalOrderQuantity
(BigDecimal incrementalOrderQuantity) Sets the incremental order quantity of this cp instance unit of measure.void
Sets the key of this cp instance unit of measure.void
setModelAttributes
(Map<String, Object> attributes) void
setModifiedDate
(Date modifiedDate) Sets the modified date of this cp instance unit of measure.void
setMvccVersion
(long mvccVersion) Sets the mvcc version of this cp instance unit of measure.void
Sets the name of this cp instance unit of measure.void
Sets the localized name of this cp instance unit of measure in the language.void
Sets the localized name of this cp instance unit of measure in the language, and sets the default locale.void
setNameCurrentLanguageId
(String languageId) void
setNameMap
(Map<Locale, String> nameMap) Sets the localized names of this cp instance unit of measure from the map of locales and localized names.void
setNameMap
(Map<Locale, String> nameMap, Locale defaultLocale) Sets the localized names of this cp instance unit of measure from the map of locales and localized names, and sets the default locale.void
setPrecision
(int precision) Sets the precision of this cp instance unit of measure.void
setPricingQuantity
(BigDecimal pricingQuantity) Sets the pricing quantity of this cp instance unit of measure.void
setPrimary
(boolean primary) Sets whether this cp instance unit of measure is primary.void
setPrimaryKey
(long primaryKey) Sets the primary key of this cp instance unit of measure.void
setPriority
(double priority) Sets the priority of this cp instance unit of measure.void
setRate
(BigDecimal rate) Sets the rate of this cp instance unit of measure.void
Sets the sku of this cp instance unit of measure.void
setUserId
(long userId) Sets the user ID of this cp instance unit of measure.void
setUserName
(String userName) Sets the user name of this cp instance unit of measure.void
setUserUuid
(String userUuid) Sets the user uuid of this cp instance unit of measure.void
Sets the uuid of this cp instance unit of measure.protected CPInstanceUnitOfMeasureWrapper
wrap
(CPInstanceUnitOfMeasure cpInstanceUnitOfMeasure) 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, 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
-
CPInstanceUnitOfMeasureWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributes
in interfacecom.liferay.portal.kernel.model.BaseModel<CPInstanceUnitOfMeasure>
-
setModelAttributes
- Specified by:
setModelAttributes
in interfacecom.liferay.portal.kernel.model.BaseModel<CPInstanceUnitOfMeasure>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValues
in interfacecom.liferay.portal.kernel.model.BaseModel<CPInstanceUnitOfMeasure>
- Specified by:
cloneWithOriginalValues
in interfaceCPInstanceUnitOfMeasureModel
-
getActive
public boolean getActive()Returns the active of this cp instance unit of measure.- Specified by:
getActive
in interfaceCPInstanceUnitOfMeasureModel
- Returns:
- the active of this cp instance unit of measure
-
getAvailableLanguageIds
- Specified by:
getAvailableLanguageIds
in interfaceCPInstanceUnitOfMeasureModel
- Specified by:
getAvailableLanguageIds
in interfacecom.liferay.portal.kernel.model.LocalizedModel
-
getCompanyId
public long getCompanyId()Returns the company ID of this cp instance unit of measure.- Specified by:
getCompanyId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getCompanyId
in interfaceCPInstanceUnitOfMeasureModel
- Specified by:
getCompanyId
in interfacecom.liferay.portal.kernel.model.ShardedModel
- Specified by:
getCompanyId
in interfacecom.liferay.portal.kernel.model.StagedModel
- Returns:
- the company ID of this cp instance unit of measure
-
getCPInstanceId
public long getCPInstanceId()Returns the cp instance ID of this cp instance unit of measure.- Specified by:
getCPInstanceId
in interfaceCPInstanceUnitOfMeasureModel
- Returns:
- the cp instance ID of this cp instance unit of measure
-
getCPInstanceUnitOfMeasureId
public long getCPInstanceUnitOfMeasureId()Returns the cp instance unit of measure ID of this cp instance unit of measure.- Specified by:
getCPInstanceUnitOfMeasureId
in interfaceCPInstanceUnitOfMeasureModel
- Returns:
- the cp instance unit of measure ID of this cp instance unit of measure
-
getCreateDate
Returns the create date of this cp instance unit of measure.- Specified by:
getCreateDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getCreateDate
in interfaceCPInstanceUnitOfMeasureModel
- Specified by:
getCreateDate
in interfacecom.liferay.portal.kernel.model.StagedModel
- Returns:
- the create date of this cp instance unit of measure
-
getCtCollectionId
public long getCtCollectionId()Returns the ct collection ID of this cp instance unit of measure.- Specified by:
getCtCollectionId
in interfaceCPInstanceUnitOfMeasureModel
- Specified by:
getCtCollectionId
in interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<CPInstanceUnitOfMeasure>
- Returns:
- the ct collection ID of this cp instance unit of measure
-
getDefaultLanguageId
- Specified by:
getDefaultLanguageId
in interfaceCPInstanceUnitOfMeasureModel
- Specified by:
getDefaultLanguageId
in interfacecom.liferay.portal.kernel.model.LocalizedModel
-
getIncrementalOrderQuantity
Returns the incremental order quantity of this cp instance unit of measure.- Specified by:
getIncrementalOrderQuantity
in interfaceCPInstanceUnitOfMeasureModel
- Returns:
- the incremental order quantity of this cp instance unit of measure
-
getKey
Returns the key of this cp instance unit of measure.- Specified by:
getKey
in interfaceCPInstanceUnitOfMeasureModel
- Returns:
- the key of this cp instance unit of measure
-
getModifiedDate
Returns the modified date of this cp instance unit of measure.- Specified by:
getModifiedDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getModifiedDate
in interfaceCPInstanceUnitOfMeasureModel
- Specified by:
getModifiedDate
in interfacecom.liferay.portal.kernel.model.StagedModel
- Returns:
- the modified date of this cp instance unit of measure
-
getMvccVersion
public long getMvccVersion()Returns the mvcc version of this cp instance unit of measure.- Specified by:
getMvccVersion
in interfaceCPInstanceUnitOfMeasureModel
- Specified by:
getMvccVersion
in interfacecom.liferay.portal.kernel.model.MVCCModel
- Returns:
- the mvcc version of this cp instance unit of measure
-
getName
Returns the name of this cp instance unit of measure.- Specified by:
getName
in interfaceCPInstanceUnitOfMeasureModel
- Returns:
- the name of this cp instance unit of measure
-
getName
Returns the localized name of this cp instance unit of measure in the language. Uses the default language if no localization exists for the requested language.- Specified by:
getName
in interfaceCPInstanceUnitOfMeasureModel
- Parameters:
locale
- the locale of the language- Returns:
- the localized name of this cp instance unit of measure
-
getName
Returns the localized name of this cp instance unit of measure in the language, optionally using the default language if no localization exists for the requested language.- Specified by:
getName
in interfaceCPInstanceUnitOfMeasureModel
- Parameters:
locale
- the local of the languageuseDefault
- whether to use the default language if no localization exists for the requested language- Returns:
- the localized name of this cp instance unit of measure. If
useDefault
isfalse
and no localization exists for the requested language, an empty string will be returned.
-
getName
Returns the localized name of this cp instance unit of measure in the language. Uses the default language if no localization exists for the requested language.- Specified by:
getName
in interfaceCPInstanceUnitOfMeasureModel
- Parameters:
languageId
- the ID of the language- Returns:
- the localized name of this cp instance unit of measure
-
getName
Returns the localized name of this cp instance unit of measure in the language, optionally using the default language if no localization exists for the requested language.- Specified by:
getName
in interfaceCPInstanceUnitOfMeasureModel
- Parameters:
languageId
- the ID of the languageuseDefault
- whether to use the default language if no localization exists for the requested language- Returns:
- the localized name of this cp instance unit of measure
-
getNameCurrentLanguageId
- Specified by:
getNameCurrentLanguageId
in interfaceCPInstanceUnitOfMeasureModel
-
getNameCurrentValue
- Specified by:
getNameCurrentValue
in interfaceCPInstanceUnitOfMeasureModel
-
getNameMap
Returns a map of the locales and localized names of this cp instance unit of measure.- Specified by:
getNameMap
in interfaceCPInstanceUnitOfMeasureModel
- Returns:
- the locales and localized names of this cp instance unit of measure
-
getPrecision
public int getPrecision()Returns the precision of this cp instance unit of measure.- Specified by:
getPrecision
in interfaceCPInstanceUnitOfMeasureModel
- Returns:
- the precision of this cp instance unit of measure
-
getPricingQuantity
Returns the pricing quantity of this cp instance unit of measure.- Specified by:
getPricingQuantity
in interfaceCPInstanceUnitOfMeasureModel
- Returns:
- the pricing quantity of this cp instance unit of measure
-
getPrimary
public boolean getPrimary()Returns the primary of this cp instance unit of measure.- Specified by:
getPrimary
in interfaceCPInstanceUnitOfMeasureModel
- Returns:
- the primary of this cp instance unit of measure
-
getPrimaryKey
public long getPrimaryKey()Returns the primary key of this cp instance unit of measure.- Specified by:
getPrimaryKey
in interfaceCPInstanceUnitOfMeasureModel
- Specified by:
getPrimaryKey
in interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<CPInstanceUnitOfMeasure>
- Returns:
- the primary key of this cp instance unit of measure
-
getPriority
public double getPriority()Returns the priority of this cp instance unit of measure.- Specified by:
getPriority
in interfaceCPInstanceUnitOfMeasureModel
- Returns:
- the priority of this cp instance unit of measure
-
getRate
Returns the rate of this cp instance unit of measure.- Specified by:
getRate
in interfaceCPInstanceUnitOfMeasureModel
- Returns:
- the rate of this cp instance unit of measure
-
getSku
Returns the sku of this cp instance unit of measure.- Specified by:
getSku
in interfaceCPInstanceUnitOfMeasureModel
- Returns:
- the sku of this cp instance unit of measure
-
getUserId
public long getUserId()Returns the user ID of this cp instance unit of measure.- Specified by:
getUserId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getUserId
in interfaceCPInstanceUnitOfMeasureModel
- Returns:
- the user ID of this cp instance unit of measure
-
getUserName
Returns the user name of this cp instance unit of measure.- Specified by:
getUserName
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getUserName
in interfaceCPInstanceUnitOfMeasureModel
- Returns:
- the user name of this cp instance unit of measure
-
getUserUuid
Returns the user uuid of this cp instance unit of measure.- Specified by:
getUserUuid
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getUserUuid
in interfaceCPInstanceUnitOfMeasureModel
- Returns:
- the user uuid of this cp instance unit of measure
-
getUuid
Returns the uuid of this cp instance unit of measure.- Specified by:
getUuid
in interfaceCPInstanceUnitOfMeasureModel
- Specified by:
getUuid
in interfacecom.liferay.portal.kernel.model.StagedModel
- Returns:
- the uuid of this cp instance unit of measure
-
isActive
public boolean isActive()Returnstrue
if this cp instance unit of measure is active.- Specified by:
isActive
in interfaceCPInstanceUnitOfMeasureModel
- Returns:
true
if this cp instance unit of measure is active;false
otherwise
-
isPrimary
public boolean isPrimary()Returnstrue
if this cp instance unit of measure is primary.- Specified by:
isPrimary
in interfaceCPInstanceUnitOfMeasureModel
- Returns:
true
if this cp instance unit of measure is primary;false
otherwise
-
persist
public void persist()- Specified by:
persist
in interfacecom.liferay.portal.kernel.model.PersistedModel
-
prepareLocalizedFieldsForImport
public void prepareLocalizedFieldsForImport() throws com.liferay.portal.kernel.exception.LocaleException- Specified by:
prepareLocalizedFieldsForImport
in interfaceCPInstanceUnitOfMeasureModel
- Specified by:
prepareLocalizedFieldsForImport
in interfacecom.liferay.portal.kernel.model.LocalizedModel
- Throws:
com.liferay.portal.kernel.exception.LocaleException
-
prepareLocalizedFieldsForImport
public void prepareLocalizedFieldsForImport(Locale defaultImportLocale) throws com.liferay.portal.kernel.exception.LocaleException - Specified by:
prepareLocalizedFieldsForImport
in interfaceCPInstanceUnitOfMeasureModel
- Specified by:
prepareLocalizedFieldsForImport
in interfacecom.liferay.portal.kernel.model.LocalizedModel
- Throws:
com.liferay.portal.kernel.exception.LocaleException
-
setActive
public void setActive(boolean active) Sets whether this cp instance unit of measure is active.- Specified by:
setActive
in interfaceCPInstanceUnitOfMeasureModel
- Parameters:
active
- the active of this cp instance unit of measure
-
setCompanyId
public void setCompanyId(long companyId) Sets the company ID of this cp instance unit of measure.- Specified by:
setCompanyId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setCompanyId
in interfaceCPInstanceUnitOfMeasureModel
- Specified by:
setCompanyId
in interfacecom.liferay.portal.kernel.model.ShardedModel
- Specified by:
setCompanyId
in interfacecom.liferay.portal.kernel.model.StagedModel
- Parameters:
companyId
- the company ID of this cp instance unit of measure
-
setCPInstanceId
public void setCPInstanceId(long CPInstanceId) Sets the cp instance ID of this cp instance unit of measure.- Specified by:
setCPInstanceId
in interfaceCPInstanceUnitOfMeasureModel
- Parameters:
CPInstanceId
- the cp instance ID of this cp instance unit of measure
-
setCPInstanceUnitOfMeasureId
public void setCPInstanceUnitOfMeasureId(long CPInstanceUnitOfMeasureId) Sets the cp instance unit of measure ID of this cp instance unit of measure.- Specified by:
setCPInstanceUnitOfMeasureId
in interfaceCPInstanceUnitOfMeasureModel
- Parameters:
CPInstanceUnitOfMeasureId
- the cp instance unit of measure ID of this cp instance unit of measure
-
setCreateDate
Sets the create date of this cp instance unit of measure.- Specified by:
setCreateDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setCreateDate
in interfaceCPInstanceUnitOfMeasureModel
- Specified by:
setCreateDate
in interfacecom.liferay.portal.kernel.model.StagedModel
- Parameters:
createDate
- the create date of this cp instance unit of measure
-
setCtCollectionId
public void setCtCollectionId(long ctCollectionId) Sets the ct collection ID of this cp instance unit of measure.- Specified by:
setCtCollectionId
in interfaceCPInstanceUnitOfMeasureModel
- Specified by:
setCtCollectionId
in interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<CPInstanceUnitOfMeasure>
- Parameters:
ctCollectionId
- the ct collection ID of this cp instance unit of measure
-
setIncrementalOrderQuantity
Sets the incremental order quantity of this cp instance unit of measure.- Specified by:
setIncrementalOrderQuantity
in interfaceCPInstanceUnitOfMeasureModel
- Parameters:
incrementalOrderQuantity
- the incremental order quantity of this cp instance unit of measure
-
setKey
Sets the key of this cp instance unit of measure.- Specified by:
setKey
in interfaceCPInstanceUnitOfMeasureModel
- Parameters:
key
- the key of this cp instance unit of measure
-
setModifiedDate
Sets the modified date of this cp instance unit of measure.- Specified by:
setModifiedDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setModifiedDate
in interfaceCPInstanceUnitOfMeasureModel
- Specified by:
setModifiedDate
in interfacecom.liferay.portal.kernel.model.StagedModel
- Parameters:
modifiedDate
- the modified date of this cp instance unit of measure
-
setMvccVersion
public void setMvccVersion(long mvccVersion) Sets the mvcc version of this cp instance unit of measure.- Specified by:
setMvccVersion
in interfaceCPInstanceUnitOfMeasureModel
- Specified by:
setMvccVersion
in interfacecom.liferay.portal.kernel.model.MVCCModel
- Parameters:
mvccVersion
- the mvcc version of this cp instance unit of measure
-
setName
Sets the name of this cp instance unit of measure.- Specified by:
setName
in interfaceCPInstanceUnitOfMeasureModel
- Parameters:
name
- the name of this cp instance unit of measure
-
setName
Sets the localized name of this cp instance unit of measure in the language.- Specified by:
setName
in interfaceCPInstanceUnitOfMeasureModel
- Parameters:
name
- the localized name of this cp instance unit of measurelocale
- the locale of the language
-
setName
Sets the localized name of this cp instance unit of measure in the language, and sets the default locale.- Specified by:
setName
in interfaceCPInstanceUnitOfMeasureModel
- Parameters:
name
- the localized name of this cp instance unit of measurelocale
- the locale of the languagedefaultLocale
- the default locale
-
setNameCurrentLanguageId
- Specified by:
setNameCurrentLanguageId
in interfaceCPInstanceUnitOfMeasureModel
-
setNameMap
Sets the localized names of this cp instance unit of measure from the map of locales and localized names.- Specified by:
setNameMap
in interfaceCPInstanceUnitOfMeasureModel
- Parameters:
nameMap
- the locales and localized names of this cp instance unit of measure
-
setNameMap
Sets the localized names of this cp instance unit of measure from the map of locales and localized names, and sets the default locale.- Specified by:
setNameMap
in interfaceCPInstanceUnitOfMeasureModel
- Parameters:
nameMap
- the locales and localized names of this cp instance unit of measuredefaultLocale
- the default locale
-
setPrecision
public void setPrecision(int precision) Sets the precision of this cp instance unit of measure.- Specified by:
setPrecision
in interfaceCPInstanceUnitOfMeasureModel
- Parameters:
precision
- the precision of this cp instance unit of measure
-
setPricingQuantity
Sets the pricing quantity of this cp instance unit of measure.- Specified by:
setPricingQuantity
in interfaceCPInstanceUnitOfMeasureModel
- Parameters:
pricingQuantity
- the pricing quantity of this cp instance unit of measure
-
setPrimary
public void setPrimary(boolean primary) Sets whether this cp instance unit of measure is primary.- Specified by:
setPrimary
in interfaceCPInstanceUnitOfMeasureModel
- Parameters:
primary
- the primary of this cp instance unit of measure
-
setPrimaryKey
public void setPrimaryKey(long primaryKey) Sets the primary key of this cp instance unit of measure.- Specified by:
setPrimaryKey
in interfaceCPInstanceUnitOfMeasureModel
- Specified by:
setPrimaryKey
in interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<CPInstanceUnitOfMeasure>
- Parameters:
primaryKey
- the primary key of this cp instance unit of measure
-
setPriority
public void setPriority(double priority) Sets the priority of this cp instance unit of measure.- Specified by:
setPriority
in interfaceCPInstanceUnitOfMeasureModel
- Parameters:
priority
- the priority of this cp instance unit of measure
-
setRate
Sets the rate of this cp instance unit of measure.- Specified by:
setRate
in interfaceCPInstanceUnitOfMeasureModel
- Parameters:
rate
- the rate of this cp instance unit of measure
-
setSku
Sets the sku of this cp instance unit of measure.- Specified by:
setSku
in interfaceCPInstanceUnitOfMeasureModel
- Parameters:
sku
- the sku of this cp instance unit of measure
-
setUserId
public void setUserId(long userId) Sets the user ID of this cp instance unit of measure.- Specified by:
setUserId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setUserId
in interfaceCPInstanceUnitOfMeasureModel
- Parameters:
userId
- the user ID of this cp instance unit of measure
-
setUserName
Sets the user name of this cp instance unit of measure.- Specified by:
setUserName
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setUserName
in interfaceCPInstanceUnitOfMeasureModel
- Parameters:
userName
- the user name of this cp instance unit of measure
-
setUserUuid
Sets the user uuid of this cp instance unit of measure.- Specified by:
setUserUuid
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setUserUuid
in interfaceCPInstanceUnitOfMeasureModel
- Parameters:
userUuid
- the user uuid of this cp instance unit of measure
-
setUuid
Sets the uuid of this cp instance unit of measure.- Specified by:
setUuid
in interfaceCPInstanceUnitOfMeasureModel
- Specified by:
setUuid
in interfacecom.liferay.portal.kernel.model.StagedModel
- Parameters:
uuid
- the uuid of this cp instance unit of measure
-
toXmlString
- Specified by:
toXmlString
in interfaceCPInstanceUnitOfMeasureModel
-
getAttributeGetterFunctions
- Specified by:
getAttributeGetterFunctions
in interfacecom.liferay.portal.kernel.model.BaseModel<CPInstanceUnitOfMeasure>
-
getAttributeSetterBiConsumers
- Specified by:
getAttributeSetterBiConsumers
in interfacecom.liferay.portal.kernel.model.BaseModel<CPInstanceUnitOfMeasure>
-
getStagedModelType
public com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()- Specified by:
getStagedModelType
in interfacecom.liferay.portal.kernel.model.StagedModel
-
wrap
- Specified by:
wrap
in classcom.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CPInstanceUnitOfMeasure>
-