|
Liferay 6.0.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portlet.shopping.model.ShoppingItemPriceWrapper
public class ShoppingItemPriceWrapper
This class is a wrapper for ShoppingItemPrice.
ShoppingItemPrice,
Serialized Form| Constructor Summary | |
|---|---|
ShoppingItemPriceWrapper(ShoppingItemPrice shoppingItemPrice)
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(ShoppingItemPrice shoppingItemPrice)
|
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()
|
ShoppingItemPrice |
getWrappedShoppingItemPrice()
|
int |
hashCode()
|
boolean |
isCachedModel()
Determines if this model instance was retrieved from the entity cache. |
boolean |
isEscapedModel()
Determines if this model instance has been wrapped with an HTML auto escape handler. |
boolean |
isNew()
Determines if this model instance does not yet exist in the database. |
boolean |
isTaxable()
|
boolean |
isUseShippingFormula()
|
void |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache. |
void |
setDiscount(double discount)
|
void |
setEscapedModel(boolean escapedModel)
Sets whether this model instance has been wrapped with an HTML auto escape handler. |
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 |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database. |
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 java.lang.Object |
|---|
equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ShoppingItemPriceWrapper(ShoppingItemPrice shoppingItemPrice)
| Method Detail |
|---|
public long getPrimaryKey()
getPrimaryKey in interface ShoppingItemPriceModelpublic void setPrimaryKey(long pk)
setPrimaryKey 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 boolean isNew()
BaseModel
isNew in interface BaseModel<ShoppingItemPrice>isNew in interface ShoppingItemPriceModeltrue if this model instance does not yet exist in
the database; false otherwisepublic void setNew(boolean n)
BaseModel
setNew in interface BaseModel<ShoppingItemPrice>setNew in interface ShoppingItemPriceModeln - whether this model instance does not yet exist in the databasepublic boolean isCachedModel()
BaseModel
isCachedModel in interface BaseModel<ShoppingItemPrice>isCachedModel in interface ShoppingItemPriceModeltrue if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)public void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel in interface BaseModel<ShoppingItemPrice>setCachedModel in interface ShoppingItemPriceModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic boolean isEscapedModel()
BaseModel
isEscapedModel in interface BaseModel<ShoppingItemPrice>isEscapedModel in interface ShoppingItemPriceModeltrue if this model instance has been wrapped with an
HTML auto escape handler; false otherwiseBaseModel.setEscapedModel(boolean)public void setEscapedModel(boolean escapedModel)
BaseModel
A model instance can be wrapped with an HTML auto escape handler using
its toEscapedModel method. For example, UserModel.toEscapedModel().
setEscapedModel in interface BaseModel<ShoppingItemPrice>setEscapedModel in interface ShoppingItemPriceModelescapedModel - whether this model instance has been wrapped with an
HTML auto escape handlerAutoEscapeBeanHandlerpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<ShoppingItemPrice>getPrimaryKeyObj in interface ShoppingItemPriceModelpublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<ShoppingItemPrice>getExpandoBridge in interface ShoppingItemPriceModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<ShoppingItemPrice>setExpandoBridgeAttributes in interface ShoppingItemPriceModelserviceContext - 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 Objectpublic int compareTo(ShoppingItemPrice shoppingItemPrice)
compareTo in interface ShoppingItemPriceModelcompareTo in interface Comparable<ShoppingItemPrice>public 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 ShoppingItemPriceModelpublic ShoppingItemPrice getWrappedShoppingItemPrice()
|
Liferay 6.0.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||