@ProviderType public interface CPInstanceModel extends com.liferay.portal.kernel.model.BaseModel<CPInstance>, com.liferay.portal.kernel.model.change.tracking.CTModel<CPInstance>, com.liferay.portal.kernel.model.MVCCModel, com.liferay.portal.kernel.model.ShardedModel, com.liferay.portal.kernel.model.StagedGroupedModel, com.liferay.portal.kernel.model.WorkflowedModel
This interface and its corresponding implementation com.liferay.commerce.product.model.impl.CPInstanceModelImpl
exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in com.liferay.commerce.product.model.impl.CPInstanceImpl
.
CPInstance
Modifier and Type | Method and Description |
---|---|
CPInstance |
cloneWithOriginalValues() |
long |
getCompanyId()
Returns the company ID of this cp instance.
|
java.math.BigDecimal |
getCost()
Returns the cost of this cp instance.
|
long |
getCPDefinitionId()
Returns the cp definition ID of this cp instance.
|
long |
getCPInstanceId()
Returns the cp instance ID of this cp instance.
|
java.lang.String |
getCPInstanceUuid()
Returns the cp instance uuid of this cp instance.
|
java.util.Date |
getCreateDate()
Returns the create date of this cp instance.
|
long |
getCtCollectionId()
Returns the ct collection ID of this cp instance.
|
long |
getDeliveryMaxSubscriptionCycles()
Returns the delivery max subscription cycles of this cp instance.
|
boolean |
getDeliverySubscriptionEnabled()
Returns the delivery subscription enabled of this cp instance.
|
int |
getDeliverySubscriptionLength()
Returns the delivery subscription length of this cp instance.
|
java.lang.String |
getDeliverySubscriptionType()
Returns the delivery subscription type of this cp instance.
|
java.lang.String |
getDeliverySubscriptionTypeSettings()
Returns the delivery subscription type settings of this cp instance.
|
double |
getDepth()
Returns the depth of this cp instance.
|
boolean |
getDiscontinued()
Returns the discontinued of this cp instance.
|
java.util.Date |
getDiscontinuedDate()
Returns the discontinued date of this cp instance.
|
java.util.Date |
getDisplayDate()
Returns the display date of this cp instance.
|
java.util.Date |
getExpirationDate()
Returns the expiration date of this cp instance.
|
java.lang.String |
getExternalReferenceCode()
Returns the external reference code of this cp instance.
|
long |
getGroupId()
Returns the group ID of this cp instance.
|
java.lang.String |
getGtin()
Returns the gtin of this cp instance.
|
double |
getHeight()
Returns the height of this cp instance.
|
java.util.Date |
getLastPublishDate()
Returns the last publish date of this cp instance.
|
java.lang.String |
getManufacturerPartNumber()
Returns the manufacturer part number of this cp instance.
|
long |
getMaxSubscriptionCycles()
Returns the max subscription cycles of this cp instance.
|
java.util.Date |
getModifiedDate()
Returns the modified date of this cp instance.
|
long |
getMvccVersion()
Returns the mvcc version of this cp instance.
|
boolean |
getOverrideSubscriptionInfo()
Returns the override subscription info of this cp instance.
|
java.math.BigDecimal |
getPrice()
Returns the price of this cp instance.
|
long |
getPrimaryKey()
Returns the primary key of this cp instance.
|
java.math.BigDecimal |
getPromoPrice()
Returns the promo price of this cp instance.
|
boolean |
getPublished()
Returns the published of this cp instance.
|
boolean |
getPurchasable()
Returns the purchasable of this cp instance.
|
java.lang.String |
getReplacementCPInstanceUuid()
Returns the replacement cp instance uuid of this cp instance.
|
long |
getReplacementCProductId()
Returns the replacement c product ID of this cp instance.
|
java.lang.String |
getSku()
Returns the sku of this cp instance.
|
int |
getStatus()
Returns the status of this cp instance.
|
long |
getStatusByUserId()
Returns the status by user ID of this cp instance.
|
java.lang.String |
getStatusByUserName()
Returns the status by user name of this cp instance.
|
java.lang.String |
getStatusByUserUuid()
Returns the status by user uuid of this cp instance.
|
java.util.Date |
getStatusDate()
Returns the status date of this cp instance.
|
boolean |
getSubscriptionEnabled()
Returns the subscription enabled of this cp instance.
|
int |
getSubscriptionLength()
Returns the subscription length of this cp instance.
|
java.lang.String |
getSubscriptionType()
Returns the subscription type of this cp instance.
|
java.lang.String |
getSubscriptionTypeSettings()
Returns the subscription type settings of this cp instance.
|
java.lang.String |
getUnspsc()
Returns the unspsc of this cp instance.
|
long |
getUserId()
Returns the user ID of this cp instance.
|
java.lang.String |
getUserName()
Returns the user name of this cp instance.
|
java.lang.String |
getUserUuid()
Returns the user uuid of this cp instance.
|
java.lang.String |
getUuid()
Returns the uuid of this cp instance.
|
double |
getWeight()
Returns the weight of this cp instance.
|
double |
getWidth()
Returns the width of this cp instance.
|
boolean |
isApproved()
Returns
true if this cp instance is approved. |
boolean |
isDeliverySubscriptionEnabled()
Returns
true if this cp instance is delivery subscription enabled. |
boolean |
isDenied()
Returns
true if this cp instance is denied. |
boolean |
isDiscontinued()
Returns
true if this cp instance is discontinued. |
boolean |
isDraft()
Returns
true if this cp instance is a draft. |
boolean |
isExpired()
Returns
true if this cp instance is expired. |
boolean |
isInactive()
Returns
true if this cp instance is inactive. |
boolean |
isIncomplete()
Returns
true if this cp instance is incomplete. |
boolean |
isOverrideSubscriptionInfo()
Returns
true if this cp instance is override subscription info. |
boolean |
isPending()
Returns
true if this cp instance is pending. |
boolean |
isPublished()
Returns
true if this cp instance is published. |
boolean |
isPurchasable()
Returns
true if this cp instance is purchasable. |
boolean |
isScheduled()
Returns
true if this cp instance is scheduled. |
boolean |
isSubscriptionEnabled()
Returns
true if this cp instance is subscription enabled. |
void |
setCompanyId(long companyId)
Sets the company ID of this cp instance.
|
void |
setCost(java.math.BigDecimal cost)
Sets the cost of this cp instance.
|
void |
setCPDefinitionId(long CPDefinitionId)
Sets the cp definition ID of this cp instance.
|
void |
setCPInstanceId(long CPInstanceId)
Sets the cp instance ID of this cp instance.
|
void |
setCPInstanceUuid(java.lang.String CPInstanceUuid)
Sets the cp instance uuid of this cp instance.
|
void |
setCreateDate(java.util.Date createDate)
Sets the create date of this cp instance.
|
void |
setCtCollectionId(long ctCollectionId)
Sets the ct collection ID of this cp instance.
|
void |
setDeliveryMaxSubscriptionCycles(long deliveryMaxSubscriptionCycles)
Sets the delivery max subscription cycles of this cp instance.
|
void |
setDeliverySubscriptionEnabled(boolean deliverySubscriptionEnabled)
Sets whether this cp instance is delivery subscription enabled.
|
void |
setDeliverySubscriptionLength(int deliverySubscriptionLength)
Sets the delivery subscription length of this cp instance.
|
void |
setDeliverySubscriptionType(java.lang.String deliverySubscriptionType)
Sets the delivery subscription type of this cp instance.
|
void |
setDeliverySubscriptionTypeSettings(java.lang.String deliverySubscriptionTypeSettings)
Sets the delivery subscription type settings of this cp instance.
|
void |
setDepth(double depth)
Sets the depth of this cp instance.
|
void |
setDiscontinued(boolean discontinued)
Sets whether this cp instance is discontinued.
|
void |
setDiscontinuedDate(java.util.Date discontinuedDate)
Sets the discontinued date of this cp instance.
|
void |
setDisplayDate(java.util.Date displayDate)
Sets the display date of this cp instance.
|
void |
setExpirationDate(java.util.Date expirationDate)
Sets the expiration date of this cp instance.
|
void |
setExternalReferenceCode(java.lang.String externalReferenceCode)
Sets the external reference code of this cp instance.
|
void |
setGroupId(long groupId)
Sets the group ID of this cp instance.
|
void |
setGtin(java.lang.String gtin)
Sets the gtin of this cp instance.
|
void |
setHeight(double height)
Sets the height of this cp instance.
|
void |
setLastPublishDate(java.util.Date lastPublishDate)
Sets the last publish date of this cp instance.
|
void |
setManufacturerPartNumber(java.lang.String manufacturerPartNumber)
Sets the manufacturer part number of this cp instance.
|
void |
setMaxSubscriptionCycles(long maxSubscriptionCycles)
Sets the max subscription cycles of this cp instance.
|
void |
setModifiedDate(java.util.Date modifiedDate)
Sets the modified date of this cp instance.
|
void |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this cp instance.
|
void |
setOverrideSubscriptionInfo(boolean overrideSubscriptionInfo)
Sets whether this cp instance is override subscription info.
|
void |
setPrice(java.math.BigDecimal price)
Sets the price of this cp instance.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this cp instance.
|
void |
setPromoPrice(java.math.BigDecimal promoPrice)
Sets the promo price of this cp instance.
|
void |
setPublished(boolean published)
Sets whether this cp instance is published.
|
void |
setPurchasable(boolean purchasable)
Sets whether this cp instance is purchasable.
|
void |
setReplacementCPInstanceUuid(java.lang.String replacementCPInstanceUuid)
Sets the replacement cp instance uuid of this cp instance.
|
void |
setReplacementCProductId(long replacementCProductId)
Sets the replacement c product ID of this cp instance.
|
void |
setSku(java.lang.String sku)
Sets the sku of this cp instance.
|
void |
setStatus(int status)
Sets the status of this cp instance.
|
void |
setStatusByUserId(long statusByUserId)
Sets the status by user ID of this cp instance.
|
void |
setStatusByUserName(java.lang.String statusByUserName)
Sets the status by user name of this cp instance.
|
void |
setStatusByUserUuid(java.lang.String statusByUserUuid)
Sets the status by user uuid of this cp instance.
|
void |
setStatusDate(java.util.Date statusDate)
Sets the status date of this cp instance.
|
void |
setSubscriptionEnabled(boolean subscriptionEnabled)
Sets whether this cp instance is subscription enabled.
|
void |
setSubscriptionLength(int subscriptionLength)
Sets the subscription length of this cp instance.
|
void |
setSubscriptionType(java.lang.String subscriptionType)
Sets the subscription type of this cp instance.
|
void |
setSubscriptionTypeSettings(java.lang.String subscriptionTypeSettings)
Sets the subscription type settings of this cp instance.
|
void |
setUnspsc(java.lang.String unspsc)
Sets the unspsc of this cp instance.
|
void |
setUserId(long userId)
Sets the user ID of this cp instance.
|
void |
setUserName(java.lang.String userName)
Sets the user name of this cp instance.
|
void |
setUserUuid(java.lang.String userUuid)
Sets the user uuid of this cp instance.
|
void |
setUuid(java.lang.String uuid)
Sets the uuid of this cp instance.
|
void |
setWeight(double weight)
Sets the weight of this cp instance.
|
void |
setWidth(double width)
Sets the width of this cp instance.
|
default java.lang.String |
toXmlString() |
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getModelAttributes, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setModelAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel
long getPrimaryKey()
getPrimaryKey
in interface com.liferay.portal.kernel.model.change.tracking.CTModel<CPInstance>
void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface com.liferay.portal.kernel.model.change.tracking.CTModel<CPInstance>
primaryKey
- the primary key of this cp instancelong getMvccVersion()
getMvccVersion
in interface com.liferay.portal.kernel.model.MVCCModel
void setMvccVersion(long mvccVersion)
setMvccVersion
in interface com.liferay.portal.kernel.model.MVCCModel
mvccVersion
- the mvcc version of this cp instancelong getCtCollectionId()
getCtCollectionId
in interface com.liferay.portal.kernel.model.change.tracking.CTModel<CPInstance>
void setCtCollectionId(long ctCollectionId)
setCtCollectionId
in interface com.liferay.portal.kernel.model.change.tracking.CTModel<CPInstance>
ctCollectionId
- the ct collection ID of this cp instance@AutoEscape java.lang.String getUuid()
getUuid
in interface com.liferay.portal.kernel.model.StagedModel
void setUuid(java.lang.String uuid)
setUuid
in interface com.liferay.portal.kernel.model.StagedModel
uuid
- the uuid of this cp instance@AutoEscape java.lang.String getExternalReferenceCode()
void setExternalReferenceCode(java.lang.String externalReferenceCode)
externalReferenceCode
- the external reference code of this cp instancelong getCPInstanceId()
void setCPInstanceId(long CPInstanceId)
CPInstanceId
- the cp instance ID of this cp instancelong getGroupId()
getGroupId
in interface com.liferay.portal.kernel.model.GroupedModel
void setGroupId(long groupId)
setGroupId
in interface com.liferay.portal.kernel.model.GroupedModel
groupId
- the group ID of this cp instancelong getCompanyId()
getCompanyId
in interface com.liferay.portal.kernel.model.AuditedModel
getCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
getCompanyId
in interface com.liferay.portal.kernel.model.StagedModel
void setCompanyId(long companyId)
setCompanyId
in interface com.liferay.portal.kernel.model.AuditedModel
setCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
setCompanyId
in interface com.liferay.portal.kernel.model.StagedModel
companyId
- the company ID of this cp instancelong getUserId()
getUserId
in interface com.liferay.portal.kernel.model.AuditedModel
void setUserId(long userId)
setUserId
in interface com.liferay.portal.kernel.model.AuditedModel
userId
- the user ID of this cp instancejava.lang.String getUserUuid()
getUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
void setUserUuid(java.lang.String userUuid)
setUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
userUuid
- the user uuid of this cp instance@AutoEscape java.lang.String getUserName()
getUserName
in interface com.liferay.portal.kernel.model.AuditedModel
void setUserName(java.lang.String userName)
setUserName
in interface com.liferay.portal.kernel.model.AuditedModel
userName
- the user name of this cp instancejava.util.Date getCreateDate()
getCreateDate
in interface com.liferay.portal.kernel.model.AuditedModel
getCreateDate
in interface com.liferay.portal.kernel.model.StagedModel
void setCreateDate(java.util.Date createDate)
setCreateDate
in interface com.liferay.portal.kernel.model.AuditedModel
setCreateDate
in interface com.liferay.portal.kernel.model.StagedModel
createDate
- the create date of this cp instancejava.util.Date getModifiedDate()
getModifiedDate
in interface com.liferay.portal.kernel.model.AuditedModel
getModifiedDate
in interface com.liferay.portal.kernel.model.StagedModel
void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate
in interface com.liferay.portal.kernel.model.AuditedModel
setModifiedDate
in interface com.liferay.portal.kernel.model.StagedModel
modifiedDate
- the modified date of this cp instancelong getCPDefinitionId()
void setCPDefinitionId(long CPDefinitionId)
CPDefinitionId
- the cp definition ID of this cp instance@AutoEscape java.lang.String getCPInstanceUuid()
void setCPInstanceUuid(java.lang.String CPInstanceUuid)
CPInstanceUuid
- the cp instance uuid of this cp instance@AutoEscape java.lang.String getSku()
void setSku(java.lang.String sku)
sku
- the sku of this cp instance@AutoEscape java.lang.String getGtin()
void setGtin(java.lang.String gtin)
gtin
- the gtin of this cp instance@AutoEscape java.lang.String getManufacturerPartNumber()
void setManufacturerPartNumber(java.lang.String manufacturerPartNumber)
manufacturerPartNumber
- the manufacturer part number of this cp instanceboolean getPurchasable()
boolean isPurchasable()
true
if this cp instance is purchasable.true
if this cp instance is purchasable; false
otherwisevoid setPurchasable(boolean purchasable)
purchasable
- the purchasable of this cp instancedouble getWidth()
void setWidth(double width)
width
- the width of this cp instancedouble getHeight()
void setHeight(double height)
height
- the height of this cp instancedouble getDepth()
void setDepth(double depth)
depth
- the depth of this cp instancedouble getWeight()
void setWeight(double weight)
weight
- the weight of this cp instancejava.math.BigDecimal getPrice()
void setPrice(java.math.BigDecimal price)
price
- the price of this cp instancejava.math.BigDecimal getPromoPrice()
void setPromoPrice(java.math.BigDecimal promoPrice)
promoPrice
- the promo price of this cp instancejava.math.BigDecimal getCost()
void setCost(java.math.BigDecimal cost)
cost
- the cost of this cp instanceboolean getPublished()
boolean isPublished()
true
if this cp instance is published.true
if this cp instance is published; false
otherwisevoid setPublished(boolean published)
published
- the published of this cp instancejava.util.Date getDisplayDate()
void setDisplayDate(java.util.Date displayDate)
displayDate
- the display date of this cp instancejava.util.Date getExpirationDate()
void setExpirationDate(java.util.Date expirationDate)
expirationDate
- the expiration date of this cp instancejava.util.Date getLastPublishDate()
getLastPublishDate
in interface com.liferay.portal.kernel.model.StagedGroupedModel
void setLastPublishDate(java.util.Date lastPublishDate)
setLastPublishDate
in interface com.liferay.portal.kernel.model.StagedGroupedModel
lastPublishDate
- the last publish date of this cp instanceboolean getOverrideSubscriptionInfo()
boolean isOverrideSubscriptionInfo()
true
if this cp instance is override subscription info.true
if this cp instance is override subscription info; false
otherwisevoid setOverrideSubscriptionInfo(boolean overrideSubscriptionInfo)
overrideSubscriptionInfo
- the override subscription info of this cp instanceboolean getSubscriptionEnabled()
boolean isSubscriptionEnabled()
true
if this cp instance is subscription enabled.true
if this cp instance is subscription enabled; false
otherwisevoid setSubscriptionEnabled(boolean subscriptionEnabled)
subscriptionEnabled
- the subscription enabled of this cp instanceint getSubscriptionLength()
void setSubscriptionLength(int subscriptionLength)
subscriptionLength
- the subscription length of this cp instance@AutoEscape java.lang.String getSubscriptionType()
void setSubscriptionType(java.lang.String subscriptionType)
subscriptionType
- the subscription type of this cp instance@AutoEscape java.lang.String getSubscriptionTypeSettings()
void setSubscriptionTypeSettings(java.lang.String subscriptionTypeSettings)
subscriptionTypeSettings
- the subscription type settings of this cp instancelong getMaxSubscriptionCycles()
void setMaxSubscriptionCycles(long maxSubscriptionCycles)
maxSubscriptionCycles
- the max subscription cycles of this cp instanceboolean getDeliverySubscriptionEnabled()
boolean isDeliverySubscriptionEnabled()
true
if this cp instance is delivery subscription enabled.true
if this cp instance is delivery subscription enabled; false
otherwisevoid setDeliverySubscriptionEnabled(boolean deliverySubscriptionEnabled)
deliverySubscriptionEnabled
- the delivery subscription enabled of this cp instanceint getDeliverySubscriptionLength()
void setDeliverySubscriptionLength(int deliverySubscriptionLength)
deliverySubscriptionLength
- the delivery subscription length of this cp instance@AutoEscape java.lang.String getDeliverySubscriptionType()
void setDeliverySubscriptionType(java.lang.String deliverySubscriptionType)
deliverySubscriptionType
- the delivery subscription type of this cp instance@AutoEscape java.lang.String getDeliverySubscriptionTypeSettings()
void setDeliverySubscriptionTypeSettings(java.lang.String deliverySubscriptionTypeSettings)
deliverySubscriptionTypeSettings
- the delivery subscription type settings of this cp instancelong getDeliveryMaxSubscriptionCycles()
void setDeliveryMaxSubscriptionCycles(long deliveryMaxSubscriptionCycles)
deliveryMaxSubscriptionCycles
- the delivery max subscription cycles of this cp instance@AutoEscape java.lang.String getUnspsc()
void setUnspsc(java.lang.String unspsc)
unspsc
- the unspsc of this cp instanceboolean getDiscontinued()
boolean isDiscontinued()
true
if this cp instance is discontinued.true
if this cp instance is discontinued; false
otherwisevoid setDiscontinued(boolean discontinued)
discontinued
- the discontinued of this cp instancejava.util.Date getDiscontinuedDate()
void setDiscontinuedDate(java.util.Date discontinuedDate)
discontinuedDate
- the discontinued date of this cp instance@AutoEscape java.lang.String getReplacementCPInstanceUuid()
void setReplacementCPInstanceUuid(java.lang.String replacementCPInstanceUuid)
replacementCPInstanceUuid
- the replacement cp instance uuid of this cp instancelong getReplacementCProductId()
void setReplacementCProductId(long replacementCProductId)
replacementCProductId
- the replacement c product ID of this cp instanceint getStatus()
getStatus
in interface com.liferay.portal.kernel.model.WorkflowedModel
void setStatus(int status)
setStatus
in interface com.liferay.portal.kernel.model.WorkflowedModel
status
- the status of this cp instancelong getStatusByUserId()
getStatusByUserId
in interface com.liferay.portal.kernel.model.WorkflowedModel
void setStatusByUserId(long statusByUserId)
setStatusByUserId
in interface com.liferay.portal.kernel.model.WorkflowedModel
statusByUserId
- the status by user ID of this cp instancejava.lang.String getStatusByUserUuid()
getStatusByUserUuid
in interface com.liferay.portal.kernel.model.WorkflowedModel
void setStatusByUserUuid(java.lang.String statusByUserUuid)
setStatusByUserUuid
in interface com.liferay.portal.kernel.model.WorkflowedModel
statusByUserUuid
- the status by user uuid of this cp instance@AutoEscape java.lang.String getStatusByUserName()
getStatusByUserName
in interface com.liferay.portal.kernel.model.WorkflowedModel
void setStatusByUserName(java.lang.String statusByUserName)
setStatusByUserName
in interface com.liferay.portal.kernel.model.WorkflowedModel
statusByUserName
- the status by user name of this cp instancejava.util.Date getStatusDate()
getStatusDate
in interface com.liferay.portal.kernel.model.WorkflowedModel
void setStatusDate(java.util.Date statusDate)
setStatusDate
in interface com.liferay.portal.kernel.model.WorkflowedModel
statusDate
- the status date of this cp instanceboolean isApproved()
true
if this cp instance is approved.isApproved
in interface com.liferay.portal.kernel.model.WorkflowedModel
true
if this cp instance is approved; false
otherwiseboolean isDenied()
true
if this cp instance is denied.isDenied
in interface com.liferay.portal.kernel.model.WorkflowedModel
true
if this cp instance is denied; false
otherwiseboolean isDraft()
true
if this cp instance is a draft.isDraft
in interface com.liferay.portal.kernel.model.WorkflowedModel
true
if this cp instance is a draft; false
otherwiseboolean isExpired()
true
if this cp instance is expired.isExpired
in interface com.liferay.portal.kernel.model.WorkflowedModel
true
if this cp instance is expired; false
otherwiseboolean isInactive()
true
if this cp instance is inactive.isInactive
in interface com.liferay.portal.kernel.model.WorkflowedModel
true
if this cp instance is inactive; false
otherwiseboolean isIncomplete()
true
if this cp instance is incomplete.isIncomplete
in interface com.liferay.portal.kernel.model.WorkflowedModel
true
if this cp instance is incomplete; false
otherwiseboolean isPending()
true
if this cp instance is pending.isPending
in interface com.liferay.portal.kernel.model.WorkflowedModel
true
if this cp instance is pending; false
otherwiseboolean isScheduled()
true
if this cp instance is scheduled.isScheduled
in interface com.liferay.portal.kernel.model.WorkflowedModel
true
if this cp instance is scheduled; false
otherwiseCPInstance cloneWithOriginalValues()
cloneWithOriginalValues
in interface com.liferay.portal.kernel.model.BaseModel<CPInstance>
default java.lang.String toXmlString()