com.liferay.portlet.shopping.model.impl
Class ShoppingItemModelImpl
java.lang.Object
com.liferay.portal.model.impl.BaseModelImpl
com.liferay.portlet.shopping.model.impl.ShoppingItemModelImpl
- All Implemented Interfaces:
- com.liferay.portal.model.BaseModel, java.lang.Cloneable, java.lang.Comparable, java.io.Serializable
- Direct Known Subclasses:
- ShoppingItemImpl
- public class ShoppingItemModelImpl
- extends 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
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
TABLE_NAME
public static java.lang.String TABLE_NAME
TABLE_COLUMNS
public static java.lang.Object[][] TABLE_COLUMNS
TABLE_SQL_CREATE
public static java.lang.String TABLE_SQL_CREATE
TABLE_SQL_DROP
public static java.lang.String TABLE_SQL_DROP
XSS_ALLOW_BY_MODEL
public static boolean XSS_ALLOW_BY_MODEL
XSS_ALLOW_USERNAME
public static boolean XSS_ALLOW_USERNAME
XSS_ALLOW_SKU
public static boolean XSS_ALLOW_SKU
XSS_ALLOW_NAME
public static boolean XSS_ALLOW_NAME
XSS_ALLOW_DESCRIPTION
public static boolean XSS_ALLOW_DESCRIPTION
XSS_ALLOW_PROPERTIES
public static boolean XSS_ALLOW_PROPERTIES
XSS_ALLOW_FIELDSQUANTITIES
public static boolean XSS_ALLOW_FIELDSQUANTITIES
XSS_ALLOW_SMALLIMAGEURL
public static boolean XSS_ALLOW_SMALLIMAGEURL
XSS_ALLOW_MEDIUMIMAGEURL
public static boolean XSS_ALLOW_MEDIUMIMAGEURL
XSS_ALLOW_LARGEIMAGEURL
public static boolean XSS_ALLOW_LARGEIMAGEURL
LOCK_EXPIRATION_TIME
public static long LOCK_EXPIRATION_TIME
ShoppingItemModelImpl
public ShoppingItemModelImpl()
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)
clone
public java.lang.Object clone()
- Specified by:
clone
in interface com.liferay.portal.model.BaseModel
- Specified by:
clone
in class BaseModelImpl
compareTo
public int compareTo(java.lang.Object obj)
equals
public boolean equals(java.lang.Object obj)
hashCode
public int hashCode()