Class CPDefinitionOptionValueRelWrapper
java.lang.Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CPDefinitionOptionValueRel>
com.liferay.commerce.product.model.CPDefinitionOptionValueRelWrapper
- All Implemented Interfaces:
CPDefinitionOptionValueRel
,CPDefinitionOptionValueRelModel
,com.liferay.portal.kernel.model.AuditedModel
,com.liferay.portal.kernel.model.BaseModel<CPDefinitionOptionValueRel>
,com.liferay.portal.kernel.model.change.tracking.CTModel<CPDefinitionOptionValueRel>
,com.liferay.portal.kernel.model.ClassedModel
,com.liferay.portal.kernel.model.GroupedModel
,com.liferay.portal.kernel.model.LocalizedModel
,com.liferay.portal.kernel.model.ModelWrapper<CPDefinitionOptionValueRel>
,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<CPDefinitionOptionValueRel>
public class CPDefinitionOptionValueRelWrapper
extends com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CPDefinitionOptionValueRel>
implements CPDefinitionOptionValueRel, com.liferay.portal.kernel.model.ModelWrapper<CPDefinitionOptionValueRel>
This class is a wrapper for CPDefinitionOptionValueRel
.
- 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.CPDefinitionOptionValueRel
CP_DEFINITION_OPTION_VALUE_REL_ID_ACCESSOR
-
Constructor Summary
ConstructorsConstructorDescriptionCPDefinitionOptionValueRelWrapper
(CPDefinitionOptionValueRel cpDefinitionOptionValueRel) -
Method Summary
Modifier and TypeMethodDescriptionString[]
long
Returns the company ID of this cp definition option value rel.long
Returns the cp definition option rel ID of this cp definition option value rel.long
Returns the cp definition option value rel ID of this cp definition option value rel.Returns the cp instance uuid of this cp definition option value rel.long
Returns the c product ID of this cp definition option value rel.Returns the create date of this cp definition option value rel.long
Returns the ct collection ID of this cp definition option value rel.long
Returns the group ID of this cp definition option value rel.getKey()
Returns the key of this cp definition option value rel.Returns the modified date of this cp definition option value rel.long
Returns the mvcc version of this cp definition option value rel.getName()
Returns the name of this cp definition option value rel.Returns the localized name of this cp definition option value rel in the language.Returns the localized name of this cp definition option value rel in the language, optionally using the default language if no localization exists for the requested language.Returns the localized name of this cp definition option value rel in the language.Returns the localized name of this cp definition option value rel 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 definition option value rel.boolean
Returns the preselected of this cp definition option value rel.getPrice()
Returns the price of this cp definition option value rel.long
Returns the primary key of this cp definition option value rel.double
Returns the priority of this cp definition option value rel.Returns the quantity of this cp definition option value rel.com.liferay.exportimport.kernel.lar.StagedModelType
Returns the unit of measure key of this cp definition option value rel.long
Returns the user ID of this cp definition option value rel.Returns the user name of this cp definition option value rel.Returns the user uuid of this cp definition option value rel.getUuid()
Returns the uuid of this cp definition option value rel.boolean
Returnstrue
if this cp definition option value rel is preselected.void
persist()
void
void
prepareLocalizedFieldsForImport
(Locale defaultImportLocale) void
setCompanyId
(long companyId) Sets the company ID of this cp definition option value rel.void
setCPDefinitionOptionRelId
(long CPDefinitionOptionRelId) Sets the cp definition option rel ID of this cp definition option value rel.void
setCPDefinitionOptionValueRelId
(long CPDefinitionOptionValueRelId) Sets the cp definition option value rel ID of this cp definition option value rel.void
setCPInstanceUuid
(String CPInstanceUuid) Sets the cp instance uuid of this cp definition option value rel.void
setCProductId
(long CProductId) Sets the c product ID of this cp definition option value rel.void
setCreateDate
(Date createDate) Sets the create date of this cp definition option value rel.void
setCtCollectionId
(long ctCollectionId) Sets the ct collection ID of this cp definition option value rel.void
setGroupId
(long groupId) Sets the group ID of this cp definition option value rel.void
Sets the key of this cp definition option value rel.void
setModelAttributes
(Map<String, Object> attributes) void
setModifiedDate
(Date modifiedDate) Sets the modified date of this cp definition option value rel.void
setMvccVersion
(long mvccVersion) Sets the mvcc version of this cp definition option value rel.void
Sets the name of this cp definition option value rel.void
Sets the localized name of this cp definition option value rel in the language.void
Sets the localized name of this cp definition option value rel 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 definition option value rel from the map of locales and localized names.void
setNameMap
(Map<Locale, String> nameMap, Locale defaultLocale) Sets the localized names of this cp definition option value rel from the map of locales and localized names, and sets the default locale.void
setPreselected
(boolean preselected) Sets whether this cp definition option value rel is preselected.void
setPrice
(BigDecimal price) Sets the price of this cp definition option value rel.void
setPrimaryKey
(long primaryKey) Sets the primary key of this cp definition option value rel.void
setPriority
(double priority) Sets the priority of this cp definition option value rel.void
setQuantity
(BigDecimal quantity) Sets the quantity of this cp definition option value rel.void
setUnitOfMeasureKey
(String unitOfMeasureKey) Sets the unit of measure key of this cp definition option value rel.void
setUserId
(long userId) Sets the user ID of this cp definition option value rel.void
setUserName
(String userName) Sets the user name of this cp definition option value rel.void
setUserUuid
(String userUuid) Sets the user uuid of this cp definition option value rel.void
Sets the uuid of this cp definition option value rel.protected CPDefinitionOptionValueRelWrapper
wrap
(CPDefinitionOptionValueRel cpDefinitionOptionValueRel) 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
-
CPDefinitionOptionValueRelWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributes
in interfacecom.liferay.portal.kernel.model.BaseModel<CPDefinitionOptionValueRel>
-
setModelAttributes
- Specified by:
setModelAttributes
in interfacecom.liferay.portal.kernel.model.BaseModel<CPDefinitionOptionValueRel>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValues
in interfacecom.liferay.portal.kernel.model.BaseModel<CPDefinitionOptionValueRel>
- Specified by:
cloneWithOriginalValues
in interfaceCPDefinitionOptionValueRelModel
-
fetchCPInstance
- Specified by:
fetchCPInstance
in interfaceCPDefinitionOptionValueRel
-
getAvailableLanguageIds
- Specified by:
getAvailableLanguageIds
in interfaceCPDefinitionOptionValueRelModel
- Specified by:
getAvailableLanguageIds
in interfacecom.liferay.portal.kernel.model.LocalizedModel
-
getCompanyId
public long getCompanyId()Returns the company ID of this cp definition option value rel.- Specified by:
getCompanyId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getCompanyId
in interfaceCPDefinitionOptionValueRelModel
- 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 definition option value rel
-
getCPDefinitionOptionRel
public CPDefinitionOptionRel getCPDefinitionOptionRel() throws com.liferay.portal.kernel.exception.PortalException- Specified by:
getCPDefinitionOptionRel
in interfaceCPDefinitionOptionValueRel
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCPDefinitionOptionRelId
public long getCPDefinitionOptionRelId()Returns the cp definition option rel ID of this cp definition option value rel.- Specified by:
getCPDefinitionOptionRelId
in interfaceCPDefinitionOptionValueRelModel
- Returns:
- the cp definition option rel ID of this cp definition option value rel
-
getCPDefinitionOptionValueRelId
public long getCPDefinitionOptionValueRelId()Returns the cp definition option value rel ID of this cp definition option value rel.- Specified by:
getCPDefinitionOptionValueRelId
in interfaceCPDefinitionOptionValueRelModel
- Returns:
- the cp definition option value rel ID of this cp definition option value rel
-
getCPInstanceUuid
Returns the cp instance uuid of this cp definition option value rel.- Specified by:
getCPInstanceUuid
in interfaceCPDefinitionOptionValueRelModel
- Returns:
- the cp instance uuid of this cp definition option value rel
-
getCProductId
public long getCProductId()Returns the c product ID of this cp definition option value rel.- Specified by:
getCProductId
in interfaceCPDefinitionOptionValueRelModel
- Returns:
- the c product ID of this cp definition option value rel
-
getCreateDate
Returns the create date of this cp definition option value rel.- Specified by:
getCreateDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getCreateDate
in interfaceCPDefinitionOptionValueRelModel
- Specified by:
getCreateDate
in interfacecom.liferay.portal.kernel.model.StagedModel
- Returns:
- the create date of this cp definition option value rel
-
getCtCollectionId
public long getCtCollectionId()Returns the ct collection ID of this cp definition option value rel.- Specified by:
getCtCollectionId
in interfaceCPDefinitionOptionValueRelModel
- Specified by:
getCtCollectionId
in interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<CPDefinitionOptionValueRel>
- Returns:
- the ct collection ID of this cp definition option value rel
-
getDefaultLanguageId
- Specified by:
getDefaultLanguageId
in interfaceCPDefinitionOptionValueRelModel
- Specified by:
getDefaultLanguageId
in interfacecom.liferay.portal.kernel.model.LocalizedModel
-
getGroupId
public long getGroupId()Returns the group ID of this cp definition option value rel.- Specified by:
getGroupId
in interfaceCPDefinitionOptionValueRelModel
- Specified by:
getGroupId
in interfacecom.liferay.portal.kernel.model.GroupedModel
- Returns:
- the group ID of this cp definition option value rel
-
getKey
Returns the key of this cp definition option value rel.- Specified by:
getKey
in interfaceCPDefinitionOptionValueRelModel
- Returns:
- the key of this cp definition option value rel
-
getModifiedDate
Returns the modified date of this cp definition option value rel.- Specified by:
getModifiedDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getModifiedDate
in interfaceCPDefinitionOptionValueRelModel
- Specified by:
getModifiedDate
in interfacecom.liferay.portal.kernel.model.StagedModel
- Returns:
- the modified date of this cp definition option value rel
-
getMvccVersion
public long getMvccVersion()Returns the mvcc version of this cp definition option value rel.- Specified by:
getMvccVersion
in interfaceCPDefinitionOptionValueRelModel
- Specified by:
getMvccVersion
in interfacecom.liferay.portal.kernel.model.MVCCModel
- Returns:
- the mvcc version of this cp definition option value rel
-
getName
Returns the name of this cp definition option value rel.- Specified by:
getName
in interfaceCPDefinitionOptionValueRelModel
- Returns:
- the name of this cp definition option value rel
-
getName
Returns the localized name of this cp definition option value rel in the language. Uses the default language if no localization exists for the requested language.- Specified by:
getName
in interfaceCPDefinitionOptionValueRelModel
- Parameters:
locale
- the locale of the language- Returns:
- the localized name of this cp definition option value rel
-
getName
Returns the localized name of this cp definition option value rel in the language, optionally using the default language if no localization exists for the requested language.- Specified by:
getName
in interfaceCPDefinitionOptionValueRelModel
- 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 definition option value rel. 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 definition option value rel in the language. Uses the default language if no localization exists for the requested language.- Specified by:
getName
in interfaceCPDefinitionOptionValueRelModel
- Parameters:
languageId
- the ID of the language- Returns:
- the localized name of this cp definition option value rel
-
getName
Returns the localized name of this cp definition option value rel in the language, optionally using the default language if no localization exists for the requested language.- Specified by:
getName
in interfaceCPDefinitionOptionValueRelModel
- 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 definition option value rel
-
getNameCurrentLanguageId
- Specified by:
getNameCurrentLanguageId
in interfaceCPDefinitionOptionValueRelModel
-
getNameCurrentValue
- Specified by:
getNameCurrentValue
in interfaceCPDefinitionOptionValueRelModel
-
getNameMap
Returns a map of the locales and localized names of this cp definition option value rel.- Specified by:
getNameMap
in interfaceCPDefinitionOptionValueRelModel
- Returns:
- the locales and localized names of this cp definition option value rel
-
getPreselected
public boolean getPreselected()Returns the preselected of this cp definition option value rel.- Specified by:
getPreselected
in interfaceCPDefinitionOptionValueRelModel
- Returns:
- the preselected of this cp definition option value rel
-
getPrice
Returns the price of this cp definition option value rel.- Specified by:
getPrice
in interfaceCPDefinitionOptionValueRelModel
- Returns:
- the price of this cp definition option value rel
-
getPrimaryKey
public long getPrimaryKey()Returns the primary key of this cp definition option value rel.- Specified by:
getPrimaryKey
in interfaceCPDefinitionOptionValueRelModel
- Specified by:
getPrimaryKey
in interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<CPDefinitionOptionValueRel>
- Returns:
- the primary key of this cp definition option value rel
-
getPriority
public double getPriority()Returns the priority of this cp definition option value rel.- Specified by:
getPriority
in interfaceCPDefinitionOptionValueRelModel
- Returns:
- the priority of this cp definition option value rel
-
getQuantity
Returns the quantity of this cp definition option value rel.- Specified by:
getQuantity
in interfaceCPDefinitionOptionValueRelModel
- Returns:
- the quantity of this cp definition option value rel
-
getUnitOfMeasureKey
Returns the unit of measure key of this cp definition option value rel.- Specified by:
getUnitOfMeasureKey
in interfaceCPDefinitionOptionValueRelModel
- Returns:
- the unit of measure key of this cp definition option value rel
-
getUserId
public long getUserId()Returns the user ID of this cp definition option value rel.- Specified by:
getUserId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getUserId
in interfaceCPDefinitionOptionValueRelModel
- Returns:
- the user ID of this cp definition option value rel
-
getUserName
Returns the user name of this cp definition option value rel.- Specified by:
getUserName
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getUserName
in interfaceCPDefinitionOptionValueRelModel
- Returns:
- the user name of this cp definition option value rel
-
getUserUuid
Returns the user uuid of this cp definition option value rel.- Specified by:
getUserUuid
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getUserUuid
in interfaceCPDefinitionOptionValueRelModel
- Returns:
- the user uuid of this cp definition option value rel
-
getUuid
Returns the uuid of this cp definition option value rel.- Specified by:
getUuid
in interfaceCPDefinitionOptionValueRelModel
- Specified by:
getUuid
in interfacecom.liferay.portal.kernel.model.StagedModel
- Returns:
- the uuid of this cp definition option value rel
-
isPreselected
public boolean isPreselected()Returnstrue
if this cp definition option value rel is preselected.- Specified by:
isPreselected
in interfaceCPDefinitionOptionValueRelModel
- Returns:
true
if this cp definition option value rel is preselected;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 interfaceCPDefinitionOptionValueRelModel
- 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 interfaceCPDefinitionOptionValueRelModel
- Specified by:
prepareLocalizedFieldsForImport
in interfacecom.liferay.portal.kernel.model.LocalizedModel
- Throws:
com.liferay.portal.kernel.exception.LocaleException
-
setCompanyId
public void setCompanyId(long companyId) Sets the company ID of this cp definition option value rel.- Specified by:
setCompanyId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setCompanyId
in interfaceCPDefinitionOptionValueRelModel
- 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 definition option value rel
-
setCPDefinitionOptionRelId
public void setCPDefinitionOptionRelId(long CPDefinitionOptionRelId) Sets the cp definition option rel ID of this cp definition option value rel.- Specified by:
setCPDefinitionOptionRelId
in interfaceCPDefinitionOptionValueRelModel
- Parameters:
CPDefinitionOptionRelId
- the cp definition option rel ID of this cp definition option value rel
-
setCPDefinitionOptionValueRelId
public void setCPDefinitionOptionValueRelId(long CPDefinitionOptionValueRelId) Sets the cp definition option value rel ID of this cp definition option value rel.- Specified by:
setCPDefinitionOptionValueRelId
in interfaceCPDefinitionOptionValueRelModel
- Parameters:
CPDefinitionOptionValueRelId
- the cp definition option value rel ID of this cp definition option value rel
-
setCPInstanceUuid
Sets the cp instance uuid of this cp definition option value rel.- Specified by:
setCPInstanceUuid
in interfaceCPDefinitionOptionValueRelModel
- Parameters:
CPInstanceUuid
- the cp instance uuid of this cp definition option value rel
-
setCProductId
public void setCProductId(long CProductId) Sets the c product ID of this cp definition option value rel.- Specified by:
setCProductId
in interfaceCPDefinitionOptionValueRelModel
- Parameters:
CProductId
- the c product ID of this cp definition option value rel
-
setCreateDate
Sets the create date of this cp definition option value rel.- Specified by:
setCreateDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setCreateDate
in interfaceCPDefinitionOptionValueRelModel
- Specified by:
setCreateDate
in interfacecom.liferay.portal.kernel.model.StagedModel
- Parameters:
createDate
- the create date of this cp definition option value rel
-
setCtCollectionId
public void setCtCollectionId(long ctCollectionId) Sets the ct collection ID of this cp definition option value rel.- Specified by:
setCtCollectionId
in interfaceCPDefinitionOptionValueRelModel
- Specified by:
setCtCollectionId
in interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<CPDefinitionOptionValueRel>
- Parameters:
ctCollectionId
- the ct collection ID of this cp definition option value rel
-
setGroupId
public void setGroupId(long groupId) Sets the group ID of this cp definition option value rel.- Specified by:
setGroupId
in interfaceCPDefinitionOptionValueRelModel
- Specified by:
setGroupId
in interfacecom.liferay.portal.kernel.model.GroupedModel
- Parameters:
groupId
- the group ID of this cp definition option value rel
-
setKey
Sets the key of this cp definition option value rel.- Specified by:
setKey
in interfaceCPDefinitionOptionValueRelModel
- Parameters:
key
- the key of this cp definition option value rel
-
setModifiedDate
Sets the modified date of this cp definition option value rel.- Specified by:
setModifiedDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setModifiedDate
in interfaceCPDefinitionOptionValueRelModel
- Specified by:
setModifiedDate
in interfacecom.liferay.portal.kernel.model.StagedModel
- Parameters:
modifiedDate
- the modified date of this cp definition option value rel
-
setMvccVersion
public void setMvccVersion(long mvccVersion) Sets the mvcc version of this cp definition option value rel.- Specified by:
setMvccVersion
in interfaceCPDefinitionOptionValueRelModel
- Specified by:
setMvccVersion
in interfacecom.liferay.portal.kernel.model.MVCCModel
- Parameters:
mvccVersion
- the mvcc version of this cp definition option value rel
-
setName
Sets the name of this cp definition option value rel.- Specified by:
setName
in interfaceCPDefinitionOptionValueRelModel
- Parameters:
name
- the name of this cp definition option value rel
-
setName
Sets the localized name of this cp definition option value rel in the language.- Specified by:
setName
in interfaceCPDefinitionOptionValueRelModel
- Parameters:
name
- the localized name of this cp definition option value rellocale
- the locale of the language
-
setName
Sets the localized name of this cp definition option value rel in the language, and sets the default locale.- Specified by:
setName
in interfaceCPDefinitionOptionValueRelModel
- Parameters:
name
- the localized name of this cp definition option value rellocale
- the locale of the languagedefaultLocale
- the default locale
-
setNameCurrentLanguageId
- Specified by:
setNameCurrentLanguageId
in interfaceCPDefinitionOptionValueRelModel
-
setNameMap
Sets the localized names of this cp definition option value rel from the map of locales and localized names.- Specified by:
setNameMap
in interfaceCPDefinitionOptionValueRelModel
- Parameters:
nameMap
- the locales and localized names of this cp definition option value rel
-
setNameMap
Sets the localized names of this cp definition option value rel from the map of locales and localized names, and sets the default locale.- Specified by:
setNameMap
in interfaceCPDefinitionOptionValueRelModel
- Parameters:
nameMap
- the locales and localized names of this cp definition option value reldefaultLocale
- the default locale
-
setPreselected
public void setPreselected(boolean preselected) Sets whether this cp definition option value rel is preselected.- Specified by:
setPreselected
in interfaceCPDefinitionOptionValueRelModel
- Parameters:
preselected
- the preselected of this cp definition option value rel
-
setPrice
Sets the price of this cp definition option value rel.- Specified by:
setPrice
in interfaceCPDefinitionOptionValueRelModel
- Parameters:
price
- the price of this cp definition option value rel
-
setPrimaryKey
public void setPrimaryKey(long primaryKey) Sets the primary key of this cp definition option value rel.- Specified by:
setPrimaryKey
in interfaceCPDefinitionOptionValueRelModel
- Specified by:
setPrimaryKey
in interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<CPDefinitionOptionValueRel>
- Parameters:
primaryKey
- the primary key of this cp definition option value rel
-
setPriority
public void setPriority(double priority) Sets the priority of this cp definition option value rel.- Specified by:
setPriority
in interfaceCPDefinitionOptionValueRelModel
- Parameters:
priority
- the priority of this cp definition option value rel
-
setQuantity
Sets the quantity of this cp definition option value rel.- Specified by:
setQuantity
in interfaceCPDefinitionOptionValueRelModel
- Parameters:
quantity
- the quantity of this cp definition option value rel
-
setUnitOfMeasureKey
Sets the unit of measure key of this cp definition option value rel.- Specified by:
setUnitOfMeasureKey
in interfaceCPDefinitionOptionValueRelModel
- Parameters:
unitOfMeasureKey
- the unit of measure key of this cp definition option value rel
-
setUserId
public void setUserId(long userId) Sets the user ID of this cp definition option value rel.- Specified by:
setUserId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setUserId
in interfaceCPDefinitionOptionValueRelModel
- Parameters:
userId
- the user ID of this cp definition option value rel
-
setUserName
Sets the user name of this cp definition option value rel.- Specified by:
setUserName
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setUserName
in interfaceCPDefinitionOptionValueRelModel
- Parameters:
userName
- the user name of this cp definition option value rel
-
setUserUuid
Sets the user uuid of this cp definition option value rel.- Specified by:
setUserUuid
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setUserUuid
in interfaceCPDefinitionOptionValueRelModel
- Parameters:
userUuid
- the user uuid of this cp definition option value rel
-
setUuid
Sets the uuid of this cp definition option value rel.- Specified by:
setUuid
in interfaceCPDefinitionOptionValueRelModel
- Specified by:
setUuid
in interfacecom.liferay.portal.kernel.model.StagedModel
- Parameters:
uuid
- the uuid of this cp definition option value rel
-
toXmlString
- Specified by:
toXmlString
in interfaceCPDefinitionOptionValueRelModel
-
getAttributeGetterFunctions
- Specified by:
getAttributeGetterFunctions
in interfacecom.liferay.portal.kernel.model.BaseModel<CPDefinitionOptionValueRel>
-
getAttributeSetterBiConsumers
- Specified by:
getAttributeSetterBiConsumers
in interfacecom.liferay.portal.kernel.model.BaseModel<CPDefinitionOptionValueRel>
-
getStagedModelType
public com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()- Specified by:
getStagedModelType
in interfacecom.liferay.portal.kernel.model.StagedModel
-
wrap
protected CPDefinitionOptionValueRelWrapper wrap(CPDefinitionOptionValueRel cpDefinitionOptionValueRel) - Specified by:
wrap
in classcom.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CPDefinitionOptionValueRel>
-