@ProviderType public class ShoppingItemPriceWrapper extends java.lang.Object implements ShoppingItemPrice, com.liferay.portal.kernel.model.ModelWrapper<ShoppingItemPrice>
This class is a wrapper for ShoppingItemPrice.
ShoppingItemPrice,
Serialized FormITEM_PRICE_ID_ACCESSOR| Constructor and Description |
|---|
ShoppingItemPriceWrapper(ShoppingItemPrice shoppingItemPrice) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone() |
int |
compareTo(ShoppingItemPrice shoppingItemPrice) |
boolean |
equals(java.lang.Object obj) |
long |
getCompanyId()
Returns the company ID of this shopping item price.
|
double |
getDiscount()
Returns the discount of this shopping item price.
|
com.liferay.expando.kernel.model.ExpandoBridge |
getExpandoBridge() |
long |
getItemId()
Returns the item ID of this shopping item price.
|
long |
getItemPriceId()
Returns the item price ID of this shopping item price.
|
int |
getMaxQuantity()
Returns the max quantity of this shopping item price.
|
int |
getMinQuantity()
Returns the min quantity of this shopping item price.
|
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
java.lang.Class<?> |
getModelClass() |
java.lang.String |
getModelClassName() |
double |
getPrice()
Returns the price of this shopping item price.
|
long |
getPrimaryKey()
Returns the primary key of this shopping item price.
|
java.io.Serializable |
getPrimaryKeyObj() |
double |
getShipping()
Returns the shipping of this shopping item price.
|
int |
getStatus()
Returns the status of this shopping item price.
|
boolean |
getTaxable()
Returns the taxable of this shopping item price.
|
boolean |
getUseShippingFormula()
Returns the use shipping formula of this shopping item price.
|
ShoppingItemPrice |
getWrappedModel() |
int |
hashCode() |
boolean |
isCachedModel() |
boolean |
isEntityCacheEnabled() |
boolean |
isEscapedModel() |
boolean |
isFinderCacheEnabled() |
boolean |
isNew() |
boolean |
isTaxable()
Returns
true if this shopping item price is taxable. |
boolean |
isUseShippingFormula()
Returns
true if this shopping item price is use shipping formula. |
void |
persist() |
void |
resetOriginalValues() |
void |
setCachedModel(boolean cachedModel) |
void |
setCompanyId(long companyId)
Sets the company ID of this shopping item price.
|
void |
setDiscount(double discount)
Sets the discount of this shopping item price.
|
void |
setExpandoBridgeAttributes(com.liferay.portal.kernel.model.BaseModel<?> baseModel) |
void |
setExpandoBridgeAttributes(com.liferay.expando.kernel.model.ExpandoBridge expandoBridge) |
void |
setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext) |
void |
setItemId(long itemId)
Sets the item ID of this shopping item price.
|
void |
setItemPriceId(long itemPriceId)
Sets the item price ID of this shopping item price.
|
void |
setMaxQuantity(int maxQuantity)
Sets the max quantity of this shopping item price.
|
void |
setMinQuantity(int minQuantity)
Sets the min quantity of this shopping item price.
|
void |
setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes) |
void |
setNew(boolean n) |
void |
setPrice(double price)
Sets the price of this shopping item price.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this shopping item price.
|
void |
setPrimaryKeyObj(java.io.Serializable primaryKeyObj) |
void |
setShipping(double shipping)
Sets the shipping of this shopping item price.
|
void |
setStatus(int status)
Sets the status of this shopping item price.
|
void |
setTaxable(boolean taxable)
Sets whether this shopping item price is taxable.
|
void |
setUseShippingFormula(boolean useShippingFormula)
Sets whether this shopping item price is use shipping formula.
|
com.liferay.portal.kernel.model.CacheModel<ShoppingItemPrice> |
toCacheModel() |
ShoppingItemPrice |
toEscapedModel() |
java.lang.String |
toString() |
ShoppingItemPrice |
toUnescapedModel() |
java.lang.String |
toXmlString() |
public ShoppingItemPriceWrapper(ShoppingItemPrice shoppingItemPrice)
public java.lang.Class<?> getModelClass()
getModelClass in interface com.liferay.portal.kernel.model.ClassedModelpublic java.lang.String getModelClassName()
getModelClassName in interface com.liferay.portal.kernel.model.ClassedModelpublic java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<ShoppingItemPrice>public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<ShoppingItemPrice>public ShoppingItemPrice toEscapedModel()
toEscapedModel in interface com.liferay.portal.kernel.model.BaseModel<ShoppingItemPrice>toEscapedModel in interface ShoppingItemPriceModelpublic ShoppingItemPrice toUnescapedModel()
toUnescapedModel in interface com.liferay.portal.kernel.model.BaseModel<ShoppingItemPrice>toUnescapedModel in interface ShoppingItemPriceModelpublic boolean getTaxable()
getTaxable in interface ShoppingItemPriceModelpublic boolean getUseShippingFormula()
getUseShippingFormula in interface ShoppingItemPriceModelpublic boolean isCachedModel()
isCachedModel in interface com.liferay.portal.kernel.model.BaseModel<ShoppingItemPrice>isCachedModel in interface ShoppingItemPriceModelpublic boolean isEscapedModel()
isEscapedModel in interface com.liferay.portal.kernel.model.BaseModel<ShoppingItemPrice>isEscapedModel in interface ShoppingItemPriceModelpublic boolean isNew()
isNew in interface com.liferay.portal.kernel.model.BaseModel<ShoppingItemPrice>isNew in interface ShoppingItemPriceModelpublic boolean isTaxable()
true if this shopping item price is taxable.isTaxable in interface ShoppingItemPriceModeltrue if this shopping item price is taxable; false otherwisepublic boolean isUseShippingFormula()
true if this shopping item price is use shipping formula.isUseShippingFormula in interface ShoppingItemPriceModeltrue if this shopping item price is use shipping formula; false otherwisepublic com.liferay.expando.kernel.model.ExpandoBridge getExpandoBridge()
getExpandoBridge in interface com.liferay.portal.kernel.model.BaseModel<ShoppingItemPrice>getExpandoBridge in interface com.liferay.portal.kernel.model.ClassedModelgetExpandoBridge in interface ShoppingItemPriceModelpublic com.liferay.portal.kernel.model.CacheModel<ShoppingItemPrice> toCacheModel()
toCacheModel in interface com.liferay.portal.kernel.model.BaseModel<ShoppingItemPrice>toCacheModel in interface ShoppingItemPriceModelpublic double getDiscount()
getDiscount in interface ShoppingItemPriceModelpublic double getPrice()
getPrice in interface ShoppingItemPriceModelpublic double getShipping()
getShipping in interface ShoppingItemPriceModelpublic int compareTo(ShoppingItemPrice shoppingItemPrice)
compareTo in interface ShoppingItemPriceModelcompareTo in interface java.lang.Comparable<ShoppingItemPrice>public int getMaxQuantity()
getMaxQuantity in interface ShoppingItemPriceModelpublic int getMinQuantity()
getMinQuantity in interface ShoppingItemPriceModelpublic int getStatus()
getStatus in interface ShoppingItemPriceModelpublic int hashCode()
hashCode in interface ShoppingItemPriceModelhashCode in class java.lang.Objectpublic java.io.Serializable getPrimaryKeyObj()
getPrimaryKeyObj in interface com.liferay.portal.kernel.model.BaseModel<ShoppingItemPrice>getPrimaryKeyObj in interface com.liferay.portal.kernel.model.ClassedModelgetPrimaryKeyObj in interface ShoppingItemPriceModelpublic java.lang.Object clone()
clone in interface com.liferay.portal.kernel.model.BaseModel<ShoppingItemPrice>clone in interface ShoppingItemPriceModelclone in class java.lang.Objectpublic java.lang.String toString()
toString in interface ShoppingItemPriceModeltoString in class java.lang.Objectpublic java.lang.String toXmlString()
toXmlString in interface com.liferay.portal.kernel.model.BaseModel<ShoppingItemPrice>toXmlString in interface ShoppingItemPriceModelpublic long getCompanyId()
getCompanyId in interface com.liferay.portal.kernel.model.ShardedModelgetCompanyId in interface ShoppingItemPriceModelpublic long getItemId()
getItemId in interface ShoppingItemPriceModelpublic long getItemPriceId()
getItemPriceId in interface ShoppingItemPriceModelpublic long getPrimaryKey()
getPrimaryKey in interface ShoppingItemPriceModelpublic void persist()
persist in interface com.liferay.portal.kernel.model.PersistedModelpublic void setCachedModel(boolean cachedModel)
setCachedModel in interface com.liferay.portal.kernel.model.BaseModel<ShoppingItemPrice>setCachedModel in interface ShoppingItemPriceModelpublic void setCompanyId(long companyId)
setCompanyId in interface com.liferay.portal.kernel.model.ShardedModelsetCompanyId in interface ShoppingItemPriceModelcompanyId - the company ID of this shopping item pricepublic void setDiscount(double discount)
setDiscount in interface ShoppingItemPriceModeldiscount - the discount of this shopping item pricepublic void setExpandoBridgeAttributes(com.liferay.expando.kernel.model.ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface com.liferay.portal.kernel.model.BaseModel<ShoppingItemPrice>setExpandoBridgeAttributes in interface ShoppingItemPriceModelpublic void setExpandoBridgeAttributes(com.liferay.portal.kernel.model.BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface com.liferay.portal.kernel.model.BaseModel<ShoppingItemPrice>setExpandoBridgeAttributes in interface ShoppingItemPriceModelpublic void setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext)
setExpandoBridgeAttributes in interface com.liferay.portal.kernel.model.BaseModel<ShoppingItemPrice>setExpandoBridgeAttributes in interface ShoppingItemPriceModelpublic void setItemId(long itemId)
setItemId in interface ShoppingItemPriceModelitemId - the item ID of this shopping item pricepublic void setItemPriceId(long itemPriceId)
setItemPriceId in interface ShoppingItemPriceModelitemPriceId - the item price ID of this shopping item pricepublic void setMaxQuantity(int maxQuantity)
setMaxQuantity in interface ShoppingItemPriceModelmaxQuantity - the max quantity of this shopping item pricepublic void setMinQuantity(int minQuantity)
setMinQuantity in interface ShoppingItemPriceModelminQuantity - the min quantity of this shopping item pricepublic void setNew(boolean n)
setNew in interface com.liferay.portal.kernel.model.BaseModel<ShoppingItemPrice>setNew in interface ShoppingItemPriceModelpublic void setPrice(double price)
setPrice in interface ShoppingItemPriceModelprice - the price of this shopping item pricepublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface ShoppingItemPriceModelprimaryKey - the primary key of this shopping item pricepublic void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
setPrimaryKeyObj in interface com.liferay.portal.kernel.model.BaseModel<ShoppingItemPrice>setPrimaryKeyObj in interface com.liferay.portal.kernel.model.ClassedModelsetPrimaryKeyObj in interface ShoppingItemPriceModelpublic void setShipping(double shipping)
setShipping in interface ShoppingItemPriceModelshipping - the shipping of this shopping item pricepublic void setStatus(int status)
setStatus in interface ShoppingItemPriceModelstatus - the status of this shopping item pricepublic void setTaxable(boolean taxable)
setTaxable in interface ShoppingItemPriceModeltaxable - the taxable of this shopping item pricepublic void setUseShippingFormula(boolean useShippingFormula)
setUseShippingFormula in interface ShoppingItemPriceModeluseShippingFormula - the use shipping formula of this shopping item pricepublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic ShoppingItemPrice getWrappedModel()
getWrappedModel in interface com.liferay.portal.kernel.model.ModelWrapper<ShoppingItemPrice>public boolean isEntityCacheEnabled()
isEntityCacheEnabled in interface com.liferay.portal.kernel.model.BaseModel<ShoppingItemPrice>public boolean isFinderCacheEnabled()
isFinderCacheEnabled in interface com.liferay.portal.kernel.model.BaseModel<ShoppingItemPrice>public void resetOriginalValues()
resetOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<ShoppingItemPrice>