com.liferay.portlet.shopping.model.impl
Class ShoppingItemModelImpl

java.lang.Object
  extended by com.liferay.portal.model.impl.BaseModelImpl
      extended by com.liferay.portlet.shopping.model.impl.ShoppingItemModelImpl
All Implemented Interfaces:
com.liferay.portal.model.BaseModel, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable
Direct Known Subclasses:
ShoppingItemImpl

public class ShoppingItemModelImpl
extends com.liferay.portal.model.impl.BaseModelImpl

View Source

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

This class is a model that represents the ShoppingItem table in the database.

Author:
Brian Wing Shun Chan
See Also:
com.liferay.portlet.shopping.service.model.ShoppingItem, com.liferay.portlet.shopping.service.model.ShoppingItemModel, com.liferay.portlet.shopping.service.model.impl.ShoppingItemImpl, Serialized Form

Field Summary
static boolean CACHE_ENABLED
           
static java.lang.String DATA_SOURCE
           
static long LOCK_EXPIRATION_TIME
           
static java.lang.String SESSION_FACTORY
           
static java.lang.Object[][] TABLE_COLUMNS
           
static java.lang.String TABLE_NAME
           
static java.lang.String TABLE_SQL_CREATE
           
static java.lang.String TABLE_SQL_DROP
           
static java.lang.String TX_MANAGER
           
 
Constructor Summary
ShoppingItemModelImpl()
           
 
Method Summary
 java.lang.Object clone()
           
 int compareTo(java.lang.Object obj)
           
 boolean equals(java.lang.Object obj)
           
 long getCategoryId()
           
 long getCompanyId()
           
 java.util.Date getCreateDate()
           
 java.lang.String getDescription()
           
 double getDiscount()
           
 boolean getFeatured()
           
 boolean getFields()
           
 java.lang.String getFieldsQuantities()
           
 long getItemId()
           
 boolean getLargeImage()
           
 long getLargeImageId()
           
 java.lang.String getLargeImageURL()
           
 int getMaxQuantity()
           
 boolean getMediumImage()
           
 long getMediumImageId()
           
 java.lang.String getMediumImageURL()
           
 int getMinQuantity()
           
 java.util.Date getModifiedDate()
           
 java.lang.String getName()
           
 double getPrice()
           
 long getPrimaryKey()
           
 java.io.Serializable getPrimaryKeyObj()
           
 java.lang.String getProperties()
           
 boolean getRequiresShipping()
           
 boolean getSale()
           
 double getShipping()
           
 java.lang.String getSku()
           
 boolean getSmallImage()
           
 long getSmallImageId()
           
 java.lang.String getSmallImageURL()
           
 int getStockQuantity()
           
 boolean getTaxable()
           
 long getUserId()
           
 java.lang.String getUserName()
           
 boolean getUseShippingFormula()
           
 int hashCode()
           
 boolean isFeatured()
           
 boolean isFields()
           
 boolean isLargeImage()
           
 boolean isMediumImage()
           
 boolean isRequiresShipping()
           
 boolean isSale()
           
 boolean isSmallImage()
           
 boolean isTaxable()
           
 boolean isUseShippingFormula()
           
 void setCategoryId(long categoryId)
           
 void setCompanyId(long companyId)
           
 void setCreateDate(java.util.Date createDate)
           
 void setDescription(java.lang.String description)
           
 void setDiscount(double discount)
           
 void setFeatured(boolean featured)
           
 void setFields(boolean fields)
           
 void setFieldsQuantities(java.lang.String fieldsQuantities)
           
 void setItemId(long itemId)
           
 void setLargeImage(boolean largeImage)
           
 void setLargeImageId(long largeImageId)
           
 void setLargeImageURL(java.lang.String largeImageURL)
           
 void setMaxQuantity(int maxQuantity)
           
 void setMediumImage(boolean mediumImage)
           
 void setMediumImageId(long mediumImageId)
           
 void setMediumImageURL(java.lang.String mediumImageURL)
           
 void setMinQuantity(int minQuantity)
           
 void setModifiedDate(java.util.Date modifiedDate)
           
 void setName(java.lang.String name)
           
 void setPrice(double price)
           
 void setPrimaryKey(long pk)
           
 void setProperties(java.lang.String properties)
           
 void setRequiresShipping(boolean requiresShipping)
           
 void setSale(boolean sale)
           
 void setShipping(double shipping)
           
 void setSku(java.lang.String sku)
           
 void setSmallImage(boolean smallImage)
           
 void setSmallImageId(long smallImageId)
           
 void setSmallImageURL(java.lang.String smallImageURL)
           
 void setStockQuantity(int stockQuantity)
           
 void setTaxable(boolean taxable)
           
 void setUserId(long userId)
           
 void setUserName(java.lang.String userName)
           
 void setUseShippingFormula(boolean useShippingFormula)
           
 com.liferay.portlet.shopping.model.ShoppingItem toEscapedModel()
           
static com.liferay.portlet.shopping.model.ShoppingItem toModel(com.liferay.portlet.shopping.model.ShoppingItemSoap soapModel)
           
static java.util.List<com.liferay.portlet.shopping.model.ShoppingItem> toModels(com.liferay.portlet.shopping.model.ShoppingItemSoap[] soapModels)
           
 
Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl
isEscapedModel, isNew, setEscapedModel, setNew
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TABLE_NAME

public static final java.lang.String TABLE_NAME
See Also:
Constant Field Values

TABLE_COLUMNS

public static final java.lang.Object[][] TABLE_COLUMNS

TABLE_SQL_CREATE

public static final java.lang.String TABLE_SQL_CREATE
See Also:
Constant Field Values

TABLE_SQL_DROP

public static final java.lang.String TABLE_SQL_DROP
See Also:
Constant Field Values

DATA_SOURCE

public static final java.lang.String DATA_SOURCE
See Also:
Constant Field Values

SESSION_FACTORY

public static final java.lang.String SESSION_FACTORY
See Also:
Constant Field Values

TX_MANAGER

public static final java.lang.String TX_MANAGER
See Also:
Constant Field Values

CACHE_ENABLED

public static final boolean CACHE_ENABLED

LOCK_EXPIRATION_TIME

public static final long LOCK_EXPIRATION_TIME
Constructor Detail

ShoppingItemModelImpl

public ShoppingItemModelImpl()
Method Detail

toModel

public static com.liferay.portlet.shopping.model.ShoppingItem toModel(com.liferay.portlet.shopping.model.ShoppingItemSoap soapModel)

toModels

public static java.util.List<com.liferay.portlet.shopping.model.ShoppingItem> toModels(com.liferay.portlet.shopping.model.ShoppingItemSoap[] soapModels)

getPrimaryKey

public long getPrimaryKey()

setPrimaryKey

public void setPrimaryKey(long pk)

getPrimaryKeyObj

public java.io.Serializable getPrimaryKeyObj()

getItemId

public long getItemId()

setItemId

public void setItemId(long itemId)

getCompanyId

public long getCompanyId()

setCompanyId

public void setCompanyId(long companyId)

getUserId

public long getUserId()

setUserId

public void setUserId(long userId)

getUserName

public java.lang.String getUserName()

setUserName

public void setUserName(java.lang.String userName)

getCreateDate

public java.util.Date getCreateDate()

setCreateDate

public void setCreateDate(java.util.Date createDate)

getModifiedDate

public java.util.Date getModifiedDate()

setModifiedDate

public void setModifiedDate(java.util.Date modifiedDate)

getCategoryId

public long getCategoryId()

setCategoryId

public void setCategoryId(long categoryId)

getSku

public java.lang.String getSku()

setSku

public void setSku(java.lang.String sku)

getName

public java.lang.String getName()

setName

public void setName(java.lang.String name)

getDescription

public java.lang.String getDescription()

setDescription

public void setDescription(java.lang.String description)

getProperties

public java.lang.String getProperties()

setProperties

public void setProperties(java.lang.String properties)

getFields

public boolean getFields()

isFields

public boolean isFields()

setFields

public void setFields(boolean fields)

getFieldsQuantities

public java.lang.String getFieldsQuantities()

setFieldsQuantities

public void setFieldsQuantities(java.lang.String fieldsQuantities)

getMinQuantity

public int getMinQuantity()

setMinQuantity

public void setMinQuantity(int minQuantity)

getMaxQuantity

public int getMaxQuantity()

setMaxQuantity

public void setMaxQuantity(int maxQuantity)

getPrice

public double getPrice()

setPrice

public void setPrice(double price)

getDiscount

public double getDiscount()

setDiscount

public void setDiscount(double discount)

getTaxable

public boolean getTaxable()

isTaxable

public boolean isTaxable()

setTaxable

public void setTaxable(boolean taxable)

getShipping

public double getShipping()

setShipping

public void setShipping(double shipping)

getUseShippingFormula

public boolean getUseShippingFormula()

isUseShippingFormula

public boolean isUseShippingFormula()

setUseShippingFormula

public void setUseShippingFormula(boolean useShippingFormula)

getRequiresShipping

public boolean getRequiresShipping()

isRequiresShipping

public boolean isRequiresShipping()

setRequiresShipping

public void setRequiresShipping(boolean requiresShipping)

getStockQuantity

public int getStockQuantity()

setStockQuantity

public void setStockQuantity(int stockQuantity)

getFeatured

public boolean getFeatured()

isFeatured

public boolean isFeatured()

setFeatured

public void setFeatured(boolean featured)

getSale

public boolean getSale()

isSale

public boolean isSale()

setSale

public void setSale(boolean sale)

getSmallImage

public boolean getSmallImage()

isSmallImage

public boolean isSmallImage()

setSmallImage

public void setSmallImage(boolean smallImage)

getSmallImageId

public long getSmallImageId()

setSmallImageId

public void setSmallImageId(long smallImageId)

getSmallImageURL

public java.lang.String getSmallImageURL()

setSmallImageURL

public void setSmallImageURL(java.lang.String smallImageURL)

getMediumImage

public boolean getMediumImage()

isMediumImage

public boolean isMediumImage()

setMediumImage

public void setMediumImage(boolean mediumImage)

getMediumImageId

public long getMediumImageId()

setMediumImageId

public void setMediumImageId(long mediumImageId)

getMediumImageURL

public java.lang.String getMediumImageURL()

setMediumImageURL

public void setMediumImageURL(java.lang.String mediumImageURL)

getLargeImage

public boolean getLargeImage()

isLargeImage

public boolean isLargeImage()

setLargeImage

public void setLargeImage(boolean largeImage)

getLargeImageId

public long getLargeImageId()

setLargeImageId

public void setLargeImageId(long largeImageId)

getLargeImageURL

public java.lang.String getLargeImageURL()

setLargeImageURL

public void setLargeImageURL(java.lang.String largeImageURL)

toEscapedModel

public com.liferay.portlet.shopping.model.ShoppingItem toEscapedModel()

clone

public java.lang.Object clone()
Specified by:
clone in interface com.liferay.portal.model.BaseModel
Specified by:
clone in class com.liferay.portal.model.impl.BaseModelImpl

compareTo

public int compareTo(java.lang.Object obj)

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object