com.liferay.portlet.shopping.model
Class ShoppingItemPriceWrapper
java.lang.Object
com.liferay.portlet.shopping.model.ShoppingItemPriceWrapper
- All Implemented Interfaces:
- BaseModel<ShoppingItemPrice>, ShoppingItemPrice, ShoppingItemPriceModel, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<ShoppingItemPrice>
public class ShoppingItemPriceWrapper
- extends java.lang.Object
- implements ShoppingItemPrice
View Source
ServiceBuilder generated this class. Modifications in this class will be
overwritten the next time is generated.
This class is a wrapper for ShoppingItemPrice
.
- Author:
- Brian Wing Shun Chan
- See Also:
ShoppingItemPrice
,
Serialized Form- Generated:
Methods inherited from class java.lang.Object |
equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
ShoppingItemPriceWrapper
public ShoppingItemPriceWrapper(ShoppingItemPrice shoppingItemPrice)
getPrimaryKey
public long getPrimaryKey()
- Specified by:
getPrimaryKey
in interface ShoppingItemPriceModel
setPrimaryKey
public void setPrimaryKey(long pk)
- Specified by:
setPrimaryKey
in interface ShoppingItemPriceModel
getItemPriceId
public long getItemPriceId()
- Specified by:
getItemPriceId
in interface ShoppingItemPriceModel
setItemPriceId
public void setItemPriceId(long itemPriceId)
- Specified by:
setItemPriceId
in interface ShoppingItemPriceModel
getItemId
public long getItemId()
- Specified by:
getItemId
in interface ShoppingItemPriceModel
setItemId
public void setItemId(long itemId)
- Specified by:
setItemId
in interface ShoppingItemPriceModel
getMinQuantity
public int getMinQuantity()
- Specified by:
getMinQuantity
in interface ShoppingItemPriceModel
setMinQuantity
public void setMinQuantity(int minQuantity)
- Specified by:
setMinQuantity
in interface ShoppingItemPriceModel
getMaxQuantity
public int getMaxQuantity()
- Specified by:
getMaxQuantity
in interface ShoppingItemPriceModel
setMaxQuantity
public void setMaxQuantity(int maxQuantity)
- Specified by:
setMaxQuantity
in interface ShoppingItemPriceModel
getPrice
public double getPrice()
- Specified by:
getPrice
in interface ShoppingItemPriceModel
setPrice
public void setPrice(double price)
- Specified by:
setPrice
in interface ShoppingItemPriceModel
getDiscount
public double getDiscount()
- Specified by:
getDiscount
in interface ShoppingItemPriceModel
setDiscount
public void setDiscount(double discount)
- Specified by:
setDiscount
in interface ShoppingItemPriceModel
getTaxable
public boolean getTaxable()
- Specified by:
getTaxable
in interface ShoppingItemPriceModel
isTaxable
public boolean isTaxable()
- Specified by:
isTaxable
in interface ShoppingItemPriceModel
setTaxable
public void setTaxable(boolean taxable)
- Specified by:
setTaxable
in interface ShoppingItemPriceModel
getShipping
public double getShipping()
- Specified by:
getShipping
in interface ShoppingItemPriceModel
setShipping
public void setShipping(double shipping)
- Specified by:
setShipping
in interface ShoppingItemPriceModel
getUseShippingFormula
public boolean getUseShippingFormula()
- Specified by:
getUseShippingFormula
in interface ShoppingItemPriceModel
isUseShippingFormula
public boolean isUseShippingFormula()
- Specified by:
isUseShippingFormula
in interface ShoppingItemPriceModel
setUseShippingFormula
public void setUseShippingFormula(boolean useShippingFormula)
- Specified by:
setUseShippingFormula
in interface ShoppingItemPriceModel
getStatus
public int getStatus()
- Specified by:
getStatus
in interface ShoppingItemPriceModel
setStatus
public void setStatus(int status)
- Specified by:
setStatus
in interface ShoppingItemPriceModel
toEscapedModel
public ShoppingItemPrice toEscapedModel()
- Specified by:
toEscapedModel
in interface ShoppingItemPriceModel
isNew
public boolean isNew()
- Specified by:
isNew
in interface BaseModel<ShoppingItemPrice>
- Specified by:
isNew
in interface ShoppingItemPriceModel
setNew
public boolean setNew(boolean n)
- Specified by:
setNew
in interface BaseModel<ShoppingItemPrice>
- Specified by:
setNew
in interface ShoppingItemPriceModel
isCachedModel
public boolean isCachedModel()
- Specified by:
isCachedModel
in interface BaseModel<ShoppingItemPrice>
- Specified by:
isCachedModel
in interface ShoppingItemPriceModel
setCachedModel
public void setCachedModel(boolean cachedModel)
- Specified by:
setCachedModel
in interface BaseModel<ShoppingItemPrice>
- Specified by:
setCachedModel
in interface ShoppingItemPriceModel
isEscapedModel
public boolean isEscapedModel()
- Specified by:
isEscapedModel
in interface BaseModel<ShoppingItemPrice>
- Specified by:
isEscapedModel
in interface ShoppingItemPriceModel
setEscapedModel
public void setEscapedModel(boolean escapedModel)
- Specified by:
setEscapedModel
in interface BaseModel<ShoppingItemPrice>
- Specified by:
setEscapedModel
in interface ShoppingItemPriceModel
getPrimaryKeyObj
public java.io.Serializable getPrimaryKeyObj()
- Specified by:
getPrimaryKeyObj
in interface BaseModel<ShoppingItemPrice>
- Specified by:
getPrimaryKeyObj
in interface ShoppingItemPriceModel
getExpandoBridge
public ExpandoBridge getExpandoBridge()
- Specified by:
getExpandoBridge
in interface BaseModel<ShoppingItemPrice>
- Specified by:
getExpandoBridge
in interface ShoppingItemPriceModel
setExpandoBridgeAttributes
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
- Specified by:
setExpandoBridgeAttributes
in interface BaseModel<ShoppingItemPrice>
- Specified by:
setExpandoBridgeAttributes
in interface ShoppingItemPriceModel
clone
public java.lang.Object clone()
- Specified by:
clone
in interface BaseModel<ShoppingItemPrice>
- Specified by:
clone
in interface ShoppingItemPriceModel
- Overrides:
clone
in class java.lang.Object
compareTo
public int compareTo(ShoppingItemPrice shoppingItemPrice)
- Specified by:
compareTo
in interface ShoppingItemPriceModel
- Specified by:
compareTo
in interface java.lang.Comparable<ShoppingItemPrice>
hashCode
public int hashCode()
- Specified by:
hashCode
in interface ShoppingItemPriceModel
- Overrides:
hashCode
in class java.lang.Object
toString
public java.lang.String toString()
- Specified by:
toString
in interface ShoppingItemPriceModel
- Overrides:
toString
in class java.lang.Object
toXmlString
public java.lang.String toXmlString()
- Specified by:
toXmlString
in interface BaseModel<ShoppingItemPrice>
- Specified by:
toXmlString
in interface ShoppingItemPriceModel
getWrappedShoppingItemPrice
public ShoppingItemPrice getWrappedShoppingItemPrice()