|
Liferay 6.0.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.model.impl.BaseModelImpl<ShoppingItemPrice>
com.liferay.portlet.shopping.model.impl.ShoppingItemPriceModelImpl
public class ShoppingItemPriceModelImpl
This interface is a model that represents the ShoppingItemPrice table in the database.
ShoppingItemPriceImpl,
ShoppingItemPrice,
ShoppingItemPriceModel,
Serialized Form| Field Summary | |
|---|---|
static String |
DATA_SOURCE
|
static boolean |
ENTITY_CACHE_ENABLED
|
static boolean |
FINDER_CACHE_ENABLED
|
static long |
LOCK_EXPIRATION_TIME
|
static String |
ORDER_BY_JPQL
|
static String |
ORDER_BY_SQL
|
static String |
SESSION_FACTORY
|
static Object[][] |
TABLE_COLUMNS
|
static String |
TABLE_NAME
|
static String |
TABLE_SQL_CREATE
|
static String |
TABLE_SQL_DROP
|
static String |
TX_MANAGER
|
| Constructor Summary | |
|---|---|
ShoppingItemPriceModelImpl()
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(ShoppingItemPrice shoppingItemPrice)
|
boolean |
equals(Object obj)
|
double |
getDiscount()
|
ExpandoBridge |
getExpandoBridge()
Gets the expando bridge for this model instance. |
long |
getItemId()
|
long |
getItemPriceId()
|
int |
getMaxQuantity()
|
int |
getMinQuantity()
|
double |
getPrice()
|
long |
getPrimaryKey()
|
Serializable |
getPrimaryKeyObj()
Gets the primary key for this model instance. |
double |
getShipping()
|
int |
getStatus()
|
boolean |
getTaxable()
|
boolean |
getUseShippingFormula()
|
int |
hashCode()
|
boolean |
isTaxable()
|
boolean |
isUseShippingFormula()
|
void |
setDiscount(double discount)
|
void |
setExpandoBridgeAttributes(ServiceContext serviceContext)
Sets the expando bridge attributes for this model instance to the attributes stored in the service context. |
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)
|
ShoppingItemPrice |
toEscapedModel()
|
String |
toString()
|
String |
toXmlString()
Gets the XML representation of this model instance. |
| Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl |
|---|
isCachedModel, isEscapedModel, isNew, setCachedModel, setEscapedModel, setNew |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.liferay.portlet.shopping.model.ShoppingItemPriceModel |
|---|
isCachedModel, isEscapedModel, isNew, setCachedModel, setEscapedModel, setNew |
| Field Detail |
|---|
public static final String TABLE_NAME
public static final Object[][] TABLE_COLUMNS
public static final String TABLE_SQL_CREATE
public static final String TABLE_SQL_DROP
public static final String ORDER_BY_JPQL
public static final String ORDER_BY_SQL
public static final String DATA_SOURCE
public static final String SESSION_FACTORY
public static final String TX_MANAGER
public static final boolean ENTITY_CACHE_ENABLED
public static final boolean FINDER_CACHE_ENABLED
public static final long LOCK_EXPIRATION_TIME
| Constructor Detail |
|---|
public ShoppingItemPriceModelImpl()
| Method Detail |
|---|
public long getPrimaryKey()
getPrimaryKey in interface ShoppingItemPriceModelpublic void setPrimaryKey(long pk)
setPrimaryKey in interface ShoppingItemPriceModelpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<ShoppingItemPrice>getPrimaryKeyObj in interface ShoppingItemPriceModelpublic long getItemPriceId()
getItemPriceId in interface ShoppingItemPriceModelpublic void setItemPriceId(long itemPriceId)
setItemPriceId in interface ShoppingItemPriceModelpublic long getItemId()
getItemId in interface ShoppingItemPriceModelpublic void setItemId(long itemId)
setItemId in interface ShoppingItemPriceModelpublic int getMinQuantity()
getMinQuantity in interface ShoppingItemPriceModelpublic void setMinQuantity(int minQuantity)
setMinQuantity in interface ShoppingItemPriceModelpublic int getMaxQuantity()
getMaxQuantity in interface ShoppingItemPriceModelpublic void setMaxQuantity(int maxQuantity)
setMaxQuantity in interface ShoppingItemPriceModelpublic double getPrice()
getPrice in interface ShoppingItemPriceModelpublic void setPrice(double price)
setPrice in interface ShoppingItemPriceModelpublic double getDiscount()
getDiscount in interface ShoppingItemPriceModelpublic void setDiscount(double discount)
setDiscount in interface ShoppingItemPriceModelpublic boolean getTaxable()
getTaxable in interface ShoppingItemPriceModelpublic boolean isTaxable()
isTaxable in interface ShoppingItemPriceModelpublic void setTaxable(boolean taxable)
setTaxable in interface ShoppingItemPriceModelpublic double getShipping()
getShipping in interface ShoppingItemPriceModelpublic void setShipping(double shipping)
setShipping in interface ShoppingItemPriceModelpublic boolean getUseShippingFormula()
getUseShippingFormula in interface ShoppingItemPriceModelpublic boolean isUseShippingFormula()
isUseShippingFormula in interface ShoppingItemPriceModelpublic void setUseShippingFormula(boolean useShippingFormula)
setUseShippingFormula in interface ShoppingItemPriceModelpublic int getStatus()
getStatus in interface ShoppingItemPriceModelpublic void setStatus(int status)
setStatus in interface ShoppingItemPriceModelpublic ShoppingItemPrice toEscapedModel()
toEscapedModel in interface ShoppingItemPriceModelpublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<ShoppingItemPrice>getExpandoBridge in interface ShoppingItemPriceModelgetExpandoBridge in class BaseModelImpl<ShoppingItemPrice>public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<ShoppingItemPrice>setExpandoBridgeAttributes in interface ShoppingItemPriceModelsetExpandoBridgeAttributes in class BaseModelImpl<ShoppingItemPrice>serviceContext - the service context to retrieve the expando bridge
attributes fromServiceContext.getExpandoBridgeAttributes(
)public Object clone()
BaseModel
clone in interface BaseModel<ShoppingItemPrice>clone in interface ShoppingItemPriceModelclone in class BaseModelImpl<ShoppingItemPrice>public int compareTo(ShoppingItemPrice shoppingItemPrice)
compareTo in interface ShoppingItemPriceModelcompareTo in interface Comparable<ShoppingItemPrice>public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in interface ShoppingItemPriceModelhashCode in class Objectpublic String toString()
toString in interface ShoppingItemPriceModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<ShoppingItemPrice>toXmlString in interface ShoppingItemPriceModel
|
Liferay 6.0.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||