|
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.ShoppingOrderItemWrapper
public class ShoppingOrderItemWrapper
This class is a wrapper for ShoppingOrderItem.
ShoppingOrderItem,
Serialized Form| Constructor Summary | |
|---|---|
ShoppingOrderItemWrapper(ShoppingOrderItem shoppingOrderItem)
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(ShoppingOrderItem shoppingOrderItem)
|
String |
getDescription()
|
ExpandoBridge |
getExpandoBridge()
Gets the expando bridge for this model instance. |
String |
getItemId()
|
String |
getName()
|
long |
getOrderId()
|
long |
getOrderItemId()
|
double |
getPrice()
|
long |
getPrimaryKey()
|
Serializable |
getPrimaryKeyObj()
Gets the primary key for this model instance. |
String |
getProperties()
|
int |
getQuantity()
|
Date |
getShippedDate()
|
String |
getSku()
|
ShoppingOrderItem |
getWrappedShoppingOrderItem()
|
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. |
void |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache. |
void |
setDescription(String description)
|
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(String itemId)
|
void |
setName(String name)
|
void |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database. |
void |
setOrderId(long orderId)
|
void |
setOrderItemId(long orderItemId)
|
void |
setPrice(double price)
|
void |
setPrimaryKey(long pk)
|
void |
setProperties(String properties)
|
void |
setQuantity(int quantity)
|
void |
setShippedDate(Date shippedDate)
|
void |
setSku(String sku)
|
ShoppingOrderItem |
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 ShoppingOrderItemWrapper(ShoppingOrderItem shoppingOrderItem)
| Method Detail |
|---|
public long getPrimaryKey()
getPrimaryKey in interface ShoppingOrderItemModelpublic void setPrimaryKey(long pk)
setPrimaryKey in interface ShoppingOrderItemModelpublic long getOrderItemId()
getOrderItemId in interface ShoppingOrderItemModelpublic void setOrderItemId(long orderItemId)
setOrderItemId in interface ShoppingOrderItemModelpublic long getOrderId()
getOrderId in interface ShoppingOrderItemModelpublic void setOrderId(long orderId)
setOrderId in interface ShoppingOrderItemModelpublic String getItemId()
getItemId in interface ShoppingOrderItemModelpublic void setItemId(String itemId)
setItemId in interface ShoppingOrderItemModelpublic String getSku()
getSku in interface ShoppingOrderItemModelpublic void setSku(String sku)
setSku in interface ShoppingOrderItemModelpublic String getName()
getName in interface ShoppingOrderItemModelpublic void setName(String name)
setName in interface ShoppingOrderItemModelpublic String getDescription()
getDescription in interface ShoppingOrderItemModelpublic void setDescription(String description)
setDescription in interface ShoppingOrderItemModelpublic String getProperties()
getProperties in interface ShoppingOrderItemModelpublic void setProperties(String properties)
setProperties in interface ShoppingOrderItemModelpublic double getPrice()
getPrice in interface ShoppingOrderItemModelpublic void setPrice(double price)
setPrice in interface ShoppingOrderItemModelpublic int getQuantity()
getQuantity in interface ShoppingOrderItemModelpublic void setQuantity(int quantity)
setQuantity in interface ShoppingOrderItemModelpublic Date getShippedDate()
getShippedDate in interface ShoppingOrderItemModelpublic void setShippedDate(Date shippedDate)
setShippedDate in interface ShoppingOrderItemModelpublic ShoppingOrderItem toEscapedModel()
toEscapedModel in interface ShoppingOrderItemModelpublic boolean isNew()
BaseModel
isNew in interface BaseModel<ShoppingOrderItem>isNew in interface ShoppingOrderItemModeltrue if this model instance does not yet exist in
the database; false otherwisepublic void setNew(boolean n)
BaseModel
setNew in interface BaseModel<ShoppingOrderItem>setNew in interface ShoppingOrderItemModeln - whether this model instance does not yet exist in the databasepublic boolean isCachedModel()
BaseModel
isCachedModel in interface BaseModel<ShoppingOrderItem>isCachedModel in interface ShoppingOrderItemModeltrue if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)public void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel in interface BaseModel<ShoppingOrderItem>setCachedModel in interface ShoppingOrderItemModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic boolean isEscapedModel()
BaseModel
isEscapedModel in interface BaseModel<ShoppingOrderItem>isEscapedModel in interface ShoppingOrderItemModeltrue 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<ShoppingOrderItem>setEscapedModel in interface ShoppingOrderItemModelescapedModel - whether this model instance has been wrapped with an
HTML auto escape handlerAutoEscapeBeanHandlerpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<ShoppingOrderItem>getPrimaryKeyObj in interface ShoppingOrderItemModelpublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<ShoppingOrderItem>getExpandoBridge in interface ShoppingOrderItemModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<ShoppingOrderItem>setExpandoBridgeAttributes in interface ShoppingOrderItemModelserviceContext - the service context to retrieve the expando bridge
attributes fromServiceContext.getExpandoBridgeAttributes(
)public Object clone()
BaseModel
clone in interface BaseModel<ShoppingOrderItem>clone in interface ShoppingOrderItemModelclone in class Objectpublic int compareTo(ShoppingOrderItem shoppingOrderItem)
compareTo in interface ShoppingOrderItemModelcompareTo in interface Comparable<ShoppingOrderItem>public int hashCode()
hashCode in interface ShoppingOrderItemModelhashCode in class Objectpublic String toString()
toString in interface ShoppingOrderItemModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<ShoppingOrderItem>toXmlString in interface ShoppingOrderItemModelpublic ShoppingOrderItem getWrappedShoppingOrderItem()
|
Liferay 6.0.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||