com.liferay.portlet.shopping.model
Class ShoppingOrderItemWrapper

java.lang.Object
  extended by com.liferay.portlet.shopping.model.ShoppingOrderItemWrapper
All Implemented Interfaces:
BaseModel<ShoppingOrderItem>, ShoppingOrderItem, ShoppingOrderItemModel, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<ShoppingOrderItem>

public class ShoppingOrderItemWrapper
extends java.lang.Object
implements ShoppingOrderItem

View Source

ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

This class is a wrapper for ShoppingOrderItem.

Author:
Brian Wing Shun Chan
See Also:
ShoppingOrderItem, Serialized Form
Generated:

Constructor Summary
ShoppingOrderItemWrapper(ShoppingOrderItem shoppingOrderItem)
           
 
Method Summary
 java.lang.Object clone()
           
 int compareTo(ShoppingOrderItem shoppingOrderItem)
           
 java.lang.String getDescription()
           
 ExpandoBridge getExpandoBridge()
           
 java.lang.String getItemId()
           
 java.lang.String getName()
           
 long getOrderId()
           
 long getOrderItemId()
           
 double getPrice()
           
 long getPrimaryKey()
           
 java.io.Serializable getPrimaryKeyObj()
           
 java.lang.String getProperties()
           
 int getQuantity()
           
 java.util.Date getShippedDate()
           
 java.lang.String getSku()
           
 ShoppingOrderItem getWrappedShoppingOrderItem()
           
 int hashCode()
           
 boolean isCachedModel()
           
 boolean isEscapedModel()
           
 boolean isNew()
           
 void setCachedModel(boolean cachedModel)
           
 void setDescription(java.lang.String description)
           
 void setEscapedModel(boolean escapedModel)
           
 void setExpandoBridgeAttributes(ServiceContext serviceContext)
           
 void setItemId(java.lang.String itemId)
           
 void setName(java.lang.String name)
           
 boolean setNew(boolean n)
           
 void setOrderId(long orderId)
           
 void setOrderItemId(long orderItemId)
           
 void setPrice(double price)
           
 void setPrimaryKey(long pk)
           
 void setProperties(java.lang.String properties)
           
 void setQuantity(int quantity)
           
 void setShippedDate(java.util.Date shippedDate)
           
 void setSku(java.lang.String sku)
           
 ShoppingOrderItem toEscapedModel()
           
 java.lang.String toString()
           
 java.lang.String toXmlString()
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ShoppingOrderItemWrapper

public ShoppingOrderItemWrapper(ShoppingOrderItem shoppingOrderItem)
Method Detail

getPrimaryKey

public long getPrimaryKey()
Specified by:
getPrimaryKey in interface ShoppingOrderItemModel

setPrimaryKey

public void setPrimaryKey(long pk)
Specified by:
setPrimaryKey in interface ShoppingOrderItemModel

getOrderItemId

public long getOrderItemId()
Specified by:
getOrderItemId in interface ShoppingOrderItemModel

setOrderItemId

public void setOrderItemId(long orderItemId)
Specified by:
setOrderItemId in interface ShoppingOrderItemModel

getOrderId

public long getOrderId()
Specified by:
getOrderId in interface ShoppingOrderItemModel

setOrderId

public void setOrderId(long orderId)
Specified by:
setOrderId in interface ShoppingOrderItemModel

getItemId

public java.lang.String getItemId()
Specified by:
getItemId in interface ShoppingOrderItemModel

setItemId

public void setItemId(java.lang.String itemId)
Specified by:
setItemId in interface ShoppingOrderItemModel

getSku

public java.lang.String getSku()
Specified by:
getSku in interface ShoppingOrderItemModel

setSku

public void setSku(java.lang.String sku)
Specified by:
setSku in interface ShoppingOrderItemModel

getName

public java.lang.String getName()
Specified by:
getName in interface ShoppingOrderItemModel

setName

public void setName(java.lang.String name)
Specified by:
setName in interface ShoppingOrderItemModel

getDescription

public java.lang.String getDescription()
Specified by:
getDescription in interface ShoppingOrderItemModel

setDescription

public void setDescription(java.lang.String description)
Specified by:
setDescription in interface ShoppingOrderItemModel

getProperties

public java.lang.String getProperties()
Specified by:
getProperties in interface ShoppingOrderItemModel

setProperties

public void setProperties(java.lang.String properties)
Specified by:
setProperties in interface ShoppingOrderItemModel

getPrice

public double getPrice()
Specified by:
getPrice in interface ShoppingOrderItemModel

setPrice

public void setPrice(double price)
Specified by:
setPrice in interface ShoppingOrderItemModel

getQuantity

public int getQuantity()
Specified by:
getQuantity in interface ShoppingOrderItemModel

setQuantity

public void setQuantity(int quantity)
Specified by:
setQuantity in interface ShoppingOrderItemModel

getShippedDate

public java.util.Date getShippedDate()
Specified by:
getShippedDate in interface ShoppingOrderItemModel

setShippedDate

public void setShippedDate(java.util.Date shippedDate)
Specified by:
setShippedDate in interface ShoppingOrderItemModel

toEscapedModel

public ShoppingOrderItem toEscapedModel()
Specified by:
toEscapedModel in interface ShoppingOrderItemModel

isNew

public boolean isNew()
Specified by:
isNew in interface BaseModel<ShoppingOrderItem>
Specified by:
isNew in interface ShoppingOrderItemModel

setNew

public boolean setNew(boolean n)
Specified by:
setNew in interface BaseModel<ShoppingOrderItem>
Specified by:
setNew in interface ShoppingOrderItemModel

isCachedModel

public boolean isCachedModel()
Specified by:
isCachedModel in interface BaseModel<ShoppingOrderItem>
Specified by:
isCachedModel in interface ShoppingOrderItemModel

setCachedModel

public void setCachedModel(boolean cachedModel)
Specified by:
setCachedModel in interface BaseModel<ShoppingOrderItem>
Specified by:
setCachedModel in interface ShoppingOrderItemModel

isEscapedModel

public boolean isEscapedModel()
Specified by:
isEscapedModel in interface BaseModel<ShoppingOrderItem>
Specified by:
isEscapedModel in interface ShoppingOrderItemModel

setEscapedModel

public void setEscapedModel(boolean escapedModel)
Specified by:
setEscapedModel in interface BaseModel<ShoppingOrderItem>
Specified by:
setEscapedModel in interface ShoppingOrderItemModel

getPrimaryKeyObj

public java.io.Serializable getPrimaryKeyObj()
Specified by:
getPrimaryKeyObj in interface BaseModel<ShoppingOrderItem>
Specified by:
getPrimaryKeyObj in interface ShoppingOrderItemModel

getExpandoBridge

public ExpandoBridge getExpandoBridge()
Specified by:
getExpandoBridge in interface BaseModel<ShoppingOrderItem>
Specified by:
getExpandoBridge in interface ShoppingOrderItemModel

setExpandoBridgeAttributes

public void setExpandoBridgeAttributes(ServiceContext serviceContext)
Specified by:
setExpandoBridgeAttributes in interface BaseModel<ShoppingOrderItem>
Specified by:
setExpandoBridgeAttributes in interface ShoppingOrderItemModel

clone

public java.lang.Object clone()
Specified by:
clone in interface BaseModel<ShoppingOrderItem>
Specified by:
clone in interface ShoppingOrderItemModel
Overrides:
clone in class java.lang.Object

compareTo

public int compareTo(ShoppingOrderItem shoppingOrderItem)
Specified by:
compareTo in interface ShoppingOrderItemModel
Specified by:
compareTo in interface java.lang.Comparable<ShoppingOrderItem>

hashCode

public int hashCode()
Specified by:
hashCode in interface ShoppingOrderItemModel
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Specified by:
toString in interface ShoppingOrderItemModel
Overrides:
toString in class java.lang.Object

toXmlString

public java.lang.String toXmlString()
Specified by:
toXmlString in interface BaseModel<ShoppingOrderItem>
Specified by:
toXmlString in interface ShoppingOrderItemModel

getWrappedShoppingOrderItem

public ShoppingOrderItem getWrappedShoppingOrderItem()