|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ShoppingOrderItemModel
The base model interface for the ShoppingOrderItem service. Represents a row in the "ShoppingOrderItem" database table, with each column mapped to a property of this class.
This interface and its corresponding implementation ShoppingOrderItemModelImpl exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in ShoppingOrderItemImpl.
ShoppingOrderItem,
ShoppingOrderItemImpl,
ShoppingOrderItemModelImpl| Method Summary | |
|---|---|
java.lang.Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(ShoppingOrderItem shoppingOrderItem)
|
java.lang.String |
getDescription()
Returns the description of this shopping order item. |
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance. |
java.lang.String |
getItemId()
Returns the item ID of this shopping order item. |
java.lang.String |
getName()
Returns the name of this shopping order item. |
long |
getOrderId()
Returns the order ID of this shopping order item. |
long |
getOrderItemId()
Returns the order item ID of this shopping order item. |
double |
getPrice()
Returns the price of this shopping order item. |
long |
getPrimaryKey()
Returns the primary key of this shopping order item. |
java.io.Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance. |
java.lang.String |
getProperties()
Returns the properties of this shopping order item. |
int |
getQuantity()
Returns the quantity of this shopping order item. |
java.util.Date |
getShippedDate()
Returns the shipped date of this shopping order item. |
java.lang.String |
getSku()
Returns the sku of this shopping order item. |
int |
hashCode()
|
boolean |
isCachedModel()
Returns true if this model instance was retrieved from the
entity cache. |
boolean |
isEscapedModel()
Returns true if this model instance is escaped. |
boolean |
isNew()
Returns true 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(java.lang.String description)
Sets the description of this shopping order item. |
void |
setExpandoBridgeAttributes(ServiceContext serviceContext)
Sets the expando bridge attributes for this model instance to the attributes stored in the service context. |
void |
setItemId(java.lang.String itemId)
Sets the item ID of this shopping order item. |
void |
setName(java.lang.String name)
Sets the name of this shopping order item. |
void |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database. |
void |
setOrderId(long orderId)
Sets the order ID of this shopping order item. |
void |
setOrderItemId(long orderItemId)
Sets the order item ID of this shopping order item. |
void |
setPrice(double price)
Sets the price of this shopping order item. |
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this shopping order item. |
void |
setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
Sets the primary key of this model instance. |
void |
setProperties(java.lang.String properties)
Sets the properties of this shopping order item. |
void |
setQuantity(int quantity)
Sets the quantity of this shopping order item. |
void |
setShippedDate(java.util.Date shippedDate)
Sets the shipped date of this shopping order item. |
void |
setSku(java.lang.String sku)
Sets the sku of this shopping order item. |
CacheModel<ShoppingOrderItem> |
toCacheModel()
Returns a cache model object for this entity used by entity cache. |
ShoppingOrderItem |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler. |
java.lang.String |
toString()
|
java.lang.String |
toXmlString()
Returns the XML representation of this model instance. |
| Methods inherited from interface com.liferay.portal.model.BaseModel |
|---|
getModelAttributes, resetOriginalValues, setModelAttributes |
| Methods inherited from interface com.liferay.portal.model.ClassedModel |
|---|
getModelClass, getModelClassName |
| Method Detail |
|---|
long getPrimaryKey()
void setPrimaryKey(long primaryKey)
primaryKey - the primary key of this shopping order itemlong getOrderItemId()
void setOrderItemId(long orderItemId)
orderItemId - the order item ID of this shopping order itemlong getOrderId()
void setOrderId(long orderId)
orderId - the order ID of this shopping order item@AutoEscape java.lang.String getItemId()
void setItemId(java.lang.String itemId)
itemId - the item ID of this shopping order item@AutoEscape java.lang.String getSku()
void setSku(java.lang.String sku)
sku - the sku of this shopping order item@AutoEscape java.lang.String getName()
void setName(java.lang.String name)
name - the name of this shopping order item@AutoEscape java.lang.String getDescription()
void setDescription(java.lang.String description)
description - the description of this shopping order item@AutoEscape java.lang.String getProperties()
void setProperties(java.lang.String properties)
properties - the properties of this shopping order itemdouble getPrice()
void setPrice(double price)
price - the price of this shopping order itemint getQuantity()
void setQuantity(int quantity)
quantity - the quantity of this shopping order itemjava.util.Date getShippedDate()
void setShippedDate(java.util.Date shippedDate)
shippedDate - the shipped date of this shopping order itemboolean isNew()
BaseModeltrue if this model instance does not yet exist in
the database.
isNew in interface BaseModel<ShoppingOrderItem>true if this model instance does not yet exist in
the database; false otherwisevoid setNew(boolean n)
BaseModel
setNew in interface BaseModel<ShoppingOrderItem>n - whether this model instance does not yet exist in the databaseboolean isCachedModel()
BaseModeltrue if this model instance was retrieved from the
entity cache.
isCachedModel in interface BaseModel<ShoppingOrderItem>true if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel in interface BaseModel<ShoppingOrderItem>cachedModel - whether this model instance was retrieved from the
entity cacheEntityCacheboolean isEscapedModel()
BaseModeltrue if this model instance is escaped.
isEscapedModel in interface BaseModel<ShoppingOrderItem>true if this model instance is escaped;
false otherwisejava.io.Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<ShoppingOrderItem>getPrimaryKeyObj in interface ClassedModelvoid setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj in interface BaseModel<ShoppingOrderItem>setPrimaryKeyObj in interface ClassedModelprimaryKeyObj - the primary key of this model instanceExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<ShoppingOrderItem>getExpandoBridge in interface ClassedModelvoid setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<ShoppingOrderItem>serviceContext - the service contextServiceContext.getExpandoBridgeAttributes(
)java.lang.Object clone()
BaseModel
clone in interface BaseModel<ShoppingOrderItem>int compareTo(ShoppingOrderItem shoppingOrderItem)
compareTo in interface java.lang.Comparable<ShoppingOrderItem>int hashCode()
hashCode in class java.lang.ObjectCacheModel<ShoppingOrderItem> toCacheModel()
BaseModel
toCacheModel in interface BaseModel<ShoppingOrderItem>ShoppingOrderItem toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface BaseModel<ShoppingOrderItem>AutoEscapeBeanHandlerjava.lang.String toString()
toString in class java.lang.Objectjava.lang.String toXmlString()
BaseModel
toXmlString in interface BaseModel<ShoppingOrderItem>
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||