com.liferay.portlet.shopping.model
Interface ShoppingItemPriceModel

All Superinterfaces:
BaseModel<ShoppingItemPrice>, java.lang.Cloneable, java.lang.Comparable<ShoppingItemPrice>, java.io.Serializable
All Known Subinterfaces:
ShoppingItemPrice
All Known Implementing Classes:
ShoppingItemPriceWrapper

public interface ShoppingItemPriceModel
extends BaseModel<ShoppingItemPrice>

View Source

ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

This interface is a model that represents the ShoppingItemPrice table in the database.

Author:
Brian Wing Shun Chan
See Also:
ShoppingItemPrice, com.liferay.portlet.shopping.model.impl.ShoppingItemPriceImpl, com.liferay.portlet.shopping.model.impl.ShoppingItemPriceModelImpl
Generated:

Method Summary
 java.lang.Object clone()
           
 int compareTo(ShoppingItemPrice shoppingItemPrice)
           
 double getDiscount()
           
 ExpandoBridge getExpandoBridge()
           
 long getItemId()
           
 long getItemPriceId()
           
 int getMaxQuantity()
           
 int getMinQuantity()
           
 double getPrice()
           
 long getPrimaryKey()
           
 java.io.Serializable getPrimaryKeyObj()
           
 double getShipping()
           
 int getStatus()
           
 boolean getTaxable()
           
 boolean getUseShippingFormula()
           
 int hashCode()
           
 boolean isCachedModel()
           
 boolean isEscapedModel()
           
 boolean isNew()
           
 boolean isTaxable()
           
 boolean isUseShippingFormula()
           
 void setCachedModel(boolean cachedModel)
           
 void setDiscount(double discount)
           
 void setEscapedModel(boolean escapedModel)
           
 void setExpandoBridgeAttributes(ServiceContext serviceContext)
           
 void setItemId(long itemId)
           
 void setItemPriceId(long itemPriceId)
           
 void setMaxQuantity(int maxQuantity)
           
 void setMinQuantity(int minQuantity)
           
 boolean setNew(boolean n)
           
 void setPrice(double price)
           
 void setPrimaryKey(long pk)
           
 void setShipping(double shipping)
           
 void setStatus(int status)
           
 void setTaxable(boolean taxable)
           
 void setUseShippingFormula(boolean useShippingFormula)
           
 ShoppingItemPrice toEscapedModel()
           
 java.lang.String toString()
           
 java.lang.String toXmlString()
           
 

Method Detail

getPrimaryKey

long getPrimaryKey()

setPrimaryKey

void setPrimaryKey(long pk)

getItemPriceId

long getItemPriceId()

setItemPriceId

void setItemPriceId(long itemPriceId)

getItemId

long getItemId()

setItemId

void setItemId(long itemId)

getMinQuantity

int getMinQuantity()

setMinQuantity

void setMinQuantity(int minQuantity)

getMaxQuantity

int getMaxQuantity()

setMaxQuantity

void setMaxQuantity(int maxQuantity)

getPrice

double getPrice()

setPrice

void setPrice(double price)

getDiscount

double getDiscount()

setDiscount

void setDiscount(double discount)

getTaxable

boolean getTaxable()

isTaxable

boolean isTaxable()

setTaxable

void setTaxable(boolean taxable)

getShipping

double getShipping()

setShipping

void setShipping(double shipping)

getUseShippingFormula

boolean getUseShippingFormula()

isUseShippingFormula

boolean isUseShippingFormula()

setUseShippingFormula

void setUseShippingFormula(boolean useShippingFormula)

getStatus

int getStatus()

setStatus

void setStatus(int status)

isNew

boolean isNew()
Specified by:
isNew in interface BaseModel<ShoppingItemPrice>

setNew

boolean setNew(boolean n)
Specified by:
setNew in interface BaseModel<ShoppingItemPrice>

isCachedModel

boolean isCachedModel()
Specified by:
isCachedModel in interface BaseModel<ShoppingItemPrice>

setCachedModel

void setCachedModel(boolean cachedModel)
Specified by:
setCachedModel in interface BaseModel<ShoppingItemPrice>

isEscapedModel

boolean isEscapedModel()
Specified by:
isEscapedModel in interface BaseModel<ShoppingItemPrice>

setEscapedModel

void setEscapedModel(boolean escapedModel)
Specified by:
setEscapedModel in interface BaseModel<ShoppingItemPrice>

getPrimaryKeyObj

java.io.Serializable getPrimaryKeyObj()
Specified by:
getPrimaryKeyObj in interface BaseModel<ShoppingItemPrice>

getExpandoBridge

ExpandoBridge getExpandoBridge()
Specified by:
getExpandoBridge in interface BaseModel<ShoppingItemPrice>

setExpandoBridgeAttributes

void setExpandoBridgeAttributes(ServiceContext serviceContext)
Specified by:
setExpandoBridgeAttributes in interface BaseModel<ShoppingItemPrice>

clone

java.lang.Object clone()
Specified by:
clone in interface BaseModel<ShoppingItemPrice>

compareTo

int compareTo(ShoppingItemPrice shoppingItemPrice)
Specified by:
compareTo in interface java.lang.Comparable<ShoppingItemPrice>

hashCode

int hashCode()
Overrides:
hashCode in class java.lang.Object

toEscapedModel

ShoppingItemPrice toEscapedModel()
Specified by:
toEscapedModel in interface BaseModel<ShoppingItemPrice>

toString

java.lang.String toString()
Overrides:
toString in class java.lang.Object

toXmlString

java.lang.String toXmlString()
Specified by:
toXmlString in interface BaseModel<ShoppingItemPrice>