com.liferay.portlet.shopping.model.impl
Class ShoppingItemPriceModelImpl

java.lang.Object
  extended by com.liferay.portal.model.impl.BaseModelImpl
      extended by com.liferay.portlet.shopping.model.impl.ShoppingItemPriceModelImpl
All Implemented Interfaces:
com.liferay.portal.model.BaseModel, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable
Direct Known Subclasses:
ShoppingItemPriceImpl

public class ShoppingItemPriceModelImpl
extends com.liferay.portal.model.impl.BaseModelImpl

View Source

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

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

Author:
Brian Wing Shun Chan
See Also:
ShoppingItemPrice, ShoppingItemPriceModel, ShoppingItemPriceImpl, Serialized Form

Field Summary
static boolean CACHE_ENABLED
           
static java.lang.String DATA_SOURCE
           
static long LOCK_EXPIRATION_TIME
           
static java.lang.String SESSION_FACTORY
           
static java.lang.Object[][] TABLE_COLUMNS
           
static java.lang.String TABLE_NAME
           
static java.lang.String TABLE_SQL_CREATE
           
static java.lang.String TABLE_SQL_DROP
           
static java.lang.String TX_MANAGER
           
 
Constructor Summary
ShoppingItemPriceModelImpl()
           
 
Method Summary
 java.lang.Object clone()
           
 int compareTo(java.lang.Object obj)
           
 boolean equals(java.lang.Object obj)
           
 double getDiscount()
           
 com.liferay.portlet.expando.model.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 isTaxable()
           
 boolean isUseShippingFormula()
           
 void setDiscount(double discount)
           
 void setItemId(long itemId)
           
 void setItemPriceId(long itemPriceId)
           
 void setMaxQuantity(int maxQuantity)
           
 void setMinQuantity(int minQuantity)
           
 void setPrice(double price)
           
 void setPrimaryKey(long pk)
           
 void setShipping(double shipping)
           
 void setStatus(int status)
           
 void setTaxable(boolean taxable)
           
 void setUseShippingFormula(boolean useShippingFormula)
           
 com.liferay.portlet.shopping.model.ShoppingItemPrice toEscapedModel()
           
static com.liferay.portlet.shopping.model.ShoppingItemPrice toModel(com.liferay.portlet.shopping.model.ShoppingItemPriceSoap soapModel)
           
static java.util.List<com.liferay.portlet.shopping.model.ShoppingItemPrice> toModels(com.liferay.portlet.shopping.model.ShoppingItemPriceSoap[] soapModels)
           
 
Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl
isEscapedModel, isNew, setEscapedModel, setNew
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TABLE_NAME

public static final java.lang.String TABLE_NAME
See Also:
Constant Field Values

TABLE_COLUMNS

public static final java.lang.Object[][] TABLE_COLUMNS

TABLE_SQL_CREATE

public static final java.lang.String TABLE_SQL_CREATE
See Also:
Constant Field Values

TABLE_SQL_DROP

public static final java.lang.String TABLE_SQL_DROP
See Also:
Constant Field Values

DATA_SOURCE

public static final java.lang.String DATA_SOURCE
See Also:
Constant Field Values

SESSION_FACTORY

public static final java.lang.String SESSION_FACTORY
See Also:
Constant Field Values

TX_MANAGER

public static final java.lang.String TX_MANAGER
See Also:
Constant Field Values

CACHE_ENABLED

public static final boolean CACHE_ENABLED

LOCK_EXPIRATION_TIME

public static final long LOCK_EXPIRATION_TIME
Constructor Detail

ShoppingItemPriceModelImpl

public ShoppingItemPriceModelImpl()
Method Detail

toModel

public static com.liferay.portlet.shopping.model.ShoppingItemPrice toModel(com.liferay.portlet.shopping.model.ShoppingItemPriceSoap soapModel)

toModels

public static java.util.List<com.liferay.portlet.shopping.model.ShoppingItemPrice> toModels(com.liferay.portlet.shopping.model.ShoppingItemPriceSoap[] soapModels)

getPrimaryKey

public long getPrimaryKey()

setPrimaryKey

public void setPrimaryKey(long pk)

getPrimaryKeyObj

public java.io.Serializable getPrimaryKeyObj()

getItemPriceId

public long getItemPriceId()

setItemPriceId

public void setItemPriceId(long itemPriceId)

getItemId

public long getItemId()

setItemId

public void setItemId(long itemId)

getMinQuantity

public int getMinQuantity()

setMinQuantity

public void setMinQuantity(int minQuantity)

getMaxQuantity

public int getMaxQuantity()

setMaxQuantity

public void setMaxQuantity(int maxQuantity)

getPrice

public double getPrice()

setPrice

public void setPrice(double price)

getDiscount

public double getDiscount()

setDiscount

public void setDiscount(double discount)

getTaxable

public boolean getTaxable()

isTaxable

public boolean isTaxable()

setTaxable

public void setTaxable(boolean taxable)

getShipping

public double getShipping()

setShipping

public void setShipping(double shipping)

getUseShippingFormula

public boolean getUseShippingFormula()

isUseShippingFormula

public boolean isUseShippingFormula()

setUseShippingFormula

public void setUseShippingFormula(boolean useShippingFormula)

getStatus

public int getStatus()

setStatus

public void setStatus(int status)

toEscapedModel

public com.liferay.portlet.shopping.model.ShoppingItemPrice toEscapedModel()

getExpandoBridge

public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge()
Specified by:
getExpandoBridge in interface com.liferay.portal.model.BaseModel
Overrides:
getExpandoBridge in class com.liferay.portal.model.impl.BaseModelImpl

clone

public java.lang.Object clone()
Specified by:
clone in interface com.liferay.portal.model.BaseModel
Specified by:
clone in class com.liferay.portal.model.impl.BaseModelImpl

compareTo

public int compareTo(java.lang.Object obj)

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

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