@ProviderType public interface ShoppingOrderItemModel extends BaseModel<ShoppingOrderItem>
This interface and its corresponding implementation com.liferay.portlet.shopping.model.impl.ShoppingOrderItemModelImpl exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in com.liferay.portlet.shopping.model.impl.ShoppingOrderItemImpl.
ShoppingOrderItem,
com.liferay.portlet.shopping.model.impl.ShoppingOrderItemImpl,
com.liferay.portlet.shopping.model.impl.ShoppingOrderItemModelImpl| Modifier and Type | Method and Description |
|---|---|
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(BaseModel<?> baseModel) |
void |
setExpandoBridgeAttributes(ExpandoBridge expandoBridge) |
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() |
ShoppingOrderItem |
toUnescapedModel() |
java.lang.String |
toXmlString()
Returns the XML representation of this model instance.
|
getModelAttributes, isEntityCacheEnabled, isFinderCacheEnabled, resetOriginalValues, setModelAttributesgetModelClass, getModelClassNamelong 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)
BaseModelsetNew 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)
BaseModelsetCachedModel 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()
BaseModelgetPrimaryKeyObj in interface BaseModel<ShoppingOrderItem>getPrimaryKeyObj in interface ClassedModelvoid setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
BaseModelsetPrimaryKeyObj in interface BaseModel<ShoppingOrderItem>setPrimaryKeyObj in interface ClassedModelprimaryKeyObj - the primary key of this model instanceExpandoBridge getExpandoBridge()
BaseModelgetExpandoBridge in interface BaseModel<ShoppingOrderItem>getExpandoBridge in interface ClassedModelvoid setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface BaseModel<ShoppingOrderItem>void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface BaseModel<ShoppingOrderItem>void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModelsetExpandoBridgeAttributes in interface BaseModel<ShoppingOrderItem>serviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes(
)java.lang.Object clone()
BaseModelclone 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()
BaseModeltoCacheModel in interface BaseModel<ShoppingOrderItem>ShoppingOrderItem toEscapedModel()
BaseModelAutoEscapeBeanHandler.toEscapedModel in interface BaseModel<ShoppingOrderItem>AutoEscapeBeanHandlerShoppingOrderItem toUnescapedModel()
toUnescapedModel in interface BaseModel<ShoppingOrderItem>java.lang.String toString()
toString in class java.lang.Objectjava.lang.String toXmlString()
BaseModeltoXmlString in interface BaseModel<ShoppingOrderItem>