@ProviderType public class ShoppingOrderItemWrapper extends java.lang.Object implements ShoppingOrderItem, ModelWrapper<ShoppingOrderItem>
This class is a wrapper for ShoppingOrderItem.
ShoppingOrderItem,
Serialized Form| Constructor and Description |
|---|
ShoppingOrderItemWrapper(ShoppingOrderItem shoppingOrderItem) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone()
Creates a shallow clone of this model instance.
|
int |
compareTo(ShoppingOrderItem shoppingOrderItem) |
boolean |
equals(java.lang.Object obj) |
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.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
java.lang.Class<?> |
getModelClass() |
java.lang.String |
getModelClassName() |
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.
|
ShoppingOrderItem |
getWrappedModel() |
ShoppingOrderItem |
getWrappedShoppingOrderItem()
Deprecated.
As of 6.1.0, replaced by
getWrappedModel() |
int |
hashCode() |
boolean |
isCachedModel()
Returns
true if this model instance was retrieved from the
entity cache. |
boolean |
isEntityCacheEnabled()
Returns
true if this model's entity cache is enabled. |
boolean |
isEscapedModel()
Returns
true if this model instance is escaped. |
boolean |
isFinderCacheEnabled()
Returns
true if this model's finder cache is enabled. |
boolean |
isNew()
Returns
true if this model instance does not yet exist in
the database. |
void |
persist()
Updates this model instance in the database or adds it if it does not yet
exist.
|
void |
resetOriginalValues()
Reset all original fields to current values.
|
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 |
setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes) |
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.
|
public ShoppingOrderItemWrapper(ShoppingOrderItem shoppingOrderItem)
public java.lang.Class<?> getModelClass()
getModelClass in interface ClassedModelpublic java.lang.String getModelClassName()
getModelClassName in interface ClassedModelpublic java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes in interface BaseModel<ShoppingOrderItem>public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes in interface BaseModel<ShoppingOrderItem>public java.lang.Object clone()
BaseModelclone in interface BaseModel<ShoppingOrderItem>clone in interface ShoppingOrderItemModelclone in class java.lang.Objectpublic int compareTo(ShoppingOrderItem shoppingOrderItem)
compareTo in interface ShoppingOrderItemModelcompareTo in interface java.lang.Comparable<ShoppingOrderItem>public java.lang.String getDescription()
getDescription in interface ShoppingOrderItemModelpublic ExpandoBridge getExpandoBridge()
BaseModelgetExpandoBridge in interface BaseModel<ShoppingOrderItem>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface ShoppingOrderItemModelpublic java.lang.String getItemId()
getItemId in interface ShoppingOrderItemModelpublic java.lang.String getName()
getName in interface ShoppingOrderItemModelpublic long getOrderId()
getOrderId in interface ShoppingOrderItemModelpublic long getOrderItemId()
getOrderItemId in interface ShoppingOrderItemModelpublic double getPrice()
getPrice in interface ShoppingOrderItemModelpublic long getPrimaryKey()
getPrimaryKey in interface ShoppingOrderItemModelpublic java.io.Serializable getPrimaryKeyObj()
BaseModelgetPrimaryKeyObj in interface BaseModel<ShoppingOrderItem>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface ShoppingOrderItemModelpublic java.lang.String getProperties()
getProperties in interface ShoppingOrderItemModelpublic int getQuantity()
getQuantity in interface ShoppingOrderItemModelpublic java.util.Date getShippedDate()
getShippedDate in interface ShoppingOrderItemModelpublic java.lang.String getSku()
getSku in interface ShoppingOrderItemModelpublic int hashCode()
hashCode in interface ShoppingOrderItemModelhashCode in class java.lang.Objectpublic boolean isCachedModel()
BaseModeltrue if this model instance was retrieved from the
entity cache.isCachedModel in interface BaseModel<ShoppingOrderItem>isCachedModel in interface ShoppingOrderItemModeltrue if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)public boolean isEscapedModel()
BaseModeltrue if this model instance is escaped.isEscapedModel in interface BaseModel<ShoppingOrderItem>isEscapedModel in interface ShoppingOrderItemModeltrue if this model instance is escaped;
false otherwisepublic boolean isNew()
BaseModeltrue if this model instance does not yet exist in
the database.isNew in interface BaseModel<ShoppingOrderItem>isNew in interface ShoppingOrderItemModeltrue if this model instance does not yet exist in
the database; false otherwisepublic void persist()
PersistedModelpersist in interface PersistedModelpublic void setCachedModel(boolean cachedModel)
BaseModelsetCachedModel in interface BaseModel<ShoppingOrderItem>setCachedModel in interface ShoppingOrderItemModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic void setDescription(java.lang.String description)
setDescription in interface ShoppingOrderItemModeldescription - the description of this shopping order itempublic void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface BaseModel<ShoppingOrderItem>setExpandoBridgeAttributes in interface ShoppingOrderItemModelpublic void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface BaseModel<ShoppingOrderItem>setExpandoBridgeAttributes in interface ShoppingOrderItemModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModelsetExpandoBridgeAttributes in interface BaseModel<ShoppingOrderItem>setExpandoBridgeAttributes in interface ShoppingOrderItemModelserviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes(
)public void setItemId(java.lang.String itemId)
setItemId in interface ShoppingOrderItemModelitemId - the item ID of this shopping order itempublic void setName(java.lang.String name)
setName in interface ShoppingOrderItemModelname - the name of this shopping order itempublic void setNew(boolean n)
BaseModelsetNew in interface BaseModel<ShoppingOrderItem>setNew in interface ShoppingOrderItemModeln - whether this model instance does not yet exist in the databasepublic void setOrderId(long orderId)
setOrderId in interface ShoppingOrderItemModelorderId - the order ID of this shopping order itempublic void setOrderItemId(long orderItemId)
setOrderItemId in interface ShoppingOrderItemModelorderItemId - the order item ID of this shopping order itempublic void setPrice(double price)
setPrice in interface ShoppingOrderItemModelprice - the price of this shopping order itempublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface ShoppingOrderItemModelprimaryKey - the primary key of this shopping order itempublic void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
BaseModelsetPrimaryKeyObj in interface BaseModel<ShoppingOrderItem>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface ShoppingOrderItemModelprimaryKeyObj - the primary key of this model instancepublic void setProperties(java.lang.String properties)
setProperties in interface ShoppingOrderItemModelproperties - the properties of this shopping order itempublic void setQuantity(int quantity)
setQuantity in interface ShoppingOrderItemModelquantity - the quantity of this shopping order itempublic void setShippedDate(java.util.Date shippedDate)
setShippedDate in interface ShoppingOrderItemModelshippedDate - the shipped date of this shopping order itempublic void setSku(java.lang.String sku)
setSku in interface ShoppingOrderItemModelsku - the sku of this shopping order itempublic CacheModel<ShoppingOrderItem> toCacheModel()
BaseModeltoCacheModel in interface BaseModel<ShoppingOrderItem>toCacheModel in interface ShoppingOrderItemModelpublic ShoppingOrderItem toEscapedModel()
BaseModelAutoEscapeBeanHandler.toEscapedModel in interface BaseModel<ShoppingOrderItem>toEscapedModel in interface ShoppingOrderItemModelAutoEscapeBeanHandlerpublic java.lang.String toString()
toString in interface ShoppingOrderItemModeltoString in class java.lang.Objectpublic ShoppingOrderItem toUnescapedModel()
toUnescapedModel in interface BaseModel<ShoppingOrderItem>toUnescapedModel in interface ShoppingOrderItemModelpublic java.lang.String toXmlString()
BaseModeltoXmlString in interface BaseModel<ShoppingOrderItem>toXmlString in interface ShoppingOrderItemModelpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object@Deprecated public ShoppingOrderItem getWrappedShoppingOrderItem()
getWrappedModel()public ShoppingOrderItem getWrappedModel()
getWrappedModel in interface ModelWrapper<ShoppingOrderItem>public boolean isEntityCacheEnabled()
BaseModeltrue if this model's entity cache is enabled.isEntityCacheEnabled in interface BaseModel<ShoppingOrderItem>true if this model's entity cache is enabled;
false otherwisepublic boolean isFinderCacheEnabled()
BaseModeltrue if this model's finder cache is enabled.isFinderCacheEnabled in interface BaseModel<ShoppingOrderItem>true if this model's finder cache is enabled;
false otherwisepublic void resetOriginalValues()
BaseModelresetOriginalValues in interface BaseModel<ShoppingOrderItem>